diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/bugs/372063-1.html | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/372063-1.html')
-rw-r--r-- | layout/reftests/bugs/372063-1.html | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/layout/reftests/bugs/372063-1.html b/layout/reftests/bugs/372063-1.html new file mode 100644 index 0000000000..0872339e38 --- /dev/null +++ b/layout/reftests/bugs/372063-1.html @@ -0,0 +1,147 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>Testcase for bug 372063</title> + <style type="text/css"> + + html,body { + color:black; background-color: white; font-size:16px; padding:0; margin:0; + } + +div {color:white; font-size: xx-large; top: 0; left: 0; position: absolute; width: 100px; height:100px;} +.pass { background:green; } +.fail { background: red; } + +.test1 { top:0; } +.test2 { top:150px; } +.test3 { top:300px; } +.test4 { top:450px; } +.test4b{ left:-100px;} +.test4b div { top:100px; left:100px;} +.test4c{ left:-100px;} +.test4c div div { top:100px; left:100px;} +.test5 { top:600px; } +.test6 { top:750px; } +.test5b , .test6b{ left:-100px; } +.test5b div , .test6b div { left:100px;} +.test5c , .test6c { left:-100px;} +.test5c div div , .test6c div div { left:100px;} + +#test_inherit { left: 400px; height:auto; bottom:0; } +.inherit { clip:inherit; } + </style> +</head> +<body> + +<div class="test1"> +<div class="fail">FAIL</div> +<div style="clip:rect(auto auto auto auto);"> + <div class="pass">PASS</div> +</div> +</div> + +<div class="test2"> +<div class="pass">PASS</div> +<div style="clip:rect(0 0 0 0);"> + <div class="fail">FAIL</div> +</div> +</div> + +<div class="test3"> +<div class="fail">FAIL</div> +<div style="clip:rect(0,200px,200px,0);"> + <div class="pass">PASS</div> +</div> +</div> + +<div class="test4"> +<div class="pass">PASS</div> +<div class="test4b" style="clip:rect(auto auto auto auto);"> + <div class="fail">FAIL</div> +</div> +</div> + +<div class="test5"> +<div class="fail">FAIL</div> +<div class="test5b" style="clip:auto;"> + <div class="pass">PASS</div> +</div> +</div> + +<div class="test6"> +<div class="fail">FAIL</div> +<div class="test6b" style=""> + <div class="pass">PASS</div> +</div> +</div> + +<!-- same as above but with intermediary div with clip:inherit --> +<div id="test_inherit"> +<div class="test1"> +<div class="fail">FAIL</div> +<div style="clip:rect(auto auto auto auto);"> + <div class="inherit"> + <div class="pass">PASS</div> + </div> +</div> +</div> + +<div class="test2"> +<div class="inherit"> + <div class="pass">PASS</div> +</div> +<div style="clip:rect(0 0 0 0);"> + <div class="inherit"> + <div class="fail">FAIL</div> + </div> +</div> +</div> + +<div class="test3"> +<div class="inherit"> + <div class="fail">FAIL</div> +</div> +<div style="clip:rect(0,200px,200px,0);"> + <div class="inherit"> + <div class="pass">PASS</div> + </div> +</div> +</div> + +<div class="test4"> +<div class="inherit"> + <div class="pass">PASS</div> +</div> +<div class="test4c" style="clip:rect(auto auto auto auto);"> + <div class="inherit"> + <div class="fail">FAIL</div> + </div> +</div> +</div> + +<div class="test5"> +<div class="inherit"> + <div class="fail">FAIL</div> +</div> +<div class="test5c" style="clip:auto;"> + <div class="inherit"> + <div class="pass">PASS</div> + </div> +</div> +</div> + +<div class="test6"> +<div class="inherit"> + <div class="fail">FAIL</div> +</div> +<div class="test6c" style=""> + <div class="inherit"> + <div class="pass">PASS</div> + </div> +</div> +</div> + +</div> + +</body> +</html> |