Add full support for the border-radius CSS property (circular radii): - Parse border-radius shorthand (1-4 values) and longhand properties - Compute border-radius values with length, percentage, and calc support - Propagate specified radii through layout with deferred resolution - Thread CornerRadii through all display list items (Border, SolidRect, LinearGradient, BackgroundImage) - Rasterize rounded borders and backgrounds using per-pixel circle tests - Clamp radii per CSS §5.5 proportional scaling when they exceed box dimensions - Add 5 golden tests (basic, per-corner, circle, clamping, no-border) - Add 44 unit tests across shared, css, style, layout, and render crates - Update WPT manifest (+5 net passing border-radius tests) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
496 B
Plaintext
18 lines
496 B
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 126)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#10 tag=body box=block
|
|
content: (8, 8, 784, 110)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#12 tag=div box=block
|
|
content: (13, 13, 100, 100)
|
|
padding: 0 0 0 0
|
|
border: 5 5 5 5
|
|
margin: 0 0 0 0
|
|
border-radius: (10.00, 10.00, 10.00, 10.00)
|
|
inline_context: 0 lines, height=0, max_width=0
|