-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always assume that non-auto 'columns' might create a multicol.
We can't really tell for sure, before generating the layout box tree, whether an element is going to create a multicol container or not (which isn't surprising, but somehow I thought it was worth a try). This is a partial revert of CL:3320292. This part isn't really important anymore, because CL:3323072 works around the same issue, and also because LayoutNGBlockFragmentation is now enabled for testing. Note that the new test would only crash if LayoutNGBlockFragmentation is disabled (but not anymore). Bug: 1278531 Change-Id: I80e041a076541636be7c4a7e44c0ac91805efba2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3329901 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#951029}
- Loading branch information
Showing
5 changed files
with
60 additions
and
10 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
7 changes: 7 additions & 0 deletions
7
.../test/data/accessibility/css/marker-crash-without-layout-ng-block-frag-expected-blink.txt
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,7 @@ | ||
rootWebArea | ||
++genericContainer ignored | ||
++++genericContainer ignored | ||
++++++group | ||
++++++++listMarker name='%E2%80%A2 ' | ||
++++++genericContainer ignored | ||
++++++++genericContainer ignored |
7 changes: 7 additions & 0 deletions
7
content/test/data/accessibility/css/marker-crash-without-layout-ng-block-frag.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,7 @@ | ||
<!-- Avoid a crash caused by adding pseudo element content in two places. | ||
See AXNodeObject::CanAddLayoutChild(). https://crbug.com/1172038 --> | ||
<style> | ||
span:before { display: inherit; content: ""; -webkit-column-count: 1; } | ||
</style> | ||
<span role="group" style="display: list-item"></span> | ||
<span class="empty"></span> |
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
4 changes: 4 additions & 0 deletions
4
third_party/blink/web_tests/external/wpt/css/css-multicol/img-alt-as-multicol-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,4 @@ | ||
<!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=1278531"> | ||
<img alt="BOOM" style="columns:2;"> |