summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-radius/invalidate-1b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/border-radius/invalidate-1b.html')
-rw-r--r--layout/reftests/border-radius/invalidate-1b.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/border-radius/invalidate-1b.html b/layout/reftests/border-radius/invalidate-1b.html
new file mode 100644
index 0000000000..be740a2251
--- /dev/null
+++ b/layout/reftests/border-radius/invalidate-1b.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<body>
+<div id="d" style="background:blue; border-radius:50px; width:100px; height:200px;">
+</div>
+<script>
+function doTest() {
+ var d = document.getElementById("d");
+ d.style.width = "200px";
+ document.documentElement.className = "";
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</body>
+</html>