forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected DCHECK for allowing marking style dirty
As long as we have legacy layout in combination with container queries, we may end up doing a resume of a skipped style recalc during layout tree rebuild. Additionally, we have a scope allowing marking style dirty from style recalc for a couple of exceptional cases. When these happen at the same time we may mark style dirty from within layout tree rebuild. Adjust DCHECK to account for that. Bug: 1362391 Change-Id: I30c507607938040a4fe8948e731bb71275b479c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3901994 Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1048013}
- Loading branch information
Showing
4 changed files
with
17 additions
and
1 deletion.
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
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
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
8 changes: 8 additions & 0 deletions
8
...s/external/wpt/css/css-contain/container-queries/crashtests/chrome-bug-1362391-crash.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,8 @@ | ||
<!doctype html> | ||
<title>DCHECK failure for style recalc from layout tree rebuild</title> | ||
<link rel="help" href="https://crbug.com/1362391"> | ||
<div style="display:table-column-group"> | ||
<div style="container-type:size"> | ||
<image title="crash"></image> | ||
</div> | ||
</div> |