Diff
Modified: trunk/LayoutTests/ChangeLog (291133 => 291134)
--- trunk/LayoutTests/ChangeLog 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/ChangeLog 2022-03-10 22:51:11 UTC (rev 291134)
@@ -1,3 +1,21 @@
+2022-03-10 Alan Bujtas <[email protected]>
+
+ [IFC][Integration] Enable RenderListItem and RenderListMarker for IFC
+ https://bugs.webkit.org/show_bug.cgi?id=237497
+
+ Reviewed by Antti Koivisto.
+
+ * fast/replaced/ul-li-word-break-break-word-expected.html: progression. We do not break between the list marker and the content anymore.
+ * platform/mac/css1/box_properties/margin_right-expected.txt:
+ * platform/mac/css1/box_properties/padding_right-expected.txt: ^^progressions. Align list marker with the content (like Firefox does).
+ * platform/mac/css2.1/t0505-c16-descendant-01-e-expected.txt: inline box height progression (not visible)
+ * platform/mac/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt: usual 1px diff.
+ * platform/mac/fast/inline/emptyInlinesWithinLists-expected.txt: progression
+ * platform/mac/fast/lists/002-expected.txt: same as margin_right/padding_right.
+ * platform/mac/fast/lists/003-expected.txt: ^^
+ * platform/mac/fast/lists/li-br-expected.txt: same as ul-li-word-break-break-word
+ * platform/mac/fast/selectors/166-expected.txt: usual 1px diff.
+
2022-03-10 Alex Christensen <[email protected]>
Remove unused iOS 14 test results
Modified: trunk/LayoutTests/fast/replaced/ul-li-word-break-break-word-expected.html (291133 => 291134)
--- trunk/LayoutTests/fast/replaced/ul-li-word-break-break-word-expected.html 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/fast/replaced/ul-li-word-break-break-word-expected.html 2022-03-10 22:51:11 UTC (rev 291134)
@@ -13,7 +13,7 @@
</head>
<body>
<div class=container>
- <div><li>foobarfoo bar</li></div>
+ <div><li>foobarf oobar</li></div>
<ul><li>foob arfo obar</li></ul>
</div>
<div class=container>
@@ -22,20 +22,20 @@
</div>
<br>
<div class=container>
- <div><li>foobarfoo bar</li></div>
+ <div><li>foobarf oo bar</li></div>
<ul><li>foob arfo o bar</li></ul>
</div>
<div class=container>
- <div style="width: 40px"><li>foob arfo obar</li></div>
+ <div style="width: 40px"><li>fo obar foob ar</li></div>
<ul><li style="width: 20px">fo ob ar fo ob ar</li></ul>
</div>
<br>
<div class=container>
- <div><li>foobarfoo bar</li></div>
- <ul style="list-style: inside"><li>foob arfo obar</li></ul>
+ <div><li>foobarf oobar</li></div>
+ <ul style="list-style: inside"><li>fo obar foob ar</li></ul>
</div>
<div class=container>
- <div><li>foobarfoo bar</li></div>
+ <div><li>foobarf oobar</li></div>
<ul style="list-style: none"><li>foob arfo obar</li></ul>
</div>
<body>
Modified: trunk/LayoutTests/platform/ios/css1/box_properties/margin_right-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/css1/box_properties/margin_right-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/css1/box_properties/margin_right-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -39,11 +39,11 @@
text run at (408,20) width 180: "width of the parent element."
RenderBlock {UL} at (0,351) size 759x100 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 719x20
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (-11,0) size 8x19: bullet
RenderText {#text} at (7,0) size 712x19
text run at (7,0) width 712: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
RenderListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (7,0) size 8x19: bullet
RenderText {#text} at (25,0) size 694x59
text run at (25,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
text run at (0,20) width 62: "checked. "
@@ -50,7 +50,7 @@
text run at (61,20) width 633: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin"
text run at (205,40) width 489: "to make 50 pixels of margin, and its background-color has been set to white."
RenderListItem {LI} at (40,80) size 719x20
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (516,0) size 8x19: bullet
RenderText {#text} at (534,0) size 185x19
text run at (534,0) width 185: "This is an unclassed list item"
RenderBlock {P} at (0,467) size 784x20 [bgcolor=#C0C0C0]
@@ -93,12 +93,12 @@
text run at (391,20) width 181: "width of the parent element."
RenderBlock {UL} at (4,204) size 737x120 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 697x40
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (2,0) size 8x19: bullet
RenderText {#text} at (20,0) size 677x39
text run at (20,0) width 677: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
text run at (665,20) width 32: "gray."
RenderListItem {LI} at (40,40) size 672x60 [bgcolor=#FFFFFF]
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (-15,0) size 8x19: bullet
RenderText {#text} at (3,0) size 669x59
text run at (3,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
text run at (27,20) width 62: "checked. "
@@ -105,7 +105,7 @@
text run at (88,20) width 584: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
text run at (134,40) width 538: "margin to make 50 pixels of margin, and its background-color has been set to white."
RenderListItem {LI} at (40,100) size 697x20
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (494,0) size 8x19: bullet
RenderText {#text} at (512,0) size 185x19
text run at (512,0) width 185: "This is an unclassed list item"
RenderBlock {P} at (4,340) size 762x20 [bgcolor=#C0C0C0]
Modified: trunk/LayoutTests/platform/ios/css1/box_properties/padding_right-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/css1/box_properties/padding_right-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/css1/box_properties/padding_right-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -54,14 +54,14 @@
text run at (80,40) width 508: "The text has been right-aligned in order to make the right padding easier to see."
RenderBlock {UL} at (0,491) size 784x80 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 719x40
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (-11,0) size 8x19: bullet
RenderText {#text} at (7,0) size 712x39
text run at (7,0) width 712: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order to"
text run at (692,20) width 27: "test."
RenderListItem {LI} at (40,40) size 719x40 [bgcolor=#FFFFFF]
- RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (20,0) size 674x39
- text run at (20,0) width 674: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
+ RenderListMarker at (3,0) size 8x19: bullet
+ RenderText {#text} at (21,0) size 673x39
+ text run at (21,0) width 673: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
text run at (639,20) width 55: "element."
RenderBlock {P} at (0,587) size 784x60 [bgcolor=#00FFFF]
RenderText {#text} at (14,0) size 770x59
@@ -116,12 +116,12 @@
text run at (489,60) width 83: "easier to see."
RenderBlock {UL} at (4,364) size 762x80 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 697x40
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (-17,0) size 8x19: bullet
RenderText {#text} at (1,0) size 696x39
text run at (1,0) width 696: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order"
text run at (654,20) width 43: "to test."
RenderListItem {LI} at (40,40) size 697x40 [bgcolor=#FFFFFF]
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (6,0) size 8x19: bullet
RenderText {#text} at (24,0) size 648x39
text run at (24,0) width 648: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the"
text run at (592,20) width 80: "UL element."
Modified: trunk/LayoutTests/platform/ios/css2.1/t0505-c16-descendant-01-e-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/css2.1/t0505-c16-descendant-01-e-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/css2.1/t0505-c16-descendant-01-e-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -10,8 +10,7 @@
RenderBlock {UL} at (0,36) size 784x20 [color=#008000]
RenderListItem {LI} at (40,0) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
- RenderInline {SPAN} at (0,0) size 4x19 [color=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderText {#text} at (4,0) size 166x19
- text run at (4,0) width 166: "This line should be green."
+ RenderInline {SPAN} at (0,0) size 0x19 [color=#FF0000]
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 166x19
+ text run at (0,0) width 166: "This line should be green."
Modified: trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -18,7 +18,7 @@
text run at (0,0) width 8: "9"
RenderText {#text} at (8,0) size 108x19
text run at (8,0) width 108: "|10,20,30,40,50: "
- RenderMeter {METER} at (115,2) size 81x17
+ RenderMeter {METER} at (115,2) size 81x16
RenderListItem {LI} at (40,40) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderInline {B} at (0,0) size 16x19
@@ -26,7 +26,7 @@
text run at (0,0) width 16: "10"
RenderText {#text} at (16,0) size 89x19
text run at (16,0) width 89: ",20,30,40,50: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderListItem {LI} at (40,60) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 20x19
@@ -36,7 +36,7 @@
text run at (20,0) width 16: "20"
RenderText {#text} at (36,0) size 69x19
text run at (36,0) width 69: ",30,40,50: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
RenderListItem {LI} at (40,80) size 744x20
@@ -48,7 +48,7 @@
text run at (40,0) width 16: "30"
RenderText {#text} at (56,0) size 49x19
text run at (56,0) width 49: ",40,50: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
RenderListItem {LI} at (40,100) size 744x20
@@ -60,7 +60,7 @@
text run at (60,0) width 16: "40"
RenderText {#text} at (76,0) size 29x19
text run at (76,0) width 29: ",50: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
RenderListItem {LI} at (40,120) size 744x20
@@ -72,7 +72,7 @@
text run at (80,0) width 16: "50"
RenderText {#text} at (96,0) size 9x19
text run at (96,0) width 9: ": "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 121x19
text run at (184,0) width 121: "(should be yellow)"
RenderListItem {LI} at (40,140) size 744x20
@@ -84,7 +84,7 @@
text run at (99,0) width 17: "51"
RenderText {#text} at (115,0) size 9x19
text run at (115,0) width 9: ": "
- RenderMeter {METER} at (123,2) size 81x17
+ RenderMeter {METER} at (123,2) size 81x16
RenderText {#text} at (203,0) size 121x19
text run at (203,0) width 121: "(should be yellow)"
RenderListItem {LI} at (40,160) size 744x20
@@ -96,7 +96,7 @@
text run at (20,0) width 16: "10"
RenderText {#text} at (36,0) size 69x19
text run at (36,0) width 69: ",30,40,50: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderListItem {LI} at (40,180) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 60x19
@@ -106,7 +106,7 @@
text run at (60,0) width 16: "40"
RenderText {#text} at (76,0) size 29x19
text run at (76,0) width 29: ",40: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
RenderListItem {LI} at (40,200) size 744x20
@@ -116,7 +116,7 @@
text run at (0,0) width 8: "9"
RenderText {#text} at (8,0) size 108x19
text run at (8,0) width 108: "|10,10,10,20,30: "
- RenderMeter {METER} at (115,2) size 81x17
+ RenderMeter {METER} at (115,2) size 81x16
RenderListItem {LI} at (40,220) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 40x19
@@ -126,7 +126,7 @@
text run at (40,0) width 16: "10"
RenderText {#text} at (56,0) size 49x19
text run at (56,0) width 49: ",20,30: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderListItem {LI} at (40,240) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 40x19
@@ -136,7 +136,7 @@
text run at (40,0) width 16: "30"
RenderText {#text} at (56,0) size 49x19
text run at (56,0) width 49: ",30,30: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
RenderListItem {LI} at (40,260) size 744x20
@@ -148,7 +148,7 @@
text run at (99,0) width 17: "31"
RenderText {#text} at (115,0) size 9x19
text run at (115,0) width 9: ": "
- RenderMeter {METER} at (123,2) size 81x17
+ RenderMeter {METER} at (123,2) size 81x16
RenderText {#text} at (203,0) size 113x19
text run at (203,0) width 113: "(should be green)"
RenderListItem {LI} at (40,280) size 744x20
@@ -160,6 +160,6 @@
text run at (40,0) width 16: "20"
RenderText {#text} at (56,0) size 49x19
text run at (56,0) width 49: ",20,30: "
- RenderMeter {METER} at (104,2) size 81x17
+ RenderMeter {METER} at (104,2) size 81x16
RenderText {#text} at (184,0) size 113x19
text run at (184,0) width 113: "(should be green)"
Modified: trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-optimums-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-optimums-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/dom/HTMLMeterElement/meter-optimums-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -17,27 +17,27 @@
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=150: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,20) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=450: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,40) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=750: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,60) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 61x19
text run at (0,0) width 61: "value=0: "
- RenderMeter {METER} at (60,2) size 81x17
+ RenderMeter {METER} at (60,2) size 81x16
RenderListItem {LI} at (40,80) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 85x19
text run at (0,0) width 85: "value=1000: "
- RenderMeter {METER} at (84,2) size 81x17
+ RenderMeter {METER} at (84,2) size 81x16
RenderBlock {H2} at (0,269) size 784x31
RenderText {#text} at (0,1) size 144x28
text run at (0,1) width 144: "optimum=150"
@@ -46,27 +46,27 @@
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=150: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,20) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=450: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,40) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=750: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,60) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 61x19
text run at (0,0) width 61: "value=0: "
- RenderMeter {METER} at (60,2) size 81x17
+ RenderMeter {METER} at (60,2) size 81x16
RenderListItem {LI} at (40,80) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 85x19
text run at (0,0) width 85: "value=1000: "
- RenderMeter {METER} at (84,2) size 81x17
+ RenderMeter {METER} at (84,2) size 81x16
RenderBlock {H2} at (0,438) size 784x31
RenderText {#text} at (0,1) size 144x28
text run at (0,1) width 144: "optimum=750"
@@ -75,24 +75,24 @@
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=150: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,20) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=450: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,40) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 77x19
text run at (0,0) width 77: "value=750: "
- RenderMeter {METER} at (76,2) size 81x17
+ RenderMeter {METER} at (76,2) size 81x16
RenderListItem {LI} at (40,60) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 61x19
text run at (0,0) width 61: "value=0: "
- RenderMeter {METER} at (60,2) size 81x17
+ RenderMeter {METER} at (60,2) size 81x16
RenderListItem {LI} at (40,80) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 85x19
text run at (0,0) width 85: "value=1000: "
- RenderMeter {METER} at (84,2) size 81x17
+ RenderMeter {METER} at (84,2) size 81x16
Modified: trunk/LayoutTests/platform/ios/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -8,7 +8,7 @@
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 91x19
text run at (0,0) width 91: "Default style: "
- RenderBlock {PROGRESS} at (90,2) size 161x17
+ RenderBlock {PROGRESS} at (90,2) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 16x16 [bgcolor=#008000]
@@ -16,7 +16,7 @@
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 98x19
text run at (0,0) width 98: "Progress style: "
- RenderBlock {PROGRESS} at (97,2) size 161x17 [bgcolor=#0000FF] [border: (3px solid #000066)]
+ RenderBlock {PROGRESS} at (97,2) size 161x16 [bgcolor=#0000FF] [border: (3px solid #000066)]
RenderProgress {DIV} at (3,3) size 154x10
RenderBlock {DIV} at (0,0) size 154x10
RenderBlock {DIV} at (0,0) size 31x10 [bgcolor=#008000]
@@ -28,23 +28,23 @@
RenderProgress {DIV} at (0,0) size 300x30
RenderBlock {DIV} at (0,0) size 300x30 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 90x30 [bgcolor=#008000]
- RenderListItem {LI} at (40,72) size 744x20
+ RenderListItem {LI} at (40,71) size 744x21
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 66x19
text run at (0,0) width 66: "Bar style: "
- RenderBlock {PROGRESS} at (65,2) size 161x17
+ RenderBlock {PROGRESS} at (65,2) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#FF0000] [border: (3px solid #990000)]
RenderBlock {DIV} at (3,3) size 62x10 [bgcolor=#008000]
- RenderListItem {LI} at (40,92) size 744x20
+ RenderListItem {LI} at (40,91) size 744x21
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 80x19
text run at (0,0) width 80: "Value style: "
- RenderBlock {PROGRESS} at (79,2) size 161x17
+ RenderBlock {PROGRESS} at (79,2) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 80x16 [bgcolor=#FFFF00] [border: (3px solid #999900)]
- RenderListItem {LI} at (40,112) size 744x32
+ RenderListItem {LI} at (40,111) size 744x33
RenderListMarker at (-18,12) size 7x19: bullet
RenderText {#text} at (0,12) size 195x19
text run at (0,12) width 195: "Styling for all three elements: "
@@ -52,19 +52,19 @@
RenderProgress {DIV} at (3,3) size 154x24
RenderBlock {DIV} at (0,0) size 154x24 [bgcolor=#FF0000] [border: (3px solid #990000)]
RenderBlock {DIV} at (3,3) size 89x18 [bgcolor=#FFFF00] [border: (3px solid #999900)]
- RenderListItem {LI} at (40,144) size 744x20
+ RenderListItem {LI} at (40,143) size 744x21
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 235x19
text run at (0,0) width 235: "Removing appearance dynamically: "
- RenderBlock {PROGRESS} at (234,2) size 161x17
+ RenderBlock {PROGRESS} at (234,2) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 112x16 [bgcolor=#008000]
- RenderListItem {LI} at (40,164) size 744x20
+ RenderListItem {LI} at (40,163) size 744x21
RenderListMarker at (-18,0) size 7x19: bullet
RenderText {#text} at (0,0) size 278x19
text run at (0,0) width 278: "Giving progress style change dynamically: "
- RenderBlock {PROGRESS} at (277,2) size 161x17 [bgcolor=#ADD8E6]
+ RenderBlock {PROGRESS} at (277,2) size 161x16 [bgcolor=#ADD8E6]
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 128x16 [bgcolor=#008000]
Modified: trunk/LayoutTests/platform/ios/fast/inline/emptyInlinesWithinLists-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/inline/emptyInlinesWithinLists-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/inline/emptyInlinesWithinLists-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -17,8 +17,8 @@
text run at (8,0) width 29: "Text"
RenderListItem {LI} at (40,40) size 744x20
RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (0,0) size 89x19
- text run at (0,0) width 89: "TextTextText "
+ RenderText {#text} at (0,0) size 85x19
+ text run at (0,0) width 85: "TextTextText"
RenderInline {SPAN} at (0,0) size 9x27 [border: (2px solid #FF0000)]
RenderBlock (anonymous) at (40,60) size 744x20
RenderInline {SPAN} at (0,0) size 8x27 [border: (2px solid #FF0000)]
Modified: trunk/LayoutTests/platform/ios/fast/lists/002-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/lists/002-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/lists/002-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -6,12 +6,12 @@
RenderBlock {DIV} at (0,0) size 784x40
RenderBlock {UL} at (0,0) size 784x40
RenderListItem {LI} at (40,0) size 744x20
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (686,0) size 8x19: bullet
RenderInline {A} at (0,0) size 40x19 [color=#0000EE]
RenderText {#text} at (704,0) size 40x19
text run at (704,0) width 40: "Home"
RenderListItem {LI} at (40,20) size 744x20
- RenderListMarker at (-18,0) size 7x19: bullet
+ RenderListMarker at (668,0) size 8x19: bullet
RenderInline {A} at (0,0) size 58x19 [color=#0000EE]
RenderText {#text} at (686,0) size 58x19
text run at (686,0) width 58: "Archives"
Modified: trunk/LayoutTests/platform/ios/fast/lists/003-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/lists/003-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/lists/003-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -119,42 +119,42 @@
RenderBlock {DIV} at (0,0) size 784x332
RenderBlock {UL} at (0,0) size 784x160
RenderListItem {LI} at (40,0) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (686,0) size 7x19: bullet
RenderInline {A} at (0,0) size 40x19 [color=#0000EE]
RenderText {#text} at (704,0) size 40x19
text run at (704,0) width 40: "About"
RenderListItem {LI} at (40,20) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (669,0) size 8x19: bullet
RenderInline {A} at (0,0) size 57x19 [color=#0000EE]
RenderText {#text} at (687,0) size 57x19
text run at (687,0) width 57: "Site map"
RenderListItem {LI} at (40,40) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (668,0) size 8x19: bullet
RenderInline {A} at (0,0) size 58x19 [color=#0000EE]
RenderText {#text} at (686,0) size 58x19
text run at (686,0) width 58: "Archives"
RenderListItem {LI} at (40,60) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (674,0) size 8x19: bullet
RenderInline {A} at (0,0) size 52x19 [color=#0000EE]
RenderText {#text} at (692,0) size 52x19
text run at (692,0) width 52: "Projects"
RenderListItem {LI} at (40,80) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (682,0) size 8x19: bullet
RenderInline {A} at (0,0) size 44x19 [color=#0000EE]
RenderText {#text} at (700,0) size 44x19
text run at (700,0) width 44: "Photos"
RenderListItem {LI} at (40,100) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (668,0) size 8x19: bullet
RenderInline {A} at (0,0) size 58x19 [color=#0000EE]
RenderText {#text} at (686,0) size 58x19
text run at (686,0) width 58: "Statistics"
RenderListItem {LI} at (40,120) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (577,0) size 8x19: bullet
RenderInline {A} at (0,0) size 149x19 [color=#0000EE]
RenderText {#text} at (595,0) size 149x19
text run at (595,0) width 149: "Accessibility statement"
RenderListItem {LI} at (40,140) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (612,0) size 8x19: bullet
RenderInline {A} at (0,0) size 29x19 [color=#0000EE]
RenderText {#text} at (630,0) size 29x19
text run at (630,0) width 29: "RSS"
@@ -167,38 +167,38 @@
text run at (738,0) width 6: ")"
RenderBlock {UL} at (0,176) size 784x20
RenderListItem {LI} at (40,0) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (637,0) size 8x19: bullet
RenderInline {A} at (0,0) size 89x19 [color=#0000EE]
RenderText {#text} at (655,0) size 89x19
text run at (655,0) width 89: "What is RSS?"
RenderBlock {UL} at (0,212) size 784x120
RenderListItem {LI} at (40,0) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (634,0) size 8x19: bullet
RenderInline {A} at (0,0) size 92x19 [color=#0000EE]
RenderText {#text} at (652,0) size 92x19
text run at (652,0) width 92: "RSS Validator"
RenderListItem {LI} at (40,20) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (577,0) size 8x19: bullet
RenderInline {A} at (0,0) size 149x19 [color=#0000EE]
RenderText {#text} at (595,0) size 149x19
text run at (595,0) width 149: "Dive Into Accessibility"
RenderListItem {LI} at (40,40) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (625,0) size 8x19: bullet
RenderInline {A} at (0,0) size 101x19 [color=#0000EE]
RenderText {#text} at (643,0) size 101x19
text run at (643,0) width 101: "Dive Into OS X"
RenderListItem {LI} at (40,60) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (627,0) size 8x19: bullet
RenderInline {A} at (0,0) size 99x19 [color=#0000EE]
RenderText {#text} at (645,0) size 99x19
text run at (645,0) width 99: "Dive Into J2EE"
RenderListItem {LI} at (40,80) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (615,0) size 8x19: bullet
RenderInline {A} at (0,0) size 111x19 [color=#0000EE]
RenderText {#text} at (633,0) size 111x19
text run at (633,0) width 111: "Dive Into Python"
RenderListItem {LI} at (40,100) size 744x20
- RenderListMarker at (412,0) size 8x19: bullet
+ RenderListMarker at (679,0) size 8x19: bullet
RenderInline {A} at (0,0) size 47x19 [color=#0000EE]
RenderText {#text} at (697,0) size 47x19
text run at (697,0) width 47: "r\x{E9}sum\x{E9}"
Modified: trunk/LayoutTests/platform/ios/fast/lists/li-br-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/lists/li-br-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/lists/li-br-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -1,4 +1,4 @@
-layer at (0,0) size 1539x600
+layer at (0,0) size 1555x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
@@ -8,8 +8,8 @@
RenderListMarker at (-21,0) size 16x19: "1"
RenderText {#text} at (0,0) size 1492x19
text run at (0,0) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
- RenderBlock {OL} at (0,36) size 784x40
- RenderListItem {LI} at (40,0) size 744x40
+ RenderBlock {OL} at (0,36) size 784x20
+ RenderListItem {LI} at (40,0) size 744x20
RenderListMarker at (0,0) size 16x19: "1"
- RenderText {#text} at (0,20) size 1492x19
- text run at (0,20) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
+ RenderText {#text} at (16,0) size 1492x19
+ text run at (16,0) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Modified: trunk/LayoutTests/platform/ios/fast/selectors/166-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/ios/fast/selectors/166-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/ios/fast/selectors/166-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -150,9 +150,9 @@
text run at (582,0) width 109: "HTML <iframe>"
RenderText {#text} at (690,0) size 9x19
text run at (690,0) width 9: ", "
- RenderInline {A} at (0,0) size 745x39 [color=#0000EE]
- RenderText {#text} at (698,0) size 745x39
- text run at (698,0) width 47: "HTML"
+ RenderInline {A} at (0,0) size 744x39 [color=#0000EE]
+ RenderText {#text} at (698,0) size 744x39
+ text run at (698,0) width 46: "HTML"
text run at (0,20) width 58: "<object>"
RenderText {#text} at (57,20) size 9x19
text run at (57,20) width 9: ", "
@@ -201,9 +201,9 @@
text run at (556,0) width 110: "HTML <iframe>"
RenderText {#text} at (665,0) size 9x19
text run at (665,0) width 9: ", "
- RenderInline {A} at (0,0) size 719x39 [color=#0000EE]
- RenderText {#text} at (673,0) size 719x39
- text run at (673,0) width 46: "HTML"
+ RenderInline {A} at (0,0) size 718x39 [color=#0000EE]
+ RenderText {#text} at (673,0) size 718x39
+ text run at (673,0) width 45: "HTML"
text run at (0,20) width 58: "<object>"
RenderText {#text} at (57,20) size 9x19
text run at (57,20) width 9: ", "
@@ -252,9 +252,9 @@
text run at (544,0) width 109: "HTML <iframe>"
RenderText {#text} at (652,0) size 9x19
text run at (652,0) width 9: ", "
- RenderInline {A} at (0,0) size 707x39 [color=#0000EE]
- RenderText {#text} at (660,0) size 707x39
- text run at (660,0) width 47: "HTML"
+ RenderInline {A} at (0,0) size 706x39 [color=#0000EE]
+ RenderText {#text} at (660,0) size 706x39
+ text run at (660,0) width 46: "HTML"
text run at (0,20) width 58: "<object>"
RenderText {#text} at (57,20) size 9x19
text run at (57,20) width 9: ", "
Modified: trunk/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -39,12 +39,12 @@
text run at (396,18) width 181: "width of the parent element."
RenderBlock {UL} at (0,343) size 744x108 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 704x36
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (10,0) size 8x18: bullet
RenderText {#text} at (27,0) size 677x36
text run at (27,0) width 677: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
text run at (672,18) width 32: "gray."
RenderListItem {LI} at (40,36) size 679x54 [bgcolor=#FFFFFF]
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (-7,0) size 8x18: bullet
RenderText {#text} at (10,0) size 669x54
text run at (10,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
text run at (34,18) width 62: "checked. "
@@ -51,7 +51,7 @@
text run at (95,18) width 584: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
text run at (141,36) width 538: "margin to make 50 pixels of margin, and its background-color has been set to white."
RenderListItem {LI} at (40,90) size 704x18
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (502,0) size 8x18: bullet
RenderText {#text} at (519,0) size 185x18
text run at (519,0) width 185: "This is an unclassed list item"
RenderBlock {P} at (0,467) size 769x18 [bgcolor=#C0C0C0]
@@ -94,12 +94,12 @@
text run at (356,18) width 205: "the width of the parent element."
RenderBlock {UL} at (4,192) size 722x108 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 682x36
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (-12,0) size 8x18: bullet
RenderText {#text} at (5,0) size 677x36
text run at (5,0) width 677: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
text run at (650,18) width 32: "gray."
RenderListItem {LI} at (40,36) size 657x54 [bgcolor=#FFFFFF]
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (23,0) size 8x18: bullet
RenderText {#text} at (40,0) size 637x54
text run at (40,0) width 617: "Another list item might not be such a bad idea, either, considering that such things do need to be"
text run at (20,18) width 110: "double-checked. "
@@ -106,7 +106,7 @@
text run at (129,18) width 528: "This list item has its right margin also set to 25 pixels, which should combine with"
text run at (62,36) width 595: "the list's margin to make 50 pixels of margin, and its background-color has been set to white."
RenderListItem {LI} at (40,90) size 682x18
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (480,0) size 8x18: bullet
RenderText {#text} at (497,0) size 185x18
text run at (497,0) width 185: "This is an unclassed list item"
RenderBlock {P} at (4,316) size 747x18 [bgcolor=#C0C0C0]
Modified: trunk/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -55,14 +55,14 @@
text run at (552,54) width 25: "see."
RenderBlock {UL} at (0,487) size 769x72 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 704x36
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (-9,0) size 8x18: bullet
RenderText {#text} at (8,0) size 696x36
text run at (8,0) width 696: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order"
text run at (661,18) width 43: "to test."
RenderListItem {LI} at (40,36) size 704x36 [bgcolor=#FFFFFF]
- RenderListMarker at (-17,0) size 7x18: bullet
- RenderText {#text} at (5,0) size 674x36
- text run at (5,0) width 674: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
+ RenderListMarker at (-11,0) size 8x18: bullet
+ RenderText {#text} at (6,0) size 673x36
+ text run at (6,0) width 673: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
text run at (624,18) width 55: "element."
RenderBlock {P} at (0,575) size 769x54 [bgcolor=#00FFFF]
RenderText {#text} at (79,0) size 747x54
@@ -117,12 +117,12 @@
text run at (478,54) width 83: "easier to see."
RenderBlock {UL} at (4,336) size 747x72 [bgcolor=#808080]
RenderListItem {LI} at (40,0) size 682x36
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (7,0) size 8x18: bullet
RenderText {#text} at (24,0) size 658x36
text run at (24,0) width 658: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in"
text run at (601,18) width 81: "order to test."
RenderListItem {LI} at (40,36) size 682x36 [bgcolor=#FFFFFF]
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (-8,0) size 8x18: bullet
RenderText {#text} at (9,0) size 648x36
text run at (9,0) width 648: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the"
text run at (577,18) width 80: "UL element."
Modified: trunk/LayoutTests/platform/mac/css2.1/t0505-c16-descendant-01-e-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/css2.1/t0505-c16-descendant-01-e-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/css2.1/t0505-c16-descendant-01-e-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -10,8 +10,7 @@
RenderBlock {UL} at (0,34) size 784x18 [color=#008000]
RenderListItem {LI} at (40,0) size 744x18
RenderListMarker at (-17,0) size 7x18: bullet
- RenderInline {SPAN} at (0,0) size 4x18 [color=#FF0000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderText {#text} at (4,0) size 166x18
- text run at (4,0) width 166: "This line should be green."
+ RenderInline {SPAN} at (0,0) size 0x18 [color=#FF0000]
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 166x18
+ text run at (0,0) width 166: "This line should be green."
Modified: trunk/LayoutTests/platform/mac/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -8,7 +8,7 @@
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 91x18
text run at (0,0) width 91: "Default style: "
- RenderBlock {PROGRESS} at (90,1) size 161x17
+ RenderBlock {PROGRESS} at (90,1) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 16x16 [bgcolor=#008000]
@@ -16,7 +16,7 @@
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 98x18
text run at (0,0) width 98: "Progress style: "
- RenderBlock {PROGRESS} at (97,1) size 161x17 [bgcolor=#0000FF] [border: (3px solid #000066)]
+ RenderBlock {PROGRESS} at (97,1) size 161x16 [bgcolor=#0000FF] [border: (3px solid #000066)]
RenderProgress {DIV} at (3,3) size 154x10
RenderBlock {DIV} at (0,0) size 154x10
RenderBlock {DIV} at (0,0) size 31x10 [bgcolor=#008000]
@@ -28,23 +28,23 @@
RenderProgress {DIV} at (0,0) size 300x30
RenderBlock {DIV} at (0,0) size 300x30 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 90x30 [bgcolor=#008000]
- RenderListItem {LI} at (40,67) size 744x18
+ RenderListItem {LI} at (40,66) size 744x19
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 66x18
text run at (0,0) width 66: "Bar style: "
- RenderBlock {PROGRESS} at (65,1) size 161x17
+ RenderBlock {PROGRESS} at (65,1) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#FF0000] [border: (3px solid #990000)]
RenderBlock {DIV} at (3,3) size 62x10 [bgcolor=#008000]
- RenderListItem {LI} at (40,85) size 744x18
+ RenderListItem {LI} at (40,84) size 744x19
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 80x18
text run at (0,0) width 80: "Value style: "
- RenderBlock {PROGRESS} at (79,1) size 161x17
+ RenderBlock {PROGRESS} at (79,1) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 80x16 [bgcolor=#FFFF00] [border: (3px solid #999900)]
- RenderListItem {LI} at (40,103) size 744x31
+ RenderListItem {LI} at (40,102) size 744x32
RenderListMarker at (-17,13) size 7x18: bullet
RenderText {#text} at (0,13) size 195x18
text run at (0,13) width 195: "Styling for all three elements: "
@@ -52,19 +52,19 @@
RenderProgress {DIV} at (3,3) size 154x24
RenderBlock {DIV} at (0,0) size 154x24 [bgcolor=#FF0000] [border: (3px solid #990000)]
RenderBlock {DIV} at (3,3) size 89x18 [bgcolor=#FFFF00] [border: (3px solid #999900)]
- RenderListItem {LI} at (40,134) size 744x18
+ RenderListItem {LI} at (40,133) size 744x19
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 235x18
text run at (0,0) width 235: "Removing appearance dynamically: "
- RenderBlock {PROGRESS} at (234,1) size 161x17
+ RenderBlock {PROGRESS} at (234,1) size 161x16
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16 [bgcolor=#808080]
RenderBlock {DIV} at (0,0) size 112x16 [bgcolor=#008000]
- RenderListItem {LI} at (40,152) size 744x18
+ RenderListItem {LI} at (40,151) size 744x19
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 278x18
text run at (0,0) width 278: "Giving progress style change dynamically: "
- RenderBlock {PROGRESS} at (277,1) size 161x17 [bgcolor=#ADD8E6]
+ RenderBlock {PROGRESS} at (277,1) size 161x16 [bgcolor=#ADD8E6]
RenderProgress {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 160x16
RenderBlock {DIV} at (0,0) size 128x16 [bgcolor=#008000]
Modified: trunk/LayoutTests/platform/mac/fast/inline/emptyInlinesWithinLists-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/inline/emptyInlinesWithinLists-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/inline/emptyInlinesWithinLists-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -17,8 +17,8 @@
text run at (8,0) width 29: "Text"
RenderListItem {LI} at (40,36) size 744x18
RenderListMarker at (-17,0) size 7x18: bullet
- RenderText {#text} at (0,0) size 89x18
- text run at (0,0) width 89: "TextTextText "
+ RenderText {#text} at (0,0) size 85x18
+ text run at (0,0) width 85: "TextTextText"
RenderInline {SPAN} at (0,0) size 9x26 [border: (2px solid #FF0000)]
RenderBlock (anonymous) at (40,54) size 744x18
RenderInline {SPAN} at (0,0) size 8x26 [border: (2px solid #FF0000)]
Modified: trunk/LayoutTests/platform/mac/fast/lists/002-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/lists/002-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/lists/002-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -6,12 +6,12 @@
RenderBlock {DIV} at (0,0) size 784x36
RenderBlock {UL} at (0,0) size 784x36
RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (687,0) size 8x18: bullet
RenderInline {A} at (0,0) size 40x18 [color=#0000EE]
RenderText {#text} at (704,0) size 40x18
text run at (704,0) width 40: "Home"
RenderListItem {LI} at (40,18) size 744x18
- RenderListMarker at (-17,0) size 7x18: bullet
+ RenderListMarker at (669,0) size 8x18: bullet
RenderInline {A} at (0,0) size 58x18 [color=#0000EE]
RenderText {#text} at (686,0) size 58x18
text run at (686,0) width 58: "Archives"
Modified: trunk/LayoutTests/platform/mac/fast/lists/003-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/lists/003-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/lists/003-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -119,42 +119,42 @@
RenderBlock {DIV} at (0,0) size 784x302
RenderBlock {UL} at (0,0) size 784x144
RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (687,0) size 7x18: bullet
RenderInline {A} at (0,0) size 40x18 [color=#0000EE]
RenderText {#text} at (704,0) size 40x18
text run at (704,0) width 40: "About"
RenderListItem {LI} at (40,18) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (670,0) size 8x18: bullet
RenderInline {A} at (0,0) size 57x18 [color=#0000EE]
RenderText {#text} at (687,0) size 57x18
text run at (687,0) width 57: "Site map"
RenderListItem {LI} at (40,36) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (669,0) size 8x18: bullet
RenderInline {A} at (0,0) size 58x18 [color=#0000EE]
RenderText {#text} at (686,0) size 58x18
text run at (686,0) width 58: "Archives"
RenderListItem {LI} at (40,54) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (675,0) size 8x18: bullet
RenderInline {A} at (0,0) size 52x18 [color=#0000EE]
RenderText {#text} at (692,0) size 52x18
text run at (692,0) width 52: "Projects"
RenderListItem {LI} at (40,72) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (683,0) size 8x18: bullet
RenderInline {A} at (0,0) size 44x18 [color=#0000EE]
RenderText {#text} at (700,0) size 44x18
text run at (700,0) width 44: "Photos"
RenderListItem {LI} at (40,90) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (669,0) size 8x18: bullet
RenderInline {A} at (0,0) size 58x18 [color=#0000EE]
RenderText {#text} at (686,0) size 58x18
text run at (686,0) width 58: "Statistics"
RenderListItem {LI} at (40,108) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (578,0) size 8x18: bullet
RenderInline {A} at (0,0) size 149x18 [color=#0000EE]
RenderText {#text} at (595,0) size 149x18
text run at (595,0) width 149: "Accessibility statement"
RenderListItem {LI} at (40,126) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (613,0) size 8x18: bullet
RenderInline {A} at (0,0) size 29x18 [color=#0000EE]
RenderText {#text} at (630,0) size 29x18
text run at (630,0) width 29: "RSS"
@@ -167,38 +167,38 @@
text run at (738,0) width 6: ")"
RenderBlock {UL} at (0,160) size 784x18
RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (638,0) size 8x18: bullet
RenderInline {A} at (0,0) size 89x18 [color=#0000EE]
RenderText {#text} at (655,0) size 89x18
text run at (655,0) width 89: "What is RSS?"
RenderBlock {UL} at (0,194) size 784x108
RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (635,0) size 8x18: bullet
RenderInline {A} at (0,0) size 92x18 [color=#0000EE]
RenderText {#text} at (652,0) size 92x18
text run at (652,0) width 92: "RSS Validator"
RenderListItem {LI} at (40,18) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (578,0) size 8x18: bullet
RenderInline {A} at (0,0) size 149x18 [color=#0000EE]
RenderText {#text} at (595,0) size 149x18
text run at (595,0) width 149: "Dive Into Accessibility"
RenderListItem {LI} at (40,36) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (626,0) size 8x18: bullet
RenderInline {A} at (0,0) size 101x18 [color=#0000EE]
RenderText {#text} at (643,0) size 101x18
text run at (643,0) width 101: "Dive Into OS X"
RenderListItem {LI} at (40,54) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (628,0) size 8x18: bullet
RenderInline {A} at (0,0) size 99x18 [color=#0000EE]
RenderText {#text} at (645,0) size 99x18
text run at (645,0) width 99: "Dive Into J2EE"
RenderListItem {LI} at (40,72) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (616,0) size 8x18: bullet
RenderInline {A} at (0,0) size 111x18 [color=#0000EE]
RenderText {#text} at (633,0) size 111x18
text run at (633,0) width 111: "Dive Into Python"
RenderListItem {LI} at (40,90) size 744x18
- RenderListMarker at (413,0) size 8x18: bullet
+ RenderListMarker at (680,0) size 8x18: bullet
RenderInline {A} at (0,0) size 47x18 [color=#0000EE]
RenderText {#text} at (697,0) size 47x18
text run at (697,0) width 47: "r\x{E9}sum\x{E9}"
Modified: trunk/LayoutTests/platform/mac/fast/lists/li-br-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/lists/li-br-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/lists/li-br-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -1,4 +1,4 @@
-layer at (0,0) size 1539x585
+layer at (0,0) size 1555x585
RenderView at (0,0) size 800x585
layer at (0,0) size 800x585
RenderBlock {HTML} at (0,0) size 800x585
@@ -8,8 +8,8 @@
RenderListMarker at (-20,0) size 16x18: "1"
RenderText {#text} at (0,0) size 1492x18
text run at (0,0) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
- RenderBlock {OL} at (0,34) size 784x36
- RenderListItem {LI} at (40,0) size 744x36
+ RenderBlock {OL} at (0,34) size 784x18
+ RenderListItem {LI} at (40,0) size 744x18
RenderListMarker at (0,0) size 16x18: "1"
- RenderText {#text} at (0,18) size 1492x18
- text run at (0,18) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
+ RenderText {#text} at (16,0) size 1492x18
+ text run at (16,0) width 1492: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Modified: trunk/LayoutTests/platform/mac/fast/selectors/166-expected.txt (291133 => 291134)
--- trunk/LayoutTests/platform/mac/fast/selectors/166-expected.txt 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/LayoutTests/platform/mac/fast/selectors/166-expected.txt 2022-03-10 22:51:11 UTC (rev 291134)
@@ -49,9 +49,9 @@
text run at (511,0) width 109: "HTML <iframe>"
RenderText {#text} at (619,0) size 9x18
text run at (619,0) width 9: ", "
- RenderInline {A} at (0,0) size 674x36 [color=#0000EE]
- RenderText {#text} at (627,0) size 674x36
- text run at (627,0) width 47: "HTML"
+ RenderInline {A} at (0,0) size 673x36 [color=#0000EE]
+ RenderText {#text} at (627,0) size 673x36
+ text run at (627,0) width 46: "HTML"
text run at (0,18) width 58: "<object>"
RenderText {#text} at (57,18) size 9x18
text run at (57,18) width 9: ", "
@@ -201,9 +201,9 @@
text run at (556,0) width 110: "HTML <iframe>"
RenderText {#text} at (665,0) size 9x18
text run at (665,0) width 9: ", "
- RenderInline {A} at (0,0) size 719x36 [color=#0000EE]
- RenderText {#text} at (673,0) size 719x36
- text run at (673,0) width 46: "HTML"
+ RenderInline {A} at (0,0) size 718x36 [color=#0000EE]
+ RenderText {#text} at (673,0) size 718x36
+ text run at (673,0) width 45: "HTML"
text run at (0,18) width 58: "<object>"
RenderText {#text} at (57,18) size 9x18
text run at (57,18) width 9: ", "
@@ -252,9 +252,9 @@
text run at (544,0) width 109: "HTML <iframe>"
RenderText {#text} at (652,0) size 9x18
text run at (652,0) width 9: ", "
- RenderInline {A} at (0,0) size 707x36 [color=#0000EE]
- RenderText {#text} at (660,0) size 707x36
- text run at (660,0) width 47: "HTML"
+ RenderInline {A} at (0,0) size 706x36 [color=#0000EE]
+ RenderText {#text} at (660,0) size 706x36
+ text run at (660,0) width 46: "HTML"
text run at (0,18) width 58: "<object>"
RenderText {#text} at (57,18) size 9x18
text run at (57,18) width 9: ", "
Modified: trunk/Source/WebCore/ChangeLog (291133 => 291134)
--- trunk/Source/WebCore/ChangeLog 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/ChangeLog 2022-03-10 22:51:11 UTC (rev 291134)
@@ -1,3 +1,59 @@
+2022-03-10 Alan Bujtas <[email protected]>
+
+ [IFC][Integration] Enable RenderListItem and RenderListMarker for IFC
+ https://bugs.webkit.org/show_bug.cgi?id=237497
+
+ Reviewed by Antti Koivisto.
+
+ This enables horizontal, RTL, "non-same line nested" list items for IFC.
+
+ List markers behave as regular inline level boxes except when it comes to vertical align,
+ when non-image based list markers are aligned as text. Also outside list markers (list-style-position: outside)
+ have extra (negative) horizontal margin to place them outside of the containing block's border box.
+
+ * layout/formattingContexts/inline/InlineContentBreaker.cpp:
+ (WebCore::Layout::isWrappableRun):
+ * layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
+ (WebCore::Layout::InlineFormattingGeometry::inlineLevelBoxAffectsLineBox const):
+ * layout/formattingContexts/inline/InlineLevelBox.h:
+ (WebCore::Layout::InlineLevelBox::isListMarker const):
+ * layout/formattingContexts/inline/InlineLine.cpp:
+ (WebCore::Layout::Line::appendTextContent):
+ (WebCore::Layout::toLineRunType):
+ (WebCore::Layout::Line::Run::Run):
+ * layout/formattingContexts/inline/InlineLine.h:
+ (WebCore::Layout::Line::Run::isBox const):
+ (WebCore::Layout::Line::Run::isListMarker const):
+ * layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
+ (WebCore::Layout::LineBoxBuilder::setBaselineAndLayoutBounds const):
+ (WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
+ * layout/formattingContexts/inline/InlineLineBoxBuilder.h:
+ * layout/formattingContexts/inline/InlineLineBuilder.cpp:
+ (WebCore::Layout::isAtSoftWrapOpportunity):
+ * layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
+ (WebCore::Layout::InlineDisplayContentBuilder::processNonBidiContent):
+ (WebCore::Layout::InlineDisplayContentBuilder::processBidiContent):
+ * layout/integration/LayoutIntegrationBoxTree.cpp:
+ (WebCore::LayoutIntegration::BoxTree::buildTree):
+ * layout/integration/LayoutIntegrationCoverage.cpp:
+ (WebCore::LayoutIntegration::printReason):
+ (WebCore::LayoutIntegration::canUseForChild):
+ (WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
+ * layout/integration/LayoutIntegrationCoverage.h:
+ * layout/integration/LayoutIntegrationLineLayout.cpp:
+ (WebCore::LayoutIntegration::LineLayout::updateListItemDimensions):
+ (WebCore::LayoutIntegration::LineLayout::updateListMarkerDimensions):
+ (WebCore::LayoutIntegration::LineLayout::updateLayoutBoxDimensions):
+ (WebCore::LayoutIntegration::LineLayout::layout):
+ * layout/integration/LayoutIntegrationLineLayout.h:
+ * layout/layouttree/LayoutBox.h:
+ (WebCore::Layout::Box::isListMarker const):
+ (WebCore::Layout::Box::isInsideListMarker const):
+ (WebCore::Layout::Box::isOutsideListMarker const):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::layoutModernLines):
+ * rendering/RenderListMarker.h:
+
2022-03-10 Elliott Williams <[email protected]>
[XCBuild] Fix GeneratedSources dependency validation errors
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -277,7 +277,7 @@
static bool isWrappableRun(const InlineContentBreaker::ContinuousContent::Run& run)
{
- ASSERT(run.inlineItem.isText() || run.inlineItem.isInlineBoxStart() || run.inlineItem.isInlineBoxEnd() || run.inlineItem.layoutBox().isImage());
+ ASSERT(run.inlineItem.isText() || run.inlineItem.isInlineBoxStart() || run.inlineItem.isInlineBoxEnd() || run.inlineItem.layoutBox().isImage() || run.inlineItem.layoutBox().isListMarker());
if (!run.inlineItem.isText()) {
// Can't break horizontal spacing -> e.g. <span style="padding-right: 100px;">textcontent</span>, if the [inline box end] is the overflown inline item
// we need to check if there's another inline item beyond the [inline box end] to split.
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -104,6 +104,8 @@
{
if (inlineLevelBox.isInlineBox() || inlineLevelBox.isLineBreakBox())
return layoutState().inStandardsMode() ? true : formattingContext().formattingQuirks().inlineLevelBoxAffectsLineBox(inlineLevelBox, lineBox);
+ if (inlineLevelBox.isListMarker())
+ return inlineLevelBox.layoutBounds().height();
if (inlineLevelBox.isAtomicInlineLevelBox()) {
if (inlineLevelBox.layoutBounds().height())
return true;
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -77,6 +77,7 @@
bool isRootInlineBox() const { return m_type == Type::RootInlineBox; }
bool isLineSpanningInlineBox() const { return m_type == Type::LineSpanningInlineBox; }
bool isAtomicInlineLevelBox() const { return m_type == Type::AtomicInlineLevelBox; }
+ bool isListMarker() const { return isAtomicInlineLevelBox() && layoutBox().isListMarker(); }
bool isLineBreakBox() const { return m_type == Type::LineBreakBox; }
bool hasLineBoxRelativeAlignment() const;
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -318,7 +318,7 @@
// provided both spaces are within the same inline formatting context—is collapsed to have zero advance width.
if (run.isText())
return run.hasCollapsibleTrailingWhitespace();
- ASSERT(run.isLineSpanningInlineBoxStart() || run.isInlineBoxStart() || run.isInlineBoxEnd() || run.isWordBreakOpportunity());
+ ASSERT(run.isListMarker() || run.isLineSpanningInlineBoxStart() || run.isInlineBoxStart() || run.isInlineBoxEnd() || run.isWordBreakOpportunity());
}
// Leading whitespace.
return true;
@@ -571,15 +571,15 @@
m_length += trailingWhitespace.length();
}
-inline static Line::Run::Type toLineRunType(InlineItem::Type inlineItemType)
+inline static Line::Run::Type toLineRunType(const InlineItem& inlineItem)
{
- switch (inlineItemType) {
+ switch (inlineItem.type()) {
case InlineItem::Type::HardLineBreak:
return Line::Run::Type::HardLineBreak;
case InlineItem::Type::WordBreakOpportunity:
return Line::Run::Type::WordBreakOpportunity;
case InlineItem::Type::Box:
- return Line::Run::Type::AtomicBox;
+ return inlineItem.layoutBox().isListMarker() ? Line::Run::Type::ListMarker : Line::Run::Type::GenericInlineLevelBox;
case InlineItem::Type::InlineBoxStart:
return Line::Run::Type::InlineBoxStart;
case InlineItem::Type::InlineBoxEnd:
@@ -602,7 +602,7 @@
}
Line::Run::Run(const InlineItem& inlineItem, const RenderStyle& style, InlineLayoutUnit logicalLeft, InlineLayoutUnit logicalWidth)
- : m_type(toLineRunType(inlineItem.type()))
+ : m_type(toLineRunType(inlineItem))
, m_layoutBox(&inlineItem.layoutBox())
, m_style(style)
, m_logicalLeft(logicalLeft)
@@ -612,7 +612,7 @@
}
Line::Run::Run(const InlineItem& zeroWidhtInlineItem, const RenderStyle& style, InlineLayoutUnit logicalLeft)
- : m_type(toLineRunType(zeroWidhtInlineItem.type()))
+ : m_type(toLineRunType(zeroWidhtInlineItem))
, m_layoutBox(&zeroWidhtInlineItem.layoutBox())
, m_style(style)
, m_logicalLeft(logicalLeft)
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.h (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLine.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -76,7 +76,8 @@
HardLineBreak,
SoftLineBreak,
WordBreakOpportunity,
- AtomicBox,
+ GenericInlineLevelBox,
+ ListMarker,
InlineBoxStart,
InlineBoxEnd,
LineSpanningInlineBoxStart
@@ -84,7 +85,8 @@
bool isText() const { return m_type == Type::Text || isWordSeparator(); }
bool isWordSeparator() const { return m_type == Type::WordSeparator; }
- bool isBox() const { return m_type == Type::AtomicBox; }
+ bool isBox() const { return m_type == Type::GenericInlineLevelBox; }
+ bool isListMarker() const { return m_type == Type::ListMarker; }
bool isLineBreak() const { return isHardLineBreak() || isSoftLineBreak(); }
bool isSoftLineBreak() const { return m_type == Type::SoftLineBreak; }
bool isHardLineBreak() const { return m_type == Type::HardLineBreak; }
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -191,9 +191,9 @@
return { ascent, descent, lineSpacing, inlineBox.isPreferredLineHeightFontMetricsBased() ? std::nullopt : std::make_optional(inlineBox.preferredLineHeight()) };
}
-void LineBoxBuilder::setBaselineAndLayoutBounds(InlineLevelBox& inlineLevelBox, const LayoutBoundsMetrics& layoutBoundsMetrics) const
+void LineBoxBuilder::setBaselineAndLayoutBounds(InlineLevelBox& inlineLevelBox, const LayoutBoundsMetrics& layoutBoundsMetrics, BehavesAsText behavesAsText) const
{
- if (inlineLevelBox.isInlineBox() || inlineLevelBox.isLineBreakBox()) {
+ if (inlineLevelBox.isInlineBox() || inlineLevelBox.isLineBreakBox() || behavesAsText == BehavesAsText::Yes) {
auto logicalHeight = layoutBoundsMetrics.ascent + layoutBoundsMetrics.descent;
auto halfLeading = InlineLayoutUnit { };
if (layoutBoundsMetrics.preferredLineHeight) {
@@ -237,7 +237,7 @@
auto& style = styleToUse(layoutBox);
auto runHasContent = [&] () -> bool {
ASSERT(!lineHasContent);
- if (run.isText() || run.isBox() || run.isSoftLineBreak() || run.isHardLineBreak())
+ if (run.isText() || run.isBox() || run.isSoftLineBreak() || run.isHardLineBreak() || run.isListMarker())
return true;
if (run.isLineSpanningInlineBoxStart())
return false;
@@ -284,6 +284,19 @@
lineBox.addInlineLevelBox(WTFMove(atomicInlineLevelBox));
continue;
}
+ if (run.isListMarker()) {
+ auto& ListMarkerBoxGeometry = formattingContext().geometryForBox(layoutBox);
+ auto marginBoxHeight = ListMarkerBoxGeometry.marginBoxHeight();
+ // Integration codepath constructs ReplacedBoxes for list markers.
+ auto baseline = downcast<ReplacedBox>(layoutBox).baseline();
+ auto ascent = baseline.value_or(marginBoxHeight);
+
+ logicalLeft += std::max(0_lu, ListMarkerBoxGeometry.marginStart());
+ auto listMarkerInlineLevelBox = InlineLevelBox::createAtomicInlineLevelBox(layoutBox, style, logicalLeft, { ListMarkerBoxGeometry.borderBoxWidth(), marginBoxHeight });
+ setBaselineAndLayoutBounds(listMarkerInlineLevelBox, { ascent, marginBoxHeight - ascent }, baseline.has_value() ? BehavesAsText::Yes : BehavesAsText::No);
+ lineBox.addInlineLevelBox(WTFMove(listMarkerInlineLevelBox));
+ continue;
+ }
if (run.isLineSpanningInlineBoxStart()) {
auto marginStart = InlineLayoutUnit { };
#if ENABLE(CSS_BOX_DECORATION_BREAK)
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -46,7 +46,8 @@
LineBox build(const LineBuilder::LineContent&, size_t lineIndex);
private:
- void setBaselineAndLayoutBounds(InlineLevelBox&, const LayoutBoundsMetrics&) const;
+ enum class BehavesAsText : uint8_t { No, Yes };
+ void setBaselineAndLayoutBounds(InlineLevelBox&, const LayoutBoundsMetrics&, BehavesAsText = BehavesAsText::No) const;
void adjustLayoutBoundsWithFallbackFonts(InlineLevelBox&, const TextUtil::FallbackFontList& fallbackFontsForContent, FontBaseline) const;
TextUtil::FallbackFontList collectFallbackFonts(const InlineLevelBox& parentInlineBox, const Line::Run&, const RenderStyle&);
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -144,6 +144,8 @@
// brings in unnecessary complexity.
return true;
}
+ if (current.layoutBox().isListMarker() || next.layoutBox().isListMarker())
+ return false;
if (current.isBox() || next.isBox()) {
auto isImageContent = current.layoutBox().isImage() || next.layoutBox().isImage();
if (isImageContent && inlineFormattingContext.layoutState().inQuirksMode())
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -349,7 +349,7 @@
appendHardLineBreakDisplayBox(lineRun, visualRectRelativeToRoot(lineBox.logicalRectForLineBreakBox(layoutBox)), boxes);
continue;
}
- if (lineRun.isBox()) {
+ if (lineRun.isBox() || lineRun.isListMarker()) {
appendAtomicInlineLevelDisplayBox(lineRun
, visualRectRelativeToRoot(lineBox.logicalBorderBoxForAtomicInlineLevelBox(layoutBox, formattingState().boxGeometry(layoutBox)))
, boxes);
@@ -605,7 +605,7 @@
displayBoxTree.append(parentDisplayBoxNodeIndex, boxes.size() - 1);
continue;
}
- if (lineRun.isBox()) {
+ if (lineRun.isBox() || lineRun.isListMarker()) {
auto& boxGeometry = formattingState().boxGeometry(layoutBox);
auto logicalRect = lineBox.logicalBorderBoxForAtomicInlineLevelBox(layoutBox, boxGeometry);
auto visualRect = visualRectRelativeToRoot(logicalRect);
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -38,6 +38,8 @@
#include "RenderDetailsMarker.h"
#include "RenderImage.h"
#include "RenderLineBreak.h"
+#include "RenderListItem.h"
+#include "RenderListMarker.h"
#include "TextUtil.h"
#if ENABLE(TREE_DEBUGGING)
@@ -117,12 +119,13 @@
if (is<RenderReplaced>(childRenderer))
return makeUnique<Layout::ReplacedBox>(Layout::Box::ElementAttributes { is<RenderImage>(childRenderer) ? Layout::Box::ElementType::Image : Layout::Box::ElementType::GenericElement }, WTFMove(style), WTFMove(firstLineStyle));
+ if (is<RenderListMarker>(childRenderer))
+ return makeUnique<Layout::ReplacedBox>(Layout::Box::ElementAttributes { downcast<RenderListMarker>(childRenderer).isInside() ? Layout::Box::ElementType::InsideListMarker : Layout::Box::ElementType::OutsideListMarker }, WTFMove(style), WTFMove(firstLineStyle));
+
if (is<RenderBlock>(childRenderer)) {
auto attributes = Layout::Box::ElementAttributes { Layout::Box::ElementType::IntegrationInlineBlock };
- if (is<RenderDetailsMarker>(childRenderer)) {
- // Details marker is not a real inline-block box.
+ if (is<RenderDetailsMarker>(childRenderer) || is<RenderListItem>(childRenderer))
attributes = Layout::Box::ElementAttributes { Layout::Box::ElementType::GenericElement };
- }
return makeUnique<Layout::ReplacedBox>(attributes, WTFMove(style), WTFMove(firstLineStyle));
}
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -35,6 +35,8 @@
#include "RenderImage.h"
#include "RenderInline.h"
#include "RenderLineBreak.h"
+#include "RenderListItem.h"
+#include "RenderListMarker.h"
#include "RenderMultiColumnFlow.h"
#include "RenderTextControl.h"
#include "RenderView.h"
@@ -194,6 +196,9 @@
case AvoidanceReason::BoxDecorationBreakClone:
stream << "webkit-box-decoration-break: clone";
break;
+ case AvoidanceReason::FlowIsUnsupportedListItem:
+ stream << "list item with text-indent";
+ break;
default:
break;
}
@@ -497,6 +502,15 @@
return reasons;
}
+ if (is<RenderListItem>(child)) {
+ if (child.style().textIndent().value() || !child.style().isHorizontalWritingMode() || !child.style().isLeftToRightDirection() || child.isPositioned() || child.isFloating())
+ SET_REASON_AND_RETURN_IF_NEEDED(FlowIsUnsupportedListItem, reasons, includeReasons);
+ return reasons;
+ }
+
+ if (is<RenderListMarker>(child) && is<RenderListItem>(child.parent()) && !is<RenderListMarker>(child.nextSibling()))
+ return reasons;
+
if (is<RenderBlockFlow>(child)) {
auto& block = downcast<RenderBlockFlow>(child);
if (!block.isReplacedOrInlineBlock() || !block.isInline())
@@ -571,6 +585,8 @@
}
if (flow.isRubyText() || flow.isRubyBase())
SET_REASON_AND_RETURN_IF_NEEDED(ContentIsRuby, reasons, includeReasons);
+ if (is<RenderListItem>(flow) && (flow.style().textIndent().value() || !flow.style().isHorizontalWritingMode() || !flow.style().isLeftToRightDirection() || flow.isPositioned() || flow.isFloating()))
+ SET_REASON_AND_RETURN_IF_NEEDED(FlowIsUnsupportedListItem, reasons, includeReasons);
if (!flow.style().hangingPunctuation().isEmpty())
SET_REASON_AND_RETURN_IF_NEEDED(FlowHasHangingPunctuation, reasons, includeReasons);
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h (291133 => 291134)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -99,7 +99,7 @@
UnsupportedImageMap = 1LLU << 58,
InlineBoxNeedsLayer = 1LLU << 59,
BoxDecorationBreakClone = 1LLU << 60,
- // Unused = 1LLU << 61,
+ FlowIsUnsupportedListItem = 1LLU << 61,
EndOfReasons = 1LLU << 62
};
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp (291133 => 291134)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -155,6 +155,25 @@
updateLayoutBoxDimensions(inlineBlock);
}
+void LineLayout::updateListItemDimensions(const RenderListItem& listItem)
+{
+ updateLayoutBoxDimensions(listItem);
+}
+
+void LineLayout::updateListMarkerDimensions(const RenderListMarker& listMarker)
+{
+ updateLayoutBoxDimensions(listMarker);
+
+ auto& layoutBox = m_boxTree.layoutBoxForRenderer(listMarker);
+ if (layoutBox.isOutsideListMarker()) {
+ auto& rootGeometry = m_layoutState.geometryForRootBox();
+ auto& listMarkerGeometry = m_inlineFormattingState.boxGeometry(layoutBox);
+ auto horizontalMargin = listMarkerGeometry.horizontalMargin();
+ auto outsideOffset = rootGeometry.paddingStart().value_or(0_lu) + rootGeometry.borderStart();
+ listMarkerGeometry.setHorizontalMargin({ horizontalMargin.start - outsideOffset, horizontalMargin.end + outsideOffset });
+ }
+}
+
static inline LayoutUnit contentLogicalWidthForRenderer(const RenderBox& renderer)
{
return renderer.parent()->style().isHorizontalWritingMode() ? renderer.contentWidth() : renderer.contentHeight();
@@ -264,11 +283,12 @@
replacedBoxGeometry.setPadding(logicalPadding(replacedOrInlineBlock, isLeftToRightInlineDirection, writingMode));
auto hasNonSyntheticBaseline = [&] {
+ if (is<RenderListMarker>(replacedOrInlineBlock))
+ return !downcast<RenderListMarker>(replacedOrInlineBlock).isImage();
if (is<RenderReplaced>(replacedOrInlineBlock)
|| is<RenderListBox>(replacedOrInlineBlock)
|| is<RenderSlider>(replacedOrInlineBlock)
|| is<RenderTextControlMultiLine>(replacedOrInlineBlock)
- || is<RenderListMarker>(replacedOrInlineBlock)
#if ENABLE(ATTACHMENT_ELEMENT)
|| is<RenderAttachment>(replacedOrInlineBlock)
#endif
@@ -282,6 +302,10 @@
}();
if (hasNonSyntheticBaseline) {
auto baseline = replacedOrInlineBlock.baselinePosition(AlphabeticBaseline, false /* firstLine */, writingMode == WritingMode::TopToBottom ? HorizontalLine : VerticalLine, PositionOnContainingLine);
+ if (is<RenderListMarker>(replacedOrInlineBlock)) {
+ ASSERT(!downcast<RenderListMarker>(replacedOrInlineBlock).isImage());
+ baseline = replacedOrInlineBlock.style().metricsOfPrimaryFont().ascent();
+ }
replacedBox.setBaseline(roundToInt(baseline));
}
}
@@ -338,7 +362,6 @@
return;
prepareLayoutState();
- updateFormattingRootGeometryAndInvalidate();
prepareFloatingState();
// FIXME: Do not clear the lines and boxes here unconditionally, but consult with the damage object instead.
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.h (291133 => 291134)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -48,6 +48,8 @@
class RenderBoxModelObject;
class RenderInline;
class RenderLineBreak;
+class RenderListItem;
+class RenderListMarker;
struct PaintInfo;
namespace Layout {
@@ -75,10 +77,13 @@
bool shouldSwitchToLegacyOnInvalidation() const;
+ void updateFormattingRootGeometryAndInvalidate();
void updateReplacedDimensions(const RenderBox&);
void updateInlineBlockDimensions(const RenderBlock&);
void updateLineBreakBoxDimensions(const RenderLineBreak&);
void updateInlineBoxDimensions(const RenderInline&);
+ void updateListItemDimensions(const RenderListItem&);
+ void updateListMarkerDimensions(const RenderListMarker&);
void updateStyle(const RenderBoxModelObject&, const RenderStyle& oldStyle);
std::pair<LayoutUnit, LayoutUnit> computeIntrinsicWidthConstraints();
@@ -124,7 +129,6 @@
private:
void prepareLayoutState();
- void updateFormattingRootGeometryAndInvalidate();
void prepareFloatingState();
void constructContent();
InlineContent& ensureInlineContent();
Modified: trunk/Source/WebCore/layout/layouttree/LayoutBox.h (291133 => 291134)
--- trunk/Source/WebCore/layout/layouttree/LayoutBox.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/layout/layouttree/LayoutBox.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -52,6 +52,8 @@
TableBox, // The table box is a block-level box that contains the table's internal table boxes.
Image,
IFrame,
+ InsideListMarker,
+ OutsideListMarker,
IntegrationBlockContainer,
IntegrationInlineBlock, // Integration sets up inline-block boxes as replaced boxes.
GenericElement
@@ -139,6 +141,9 @@
bool isFlexItem() const;
bool isIFrame() const { return m_elementAttributes && m_elementAttributes.value().elementType == ElementType::IFrame; }
bool isImage() const { return m_elementAttributes && m_elementAttributes.value().elementType == ElementType::Image; }
+ bool isListMarker() const { return m_elementAttributes && (m_elementAttributes.value().elementType == ElementType::InsideListMarker || m_elementAttributes.value().elementType == ElementType::OutsideListMarker); }
+ bool isInsideListMarker() const { return m_elementAttributes && m_elementAttributes.value().elementType == ElementType::InsideListMarker; }
+ bool isOutsideListMarker() const { return m_elementAttributes && m_elementAttributes.value().elementType == ElementType::OutsideListMarker; }
bool isInternalRubyBox() const { return false; }
bool isIntegrationBlockContainer() const { return m_elementAttributes && m_elementAttributes.value().elementType == ElementType::IntegrationBlockContainer; }
bool isIntegrationRoot() const { return isIntegrationBlockContainer() && !m_parent; }
Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (291133 => 291134)
--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp 2022-03-10 22:51:11 UTC (rev 291134)
@@ -3583,6 +3583,7 @@
}
auto& layoutFormattingContextLineLayout = *this->modernLineLayout();
+ layoutFormattingContextLineLayout.updateFormattingRootGeometryAndInvalidate();
for (auto walker = InlineWalker(*this); !walker.atEnd(); walker.advance()) {
auto& renderer = *walker.current();
@@ -3598,6 +3599,18 @@
layoutFormattingContextLineLayout.updateReplacedDimensions(replaced);
continue;
}
+ if (is<RenderListMarker>(renderer)) {
+ auto& marker = downcast<RenderListMarker>(renderer);
+ marker.layoutIfNeeded();
+ layoutFormattingContextLineLayout.updateListMarkerDimensions(marker);
+ continue;
+ }
+ if (is<RenderListItem>(renderer)) {
+ auto& listItem = downcast<RenderListItem>(renderer);
+ listItem.layoutIfNeeded();
+ layoutFormattingContextLineLayout.updateListItemDimensions(listItem);
+ continue;
+ }
if (is<RenderBlock>(renderer)) {
auto& block = downcast<RenderBlock>(renderer);
block.layoutIfNeeded();
Modified: trunk/Source/WebCore/rendering/RenderListMarker.h (291133 => 291134)
--- trunk/Source/WebCore/rendering/RenderListMarker.h 2022-03-10 22:17:30 UTC (rev 291133)
+++ trunk/Source/WebCore/rendering/RenderListMarker.h 2022-03-10 22:51:11 UTC (rev 291134)
@@ -46,6 +46,8 @@
void updateMarginsAndContent();
void addOverflowFromListMarker();
+ bool isImage() const final;
+
private:
void willBeDestroyed() final;
const char* renderName() const final { return "RenderListMarker"; }
@@ -58,7 +60,6 @@
std::unique_ptr<LegacyInlineElementBox> createInlineBox() final;
LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode) const final;
LayoutUnit baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode) const final;
- bool isImage() const final;
LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent) final;
bool canBeSelectionLeaf() const final { return true; }
void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;