gecko-dev/testing/web-platform/tests/css/css-contain/reference/contain-baseline-ref.html
Florian Rivoal 2512bf2011 Bug 1489038 [wpt PR 12868] - [css-contain] check the effects of containment on baseline alignment, a=testonly
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
2018-09-12 10:42:58 +00:00

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>