Bug 398332 - Crash tests.
authorMartijn Wargers <martijn.martijn@gmail.com>
Sat, 23 Feb 2013 11:38:13 +0100
changeset 122738 6973f8578e69d8843149098d6e6d642cfcd11ec7
parent 122737 38e1f7aed68611ca5caf38f88200a9f71c240955
child 122739 e259367d81df70a11909fb1799135f854fa04b45
push id23469
push usermpalmgren@mozilla.com
push dateSat, 23 Feb 2013 10:38:20 +0000
treeherdermozilla-inbound@ffb9e097d950 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs398332
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 398332 - Crash tests.
layout/generic/crashtests/398332-1.html
layout/generic/crashtests/398332-2.html
layout/generic/crashtests/398332-3.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/398332-1.html
@@ -0,0 +1,19 @@
+<html><head>
+<title>Testcase bug - Crash [@ nsHTMLReflowState::GetNearestContainingBlock] with display: -moz-box, generated content, positioning and fieldset</title>
+<style>
+small::before { content: "m m";}
+strike::before { content: "m m";}
+</style>
+</head>
+<body>
+<div style="display: -moz-box;">
+  <strike style="overflow: -moz-hidden-unscrollable; position: absolute;"></strike>
+  <fieldset style="position: relative;">
+    <strike style="overflow: -moz-hidden-unscrollable; position: absolute;"><small style="position: relative;">
+      <span style="position: absolute;"></span>
+    </small>
+  </strike>
+</fieldset>
+</div>
+</body>
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/398332-2.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+<script>
+function removestyles(i){
+document.getElementsByTagName('*')[5].removeAttribute('style');
+document.body.offsetHeight;
+document.getElementsByTagName('*')[6].removeAttribute('style');
+document.body.offsetHeight;
+document.getElementsByTagName('*')[7].removeAttribute('style');
+}
+
+setTimeout(removestyles,300);
+</script>
+
+</head>
+<body>
+<div style="position: relative; width: 500px;">
+  <span style="position: absolute; -moz-column-count: 2;">
+    <span style=" position: absolute;">
+      <span style=" display: inline-block; ">m</span>
+      <input>
+      <input style="position: fixed;">m
+    </span>
+  </span>
+</div>
+</body>
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/398332-3.html
@@ -0,0 +1,4 @@
+<marquee style="position: relative; right: 20%;">"˔q;<span style="position: relative; word-spacing: -100px;"><span style="position: absolute;">
+<style>span::before { content:"before textbefore textbefore textbefore textbefore textbefore text"; }</style>
+
+
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -158,16 +158,19 @@ load 397007-1.html
 load 397187-1.html
 load 397844-1.xhtml
 load 397844-2.xhtml
 load 397852-1.xhtml
 load 398181-1.html
 load 398181-2.html
 load 398322-1.html
 load 398322-2.html
+load 398332-1.html
+load 398332-2.html
+asserts(2) load 398332-3.html # bug 436123 and bug 457397
 load 399407-1.xhtml
 load 399412-1.html
 load 399843-1.html
 load 400078-1.html
 load 400223-1.html
 load 400232-1.html
 load 400244-1.html
 load 400768-1.xhtml