diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html new file mode 100644 index 0000000000..be662d3485 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html @@ -0,0 +1,15 @@ +<!doctype html> +<title>CSS Test: overflow:hidden on HTML body element table</title> +<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com"> +<link rel="help" href="http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.11.1.1b"> +<meta name="assert" content="Test checks that overflow on HTML body table applies to viewport rather than the table box."> +<link rel="match" href="s-11-1-1b-005-ref.html"> +<style> + body { overflow:hidden; display:table; border-spacing:0; margin:40px 8px 8px } + .caption { display:caption; margin-bottom:10px } + .td { display:table-cell; width:20px; height:20px; margin-top:-15px; background:black } + p { position:absolute; top:0; left:8px } +</style> +<div class=caption></div> +<div class=td></div> +<p>Test passes if there is a black square below.</p> |