Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu
authorJonathan Kew <jkew@mozilla.com>
Thu, 05 Nov 2015 15:37:56 +0000
changeset 293039 a00a4faead69df2a87111318c83f9d774459c467
parent 293038 16d3dd16ef70f798a325b64152aa440c3e1cbd9b
child 293040 13dd11b7a0f8bc8dded14a39140c740d7f81f491
push id8824
push userraliiev@mozilla.com
push dateMon, 14 Dec 2015 20:18:56 +0000
treeherdermozilla-aurora@e2031358e2a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu
bugs1221874
milestone45.0a1
Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu
layout/generic/crashtests/1221874-1.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1221874-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+
+function boom()
+{
+    document.documentElement.offsetHeight;
+    document.body.style.textOrientation = "sideways";
+}
+
+</script>
+</head>
+<body onload="boom();" style="writing-mode: tb-rl; display: table;">Hello</body>
+</html>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -582,16 +582,17 @@ load 1146114.html
 load 1156222.html
 pref(layout.css.grid.enabled,true) load 1156257.html
 load 1157011.html
 load 1169420-1.html
 load 1169420-2.html
 load 1183431.html
 load 1221112-1.html
 load 1221112-2.html
+asserts(1) load 1221874-1.html
 load first-letter-638937-1.html
 load first-letter-638937-2.html
 pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLine,15) asserts(1-100) load font-inflation-762332.html # bug 762332
 load outline-on-frameset.xhtml
 load text-overflow-bug666751-1.html
 load text-overflow-bug666751-2.html
 load text-overflow-bug670564.xhtml
 load text-overflow-bug671796.xhtml