зеркало из https://github.com/mozilla/gecko-dev.git
Adding regression test.
This commit is contained in:
Родитель
b542f8fabe
Коммит
2d043e82c6
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="display: none"></div>
|
||||
<script>
|
||||
var div = document.getElementsByTagName("div")[0];
|
||||
div.style.display = "";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="display: none"></div>
|
||||
<script>
|
||||
var div = document.getElementsByTagName("div")[0];
|
||||
div.appendChild(document.createTextNode(""));
|
||||
div.style.display = "";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="display: none"></div>
|
||||
<script>
|
||||
var div = document.getElementsByTagName("div")[0];
|
||||
div.appendChild(document.createTextNode("aa"));
|
||||
div.style.display = "";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style>
|
||||
<![CDATA[
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
]]>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style>
|
||||
<![CDATA[
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
]]>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><![CDATA[]]></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style>
|
||||
<![CDATA[
|
||||
div { background: red; height: 3em; }
|
||||
div:empty { background: lime; }
|
||||
]]>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><![CDATA[ ]]></div>
|
||||
</body>
|
||||
</html>
|
|
@ -24,6 +24,10 @@ f== bugs/351641-2b.html bugs/351641-2-ref.html # bug 358433 (2006-10-19)
|
|||
== bugs/360757-1b.html bugs/360757-1-ref.html
|
||||
f== bugs/360065-1.html bugs/360065-1-ref.html # bug 18217
|
||||
== bugs/332557-1.html bugs/332557-1-ref.html
|
||||
== bugs/315620-1a.html bugs/315620-1-ref.html
|
||||
!= bugs/315620-1b.html bugs/315620-1-ref.html
|
||||
== bugs/315620-2a.xhtml bugs/315620-2-ref.xhtml
|
||||
!= bugs/315620-2b.xhtml bugs/315620-2-ref.xhtml
|
||||
|
||||
# table-dom/
|
||||
== table-dom/appendCells1.html table-dom/appendCells1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче