Features: - Add Dashed and Dotted variants to BorderStyle enum - Parse dashed/dotted keywords in border-style property - Add rgb()/rgba() color function parsing with percentage support - Add border-top/right/bottom/left shorthand property parsing - Support CSS variables in border shorthand properties - Implement dashed and dotted border rendering Bug fixes: - RGB percentage handling (50% -> 128) - Alpha channel precision (use rounding, 0.9 -> 230) - RGB value overflow protection (clamp to 0-255) - Dashed pattern alignment (use border-relative coordinates) - Invalid unit rejection in color functions (rgb(10px,...)) - Consistent duplicate value handling in border shorthands Tests: - Add golden test 093-dashed-borders for CSS variable border example - Add unit test for dashed pattern alignment fix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
577 B
577 B