b749bb9b74
ci / fast (linux) (push) Waiting to run
The ch measurement previously ran only in the main element loop, so ::before/::after/::first-line/::first-letter fell back to the 0.5em approximation for `ch`. Factor "resolve font longhands early + measure the 0 advance" into a shared `resolve_fonts_and_measure_ch` helper and call it from the main cascade, compute_pseudo_styles, and apply_pseudo_declarations (which backs ::first-line/::first-letter). The Pass-3 skip of those longhands now goes through a shared `is_early_font_longhand` predicate. Net: removes the duplicated early-pass logic the main loop carried and closes the pseudo-element gap. text-wrap-balance-before-after-002 draws its text via `content:` generated content; with accurate ch now applied to both the test and reference pseudo-elements, they align within reftest tolerance. This reverts the demote from the previous commit — the failure was pseudo-element ch, not text-wrap:balance as first attributed. WPT 1747 -> 1748, failures=0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>