-
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 ClearNeedsLayout on atomic inline when side-effects are disabled.
Otherwise we risk getting an incorrect cache hit, so that we fail to lay out stuff during the subsequent actual layout. In the attached test, side-effects are disabled in ComputeCaptionFragments(). Bug: 1347868 Change-Id: Ib035d0a8e0b4e9ea16f3253a3272d8d3257312b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3828230 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1034975}
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 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
19 changes: 19 additions & 0 deletions
19
...sts/external/wpt/css/css-multicol/crashtests/table-caption-inline-block-remove-child.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,19 @@ | ||
<!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=1347868"> | ||
<div style="columns:2; column-fill:auto; height:500px;"> | ||
<table> | ||
<caption> | ||
<div style="display:inline-block;"> | ||
<div style="writing-mode:vertical-lr;"> | ||
<div id="elm" style="display:inline-block;"></div> | ||
<div style="display:inline-block; overflow:auto;"></div> | ||
</div> | ||
</div> | ||
</caption> | ||
</table> | ||
</div> | ||
<script> | ||
document.body.offsetTop; | ||
elm.style.display = "none"; | ||
</script> |