Auto merge of #19834 - ferjm:issue-18544, r=emilio

Test for #18544 - Flow list crash

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18544
- [X] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19834)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-01-22 18:09:36 -06:00 committed by GitHub
commit bda560d01b
2 changed files with 26 additions and 0 deletions

View file

@ -32655,6 +32655,12 @@
{} {}
] ]
], ],
"css/issue_18544_flow_list_crash.html": [
[
"/_mozilla/css/issue_18544_flow_list_crash.html",
{}
]
],
"css/matchMedia.html": [ "css/matchMedia.html": [
[ [
"/_mozilla/css/matchMedia.html", "/_mozilla/css/matchMedia.html",
@ -63320,6 +63326,10 @@
"863e3c8c5ffa1627a20f51e89b7eca884ea381dd", "863e3c8c5ffa1627a20f51e89b7eca884ea381dd",
"reftest" "reftest"
], ],
"css/issue_18544_flow_list_crash.html": [
"9e41b681e414db9bd5f3fc75210de12a6e660c28",
"testharness"
],
"css/jpeg_normal.html": [ "css/jpeg_normal.html": [
"4e9d02f232492b55f8e6b71046b392c4dc2c9fb6", "4e9d02f232492b55f8e6b71046b392c4dc2c9fb6",
"reftest" "reftest"

View file

@ -0,0 +1,16 @@
<!doctype html>
<meta charset="utf-8">
<title>Issue 18544 - Flow list crash</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div style="position:fixed"></div>
<script>
async_test(function(test) {
window.onload = test.step_func_done(function() {
document.body.children[0].style['column-count'] = 1;
document.body.offsetTop;
assert_true(true, "Did not crash");
});
});
</script>