Files
rust_browser/tests/goldens/expected/172-line-height-var.dl.txt
Zachary D. Rowitsch 51b732710a
All checks were successful
ci / fast (linux) (push) Successful in 6m49s
Fix line-height var() parsing, add inline-flex support, skip abspos in IFC
Three bug fixes that improve Wikipedia rendering:

1. Use property-aware parsing after var() substitution so `line-height: var(--lh)`
   with a unitless value like `1.6` is correctly interpreted as a multiplier
   (CssValue::Number) instead of 1.6px (CssValue::Length).

2. Handle inline-flex containers in inline formatting context by treating them
   as atomic inlines (matching InlineBlock and inline-grid patterns), and skip
   absolutely/fixed positioned elements in flatten_inline_tree_with_depth since
   they are out of normal flow.

3. Expand `overflow` as a shorthand property so dual-value syntax like
   `overflow: hidden auto` correctly sets overflow-x and overflow-y independently.

Also adds flex nested sizing fixes and promotes 21 WPT tests from known_fail to pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 18:34:16 -05:00

910 B