Add full support for the CSS text-transform property following the established pattern for inherited text properties (white-space, letter-spacing). The transform is applied after whitespace normalization and before text measurement in box tree construction. Key design decisions: - Uses Cow<str> return type to avoid allocations for the common None case - Capitalize uses whitespace-only word boundaries (matching browser behavior) - Applied to all text content paths: text nodes, pseudo-elements, form controls - 10 WPT tests promoted to pass, 3 shaping tests demoted (pixel mismatch) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
403 B
403 B