Test for bug 460240. r=roc

This commit is contained in:
Jonathan Griffin 2009-06-29 18:24:34 +02:00
parent 749691e623
commit 212692622f
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<hbox flex="1"
style="margin:50px; background:yellow;
-moz-box-shadow: 1px 2px 3px black, 0 0 10px white, 0 0 20px rgb(50, 170, 255), 0 0 30px rgb(50, 170, 255);
-moz-border-radius: 10px;"/>
</window>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="data:text/css,
hbox {
margin: 50px;
background: yellow;
}
hbox[x] {
-moz-box-shadow: 1px 2px 3px black, 0 0 10px white, 0 0 20px rgb(50, 170, 255), 0 0 30px rgb(50, 170, 255);
-moz-border-radius: 10px;
}
"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="reftest-wait">
<script>
<![CDATA[
document.documentElement.addEventListener("MozReftestInvalidate",
doTest, false);
function doTest() {
document.getElementById("hbox1").setAttribute("x",1);
document.documentElement.removeAttribute("class");
}
]]>
</script>
<hbox id="hbox1" flex="1"/>
</window>

View File

@ -11,3 +11,4 @@
== boxshadow-inner-basic.html boxshadow-inner-basic-ref.html
== boxshadow-mixed.html boxshadow-mixed-ref.html
== boxshadow-rounded-spread.html boxshadow-rounded-spread-ref.html
HTTP(..) == boxshadow-dynamic.xul boxshadow-dynamic-ref.xul