Files
rust_browser/tests/goldens/expected/270-inherit-inherited-property.layout.txt
Zachary D. Rowitsch 85db5e559f Implement CSS 2.1 inheritance completeness with code review fixes (§6.2, §6.2.1, §6.2.4)
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>
2026-03-14 12:19:51 -04:00

31 lines
1.1 KiB
Plaintext

LayoutBox node=#2 tag=html box=block
content: (0, 0, 800, 44.800003)
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, 28.800003)
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, 784, 28.800003)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#14 tag=div box=block
content: (8, 8, 784, 28.800003)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
inline_context: 1 lines, height=28.800003, max_width=113.21586
line[0]: rect=(8, 8, 113.21586, 28.800001) fragments=2
frag[0]: rect=(8, 10.4, 76.651985, 24) text="Inherited" start=false end=false
frag[1]: rect=(89.23348, 10.4, 31.982376, 24) text="text" start=false end=false
LayoutBox node=#15 tag=anonymous box=anon
content: (0, 0, 113.215866, 24)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "Inherited text"