зеркало из https://github.com/mozilla/gecko-dev.git
Adding test for bug 203923
This commit is contained in:
Родитель
803e329f9d
Коммит
055b4b1c85
|
@ -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>
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче