summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/668941.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/base/crashtests/668941.xhtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/base/crashtests/668941.xhtml b/layout/base/crashtests/668941.xhtml
new file mode 100644
index 0000000000..a1547a6b01
--- /dev/null
+++ b/layout/base/crashtests/668941.xhtml
@@ -0,0 +1,16 @@
+<html xmlns="http://www.w3.org/1999/xhtml" style="width: 1px; white-space: pre-wrap;">y
+<style>
+
+html:first-letter { }
+
+</style><script>
+
+window.addEventListener("load", function(){
+ document.documentElement.offsetHeight;
+ document.documentElement.style.direction = "rtl";
+ document.documentElement.offsetHeight;
+ document.documentElement.style.margin = "3em";
+ document.documentElement.offsetHeight;
+}, false);
+
+</script></html>