summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/743364.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/generic/crashtests/743364.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/generic/crashtests/743364.html b/layout/generic/crashtests/743364.html
new file mode 100644
index 0000000000..2e230f97c5
--- /dev/null
+++ b/layout/generic/crashtests/743364.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html style="width: 1px;">
+<head>
+<style>
+p:first-letter { }
+</style>
+<script>
+function boom()
+{
+ var p = document.querySelector("p");
+ document.documentElement.offsetHeight;
+ p.style.direction = "ltr";
+ document.documentElement.offsetHeight;
+ p.style.letterSpacing = "-56px";
+ document.documentElement.offsetHeight;
+}
+</script>
+</head>
+<body onload="boom();">
+<p style="direction: rtl; column-count: 3; white-space: pre-line;">x y
+
+</p>
+</body>
+</html>