Tests/LibWeb: Re-import floats reftests with their mismatch references
Re-import these tests now that the importer supports multiple references, so their mismatch *-notref.xht files are present instead of pointing at unimported paths.
This commit is contained in:
parent
06f4ac367e
commit
de90aeb07c
6 changed files with 48 additions and 4 deletions
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them</title>
|
||||
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
|
||||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<style type="text/css">
|
||||
|
||||
body { width: 400px; border: medium solid; text-align: left; }
|
||||
div { float: left; clear: left; }
|
||||
span { display: inline-block; vertical-align: top; width: 200px; height: 50px; background: aqua; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div style="width: 50px; height: 50px;"></div>
|
||||
<div style="width: 50px; height: 100px;"></div>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them</title>
|
||||
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
|
||||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<style type="text/css">
|
||||
|
||||
body { width: 400px; border: medium solid; text-align: right; }
|
||||
div { float: right; clear: right; }
|
||||
span { display: inline-block; vertical-align: top; width: 200px; height: 50px; background: aqua; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div style="width: 50px; height: 50px;"></div>
|
||||
<div style="width: 50px; height: 100px;"></div>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht"/>
|
||||
<link rel="mismatch" href="floats-wrap-top-below-001l-notref.xht"/>
|
||||
<link rel="mismatch" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-notref.xht"/>
|
||||
<meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." />
|
||||
<style type="text/css">
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht"/>
|
||||
<link rel="mismatch" href="floats-wrap-top-below-001r-notref.xht"/>
|
||||
<link rel="mismatch" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-notref.xht"/>
|
||||
<meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." />
|
||||
<style type="text/css">
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht"/>
|
||||
<link rel="mismatch" href="floats-wrap-top-below-001l-notref.xht"/>
|
||||
<link rel="mismatch" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-notref.xht"/>
|
||||
<meta name="assert" content="However, line boxes created next to the float are shortened to make room for the margin box of the float." />
|
||||
<style type="text/css">
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht"/>
|
||||
<link rel="mismatch" href="floats-wrap-top-below-001r-notref.xht"/>
|
||||
<link rel="mismatch" href="../../../../../expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-notref.xht"/>
|
||||
<meta name="assert" content="However, line boxes created next to the float are shortened to make room for the margin box of the float." />
|
||||
<style type="text/css">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue