mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests[css-contain] check the effects of containment on baseline alignment (#12868) * [css-contain] check the effects of containment on baseline alignment Tests for https://github.com/w3c/csswg-drafts/issues/2995 Only the layout and size variant are needed to catch know bugs (in chrome) at the time of implementation, and mistakes on paint or style would be surprising, but it doesn't hurt to be exhaustive. -- wpt-commits: 844cecae1ea48d364c5dfb723695354256c13666 wpt-pr: 12868
18 lines
394 B
HTML
18 lines
394 B
HTML
<!doctype html>
|
|
<html lang=en>
|
|
<meta charset=utf-8>
|
|
<title>CSS test reference</title>
|
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
<style>
|
|
div {
|
|
display: inline-block;
|
|
height: 5px;
|
|
background: blue;
|
|
width: 50px;
|
|
color: transparent;
|
|
font-size: 100px;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there are two, not one, blue lines below.</p>
|
|
<div></div><div>a</div>
|