Add CssValue::Unset variant with proper cascade semantics: acts as inherit for inherited properties, initial for non-inherited. Fix unset/inherit/initial handling in font, list-style, and text-decoration shorthand expansion. Add unset handling to both pseudo-element code paths. Promote WPT test wpt-css-css2-normal-flow-inlines-002 (now passes with font shorthand fix). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 47.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#10 tag=body box=block
|
|
content: (8, 20, 784, 19.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#12 tag=div box=block
|
|
content: (8, 20, 784, 19.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 20 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=87.1072
|
|
line[0]: rect=(704.8928, 20, 87.1072, 19.2) fragments=2
|
|
frag[0]: rect=(704.8928, 21.6, 32.34068, 16) text="Unset" start=true end=false
|
|
frag[1]: rect=(740.28784, 21.6, 48.657856, 16) text="behavior" start=false end=true
|
|
LayoutBox node=#13 tag=anonymous box=anon
|
|
content: (0, -8, 3.0543318, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " "
|
|
LayoutBox node=#14 tag=div box=inline
|
|
content: (0, -8, 0, 0)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#15 tag=anonymous box=anon
|
|
content: (0, -8, 84.05287, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Unset behavior"
|
|
LayoutBox node=#16 tag=anonymous box=anon
|
|
content: (0, -8, 3.0543318, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " "
|