Skip to content

Commit

Permalink
Only disable further fragmentation if fragmentation is on.
Browse files Browse the repository at this point in the history
With the new call to DisableFurtherFragmentation() in
NGOutOfFlowLayoutPart::GenerateFragment(), we might attempt to disable
fragmentation even if we weren't participating in block fragmentation (a
monolithic OOF, for instance). This would lead to a crash if the
constraint space didn't have a rare-data object.

Bug: 1403467
Change-Id: Icd2e005440f93263511ff68949d40672d4030dd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4127783
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1088065}
  • Loading branch information
mstensho authored and chromium-wpt-export-bot committed Jan 2, 2023
1 parent 128a6f3 commit d9d7854
Showing 1 changed file with 8 additions and 0 deletions.
@@ -0,0 +1,8 @@
<!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=1403467">
<div style="columns:2; column-fill:auto; height:250px;">
<div style="position:relative; overflow:clip; width:100px; height:100px;">
<div style="position:absolute; contain:size; width:100px; height:100px;"></div>
</div>
</div>

0 comments on commit d9d7854

Please sign in to comment.