Bug 1547391 - Add a crashtest for multicol <details> containing a column-span. r=dbaron
authorTing-Yu Lin <tlin@mozilla.com>
Thu, 11 Jul 2019 05:33:09 +0000
changeset 482337 0c076622290967834426f37e4e557f1f475c7250
parent 482336 10faf756124c232c9b460afc72168ea54fa6ab03
child 482338 250696e18e7dc5dddb48a0f00d2221f9d5cdf2b9
child 482483 0d08bfa1863fdce0f4be5e78bf49cb5e7ba2f607
child 482491 a39b925a26ade6f6d05c51dde62764b149043a00
push id89702
push useraethanyc@gmail.com
push dateThu, 11 Jul 2019 05:35:28 +0000
treeherderautoland@0c0766222909 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1547391, 1562701
milestone70.0a1
first release with
nightly linux32
0c0766222909 / 70.0a1 / 20190711095112 / files
nightly linux64
0c0766222909 / 70.0a1 / 20190711095112 / files
nightly mac
0c0766222909 / 70.0a1 / 20190711095112 / files
nightly win64
0c0766222909 / 70.0a1 / 20190711095112 / files
nightly win32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win64
Bug 1547391 - Add a crashtest for multicol <details> containing a column-span. r=dbaron Bug 1562701 fixed this crash. Differential Revision: https://phabricator.services.mozilla.com/D35728
layout/base/crashtests/1547391.html
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/1547391.html
@@ -0,0 +1,15 @@
+<script>
+function go() {
+  document.body.offsetHeight;
+  b.insertAdjacentHTML("afterBegin", a.innerHTML)
+}
+</script>
+<body onload=go()>
+  <details id="b" open="true" style="column-count: 1">
+    A
+    <div id="a" style="column-span: all">
+      <!-- this comment is essential to trigger the assertion. -->
+    </div>
+    B
+  </details>
+</body>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -565,12 +565,13 @@ pref(layout.css.column-span.enabled,true
 pref(layout.css.column-span.enabled,true) load 1524411.html
 pref(layout.css.column-span.enabled,true) load 1533885.html
 pref(layout.css.column-span.enabled,true) load 1534146.html
 load 1535945.html
 pref(layout.css.column-span.enabled,true) load 1539017.html
 load 1539303.html
 pref(layout.css.column-span.enabled,true) load 1541679.html
 load 1547261.html
+pref(layout.css.column-span.enabled,true) load 1547391.html
 pref(layout.css.resizeobserver.enabled,true) load 1548057.html
 pref(layout.css.column-span.enabled,true) load 1549867.html
 load 1553874.html
 load 1560328.html