Files
rust_browser/tests/goldens/expected/166-box-sizing.dl.txt
Zachary D. Rowitsch d768ae25da Implement box-sizing CSS property (content-box / border-box)
Add box-sizing support across the rendering pipeline so that
width/height can refer to either the content-box (default) or the
border-box (content + padding + border). This is one of the most
commonly used CSS properties and is required by virtually every
modern CSS reset.

The implementation adjusts width/height resolution in block, flex,
grid, and table layout engines, and defaults tables to border-box
in the UA stylesheet to match Chrome/Firefox/Safari behavior.

Five previously-failing WPT tests now pass and are promoted in the
manifest.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:25:58 -05:00

8 lines
460 B
Plaintext

DisplayList items=6
SolidRect rect=(8, 8, 230, 130) color=#cccccc
Border rect=(8, 8, 230, 130) widths=(5 5 5 5) colors=(#000000 #000000 #000000 #000000)
Text rect=(23, 23, 66.70191, 16) text="content-box" color=#000000 font_size=16
SolidRect rect=(8, 138, 200, 100) color=#aaaaaa
Border rect=(8, 138, 200, 100) widths=(5 5 5 5) colors=(#000000 #000000 #000000 #000000)
Text rect=(23, 153, 62.21439, 16) text="border-box" color=#000000 font_size=16