Files
rust_browser/tests/goldens/fixtures/274-auto-inheritance-text-properties.html
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

15 lines
320 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.parent { text-indent: 30px; letter-spacing: 3px; text-transform: uppercase; }
.child { /* no explicit text properties — should inherit from parent */ }
</style>
</head>
<body>
<div class="parent">
<p class="child">Auto-inherited text props</p>
</div>
</body>
</html>