gecko-dev/layout/style/crashtests/1468640.html
Emilio Cobos Álvarez 3b50e4d260 Bug 1468640: Relax a bit an invalid assertion. r=me
We may end up looking at a non-flushed AuthorStyles object when looking at
whether attribute changes and such may affect style.

Check the styles are clean to preserve the assertion, since if that happens
before the first flush, we may not have updated the quirks_mode field (and
that's fine).

MozReview-Commit-ID: FgVpiTf4qMr
2018-06-16 03:32:50 -07:00

11 lines
187 B
HTML

<script>
function go() {
a.attachShadow({mode: "closed"}).innerHTML = b.outerHTML;
a.setAttribute("o", "");
}
</script>
<body onload=go()>
<meter id="b">
<style></style>
<div id="a">