Files
firefox/testing/web-platform/tests/css/css-multicol/toggle-spanner-float-crash.html
Morten Stenshorne 055533b4a8 Bug 1717488 [wpt PR 29447] - Run flow thread style change DCHECK in fewer cases., a=testonly
Automatic update from web-platform-tests
Run flow thread style change DCHECK in fewer cases.

Only DCHECK when necessary, i.e. when we might want to toggle spanner
descendants.

There's a DCHECK that asserts that a call to
FlowThreadDescendantStyleWillChange() on a descendant is followed by a
call to FlowThreadDescendantStyleDidChange() on the same descendant, but
this doesn't happen if the object is considered to be part of the flow
thread only before or after the style change. This happens when
column-span:all is toggled.

Bug: 1219401
Change-Id: Ib5db2625aa13723d897420405d00671aba2e3a46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2975457
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#894583}

--

wpt-commits: 94028e47a6d6ae58bc3cfe6f6bc5c97792c4d554
wpt-pr: 29447
2021-06-26 22:33:18 +00:00

15 lines
456 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1219401">
<div style="columns:2;">
<span>
<div id="div0" style="column-span:all; float:right;"></div>
<div id="div1" style="column-span:all;"></div>
</span>
</div>
<script>
document.body.offsetTop;
div0.style.float = "none";
div1.style.float = "right";
</script>