mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
Add reftest
This commit is contained in:
parent
cfe28c059b
commit
f1cc622835
16
layout/reftests/bugs/343540-1-ref.html
Normal file
16
layout/reftests/bugs/343540-1-ref.html
Normal file
@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span#dd:before {
|
||||
display: inline;
|
||||
white-space: pre;
|
||||
content: "bef-\Aore";
|
||||
color: gray;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span id="dd">new<div id="div">div</div></span>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/bugs/343540-1.html
Normal file
24
layout/reftests/bugs/343540-1.html
Normal file
@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span#dd:before {
|
||||
display: inline;
white-space: pre;
content: "bef-\Aore";
|
||||
color: gray;
}
|
||||
</style>
|
||||
<script>
|
||||
function boo()
|
||||
{
|
||||
var div = document.getElementById("div");
|
||||
var dd = document.getElementById("dd");
|
||||
var newTextNode = document.createTextNode("new");
|
||||
dd.insertBefore(newTextNode, div);
|
||||
}
|
||||
|
||||
window.addEventListener("load", boo, false);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<span id="dd"><div id="div">div</div></span>
|
||||
</body>
|
||||
</html>
|
@ -173,6 +173,7 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 333970-1.html 333970-1-ref.html # bug 3
|
||||
== 339289-1.html 339289-1-ref.html
|
||||
== 341043-1a.html 341043-1-ref.html
|
||||
!= 341043-1b.html 341043-1-ref.html
|
||||
== 343540-1.html 343540-1-ref.html
|
||||
== 345267-1a.html 345267-1-ref.html
|
||||
== 345267-1b.html 345267-1-ref.html
|
||||
== 345267-1c.html 345267-1-ref.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user