fune/testing/web-platform/tests/css/css-multicol/dynamic-become-multicol-add-oof-inside-inline-crash.html
Morten Stenshorne cde58dda92 Bug 1748436 [wpt PR 32238] - Always tag anonymous multicol inline wrappers., a=testonly
Automatic update from web-platform-tests
Always tag anonymous multicol inline wrappers.

If we don't set this bit, it will fail to act as a containing block for
out-of-flow positioned descendants (those that are contained by some
non-atomic inline, CSS-wise), and the OOFs won't be laid out at all,
because the NG code will fail to find the appropriate ancestor to do so.

Bug: 1282196
Change-Id: I9b4a767d5b7d749fb35819e59ab0f316460b7754
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3359742
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#955580}

--

wpt-commits: 34b9ffdfd7a01b9a501eb621c2fd958b0c84119f
wpt-pr: 32238
2022-01-11 14:12:13 +00:00

18 lines
549 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1282196">
<div id="container">
<div id="dynmc">
<span style="position:relative;">
<div id="oof" style="display:none; position:absolute;"></div>
</span>
</div>
<div id="newowner"></div>
</div>
<script>
document.body.offsetTop;
dynmc.style.columns = "1";
oof.style.display = "block";
document.body.offsetTop;
newowner.appendChild(oof);
</script>