diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html b/testing/web-platform/tests/css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html new file mode 100644 index 0000000000..a3794579f0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html @@ -0,0 +1,10 @@ +<title>In quirks mode a float should resolve its percentage height against its first ancestor with a defined height.</title> +<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#Computing_widths_and_margins"> +<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> +<p style="margin-top: 1em;">Test passes if there is a filled green square.</p> +<div style="width:100px; height:100px; background:red;"> + <div> + <div></div> + <div style="float:left; width:100%; height:100%; background:green;"></div> + </div> +</div> |