mirror of
https://github.com/servo/servo.git
synced 2025-08-27 16:18:21 +01:00
Update web-platform-tests to revision 5852f617c1ad109939bdb6b70f362dcd84a5cb73
This commit is contained in:
parent
c80c3f3167
commit
4375e3f248
44 changed files with 1103 additions and 114 deletions
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#float { float: left; height: 100px; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div id=float>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
|
@ -0,0 +1,14 @@
|
|||
<!-- quirks mode -->
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#float { float: left; height: 100px; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p style="margin-top: 1em;">Test passes if there is a filled green square.</p>
|
||||
<div id=float>
|
||||
<div>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,17 @@
|
|||
<!-- quirks mode -->
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#container { height: 200px; }
|
||||
#float { float: left; height: 50%; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p style="margin-top: 1em;">Test passes if there is a filled green square.</p>
|
||||
<div id=container>
|
||||
<div id=float>
|
||||
<div>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,17 @@
|
|||
<!-- quirks mode -->
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#container { display: flex; height: 200px; }
|
||||
#float { float: left; height: 50%; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p style="margin-top: 1em;">Test passes if there is a filled green square.</p>
|
||||
<div id=container>
|
||||
<div id=float>
|
||||
<div>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#container { position: relative; height: 100px; }
|
||||
#abs { position: absolute; top: 0; bottom: 0; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div id=container>
|
||||
<div id=abs>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,17 @@
|
|||
<!-- quirks mode -->
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||
<meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<style>
|
||||
#container { height: 100px; }
|
||||
#float { float: left; background: green; }
|
||||
canvas { height: 100%; }
|
||||
</style>
|
||||
<p style="margin-top: 1em;">Test passes if there is a filled green square.</p>
|
||||
<div id=container>
|
||||
<div id=float>
|
||||
<div>
|
||||
<canvas width=10 height=10></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue