mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Adding test for bug 203923
This commit is contained in:
parent
c18f0d1620
commit
43a2d64fae
22
layout/reftests/table-anonymous-boxes/203923-1.html
Normal file
22
layout/reftests/table-anonymous-boxes/203923-1.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
var c = document.createElement("span");
|
||||
c.style.display = "table-cell";
|
||||
c.appendChild(document.createTextNode("bc"));
|
||||
var t = document.getElementById("t");
|
||||
t.parentNode.insertBefore(c, t);
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="doTest()">
|
||||
<span style="display: block">
|
||||
<span style="display: table-cell">a</span>
|
||||
<span style="display: table-cell; white-space: pre"> </span>
|
||||
<span style="display: table-cell; white-space: pre" id="t"> </span>
|
||||
<span style="display: table-cell">d</span>
|
||||
</body>
|
||||
</html>
|
22
layout/reftests/table-anonymous-boxes/203923-2.html
Normal file
22
layout/reftests/table-anonymous-boxes/203923-2.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
var t = document.getElementById("t");
|
||||
t.style.display = "none";
|
||||
document.body.offsetWidth;
|
||||
t.style.display = "table-cell";
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="doTest()">
|
||||
<span style="display: block">
|
||||
<span style="display: table-cell">a</span>
|
||||
<span style="display: table-cell; white-space: pre"> </span>
|
||||
<span style="display: table-cell;" id="t">bc</span>
|
||||
<span style="display: table-cell; white-space: pre"> </span>
|
||||
<span style="display: table-cell">d</span>
|
||||
</body>
|
||||
</html>
|
@ -1,6 +1,8 @@
|
||||
fails == 156888-1.html 156888-1-ref.html # bug 484825
|
||||
== 156888-2.html 156888-2-ref.html
|
||||
== 162063-1.xhtml about:blank
|
||||
== 203923-1.html white-space-1-ref.html
|
||||
== 203923-2.html white-space-1-ref.html
|
||||
== 208305-1.html 208305-1-ref.html
|
||||
== 277995-1.html 277995-1-ref.html
|
||||
== 293576-1.html 293576-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user