-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't lay out OOFs inside fragmentation if side-effects are disabled.
The OOF positioning code depends on the LayoutBox data being up-to-date, which doesn't happen if we lay out with side-effects disabled (as that would be side-effect). Just don't lay them out. It's not safe. This also reverts CL:3823699, as it should now be obsolete with this brutal fix. Bug: 1347713 Change-Id: Icb63237618647489159446a50d8eb7984243a7f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3829547 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Reviewed-by: Alison Maher <almaher@microsoft.com> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1034974}
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...xternal/wpt/css/css-multicol/crashtests/table-caption-change-descendant-display-type.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!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=1347713"> | ||
<div style="columns:2;"> | ||
<div style="display:table-caption; columns:2;"> | ||
<div style="columns:2;"> | ||
<div style="position:relative;"> | ||
<div id="foo" style="position:absolute;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
document.body.offsetTop; | ||
foo.style.display = "flex"; | ||
</script> |