All checks were successful
ci / fast (linux) (push) Successful in 7m2s
Three display list / layout bugs fixed:
1. Float+stacking-context elements were invisible ("triple skip"):
collect_stacking_participants unconditionally skipped all floats,
even those creating stacking contexts. Now only skips simple floats.
(CSS 2.1 Appendix E steps 2/7)
2. Abs-pos inline children inside IFCs were never laid out or rendered:
- Layout: FormattingContext::Inline now collects abs-pos/fixed children
into pending_absolutes for deferred layout
- Display list: render_non_inline_descendants renders abs-pos/fixed
inline children via render_layout_box_normal
3. Stacking context anonymous text children were double-painted:
render_stacking_context now skips Anonymous children when the parent
has an IFC (they're already rendered by the IFC fragment system)
Also adds guards against abs-pos inline + z-index double-render, and
promotes WPT test static-position-inline-level-absolute-in-block-level-
context-013 from known_fail to pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 216)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#10 tag=body box=block
|
|
content: (8, 8, 784, 200)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#12 tag=div box=block
|
|
content: (8, 8, 400, 200)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#14 tag=div box=block
|
|
content: (308, 8, 100, 100)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=49.656387
|
|
line[0]: rect=(308, 8, 49.656387, 19.2) fragments=1
|
|
frag[0]: rect=(308, 9.6, 49.656387, 16) text="Right+SC" start=false end=false
|
|
LayoutBox node=#15 tag=anonymous box=anon
|
|
content: (300, 0, 49.656387, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Right+SC"
|
|
LayoutBox node=#17 tag=div box=block
|
|
content: (8, 8, 200, 50)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=41.491924
|
|
line[0]: rect=(8, 8, 41.491924, 19.2) fragments=1
|
|
frag[0]: rect=(8, 9.6, 41.491924, 16) text="Normal" start=false end=false
|
|
LayoutBox node=#18 tag=anonymous box=anon
|
|
content: (0, 0, 41.491924, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Normal"
|