Commit 506bc07
committed
[blocks-in-inline] Don't wrap sequences of blocks in anonymous block
https://bugs.webkit.org/show_bug.cgi?id=303999
rdar://166306432
Reviewed by Alan Baradlay.
We already don't wrap single blocks. Remove remaining anonymous block wrapping.
* LayoutTests/editing/selection/hit-test-continuation-margin-expected.html:
* LayoutTests/editing/selection/hit-test-continuation-margin.html:
This is a progression, our selection behavior now matches with or without the span.
Change the ref to be the spanless case.
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::updateAfterDescendants):
* Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:
(WebCore::RenderTreeBuilder::Inline::updateAfterDescendants): Deleted.
(WebCore::RenderTreeBuilder::Inline::wrapRunsOfBlocksInAnonymousBlock): Deleted.
* Source/WebCore/rendering/updating/RenderTreeBuilderInline.h:
Canonical link: https://commits.webkit.org/304357@main1 parent 3066a2b commit 506bc07
File tree
31 files changed
+8195
-8321
lines changed- LayoutTests
- editing/selection
- fast/css-generated-content
- platform
- ios
- css2.1
- editing/style
- fast
- dom
- forms
- text/international
- tables/mozilla/bugs
- mac-sequoia-wk2/fast/forms
- mac-sonoma/fast/dom
- mac-wk1/fast/forms
- mac-wk2/fast/forms
- mac
- css2.1
- editing/style
- fast
- block/basic
- dom
- encoding
- forms
- text/international
- http/tests/misc
- tables/mozilla/bugs
- Source/WebCore/rendering
- updating
31 files changed
+8195
-8321
lines changedLines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments