-
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.
Disallow nested repeated content in NG block fragmentation.
Don't allow repeated table headers / footers nested inside another piece of repeatable content. It just gets too complicated, and there's probably no need to support this anyway. This is a partial revert of CL:3710528. One test starts failing because of this change. Tracked by crbug.com/1352931 Rename IsRepeatable to ShouldRepeat, to make it clearer what it does (it's false when we know that we're at the last fragment), and introduce IsInsideRepeatableContent, which is always true when inside any type of content that's eligible for repetition. Bug: 1348774, 1348725, 1352931 Change-Id: I94e2295e31b4206bbf2a729a992f49df65c87af0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3829224 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Alison Maher <almaher@microsoft.com> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1035182}
- Loading branch information
Showing
10 changed files
with
62 additions
and
38 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
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
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
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
15 changes: 15 additions & 0 deletions
15
...nal/wpt/css/css-multicol/crashtests/repeated-section-in-nested-table-nested-multicol.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,15 @@ | ||
<!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=1348774"> | ||
<div style="columns:2; column-fill:auto; height:160px; background:yellow;"> | ||
<div style="display:table;"> | ||
<div style="display:table;"> | ||
<div style="contain:size; height:150px;"></div> | ||
<div style="display:table-footer-group; break-inside:avoid;"> | ||
<div style="columns:2;"> | ||
x AAAAAAAAAAAAAAAAAAAA x | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |