Files
rust_browser/tests/goldens/expected/250-border-style-3d.dl.txt
Zachary D. Rowitsch dd03466e63
All checks were successful
ci / fast (linux) (push) Successful in 6m38s
Implement CSS 2.1 outline properties and border style golden tests with code review fixes (§8.5, §18.4)
Add full outline support (outline-style, outline-width, outline-color, outline-offset, outline
shorthand) following the CSS property pipeline: parse → style → layout → display list → rasterize.
Verify all 10 border styles are fully implemented and add 6 golden tests (249-254) covering double
borders, 3D border styles, mixed styles, and outline variations.

Code review fixes: correct outline paint order to CSS 2.1 Appendix E step 10 (after content, not
between borders and content), handle outline-width thin/medium/thick keywords in computed styles,
fix Outline display item format consistency (Display vs Debug), guard against negative outline-offset
producing invalid rects, add missing tests for outline-color invert and keyword width resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 01:18:45 -04:00

14 lines
1.0 KiB
Plaintext

DisplayList items=12
SolidRect rect=(18, 10, 92, 42) color=#dddddd
Border rect=(18, 10, 92, 42) widths=(6 6 6 6) colors=(#888888 #888888 #888888 #888888) styles=(groove groove groove groove)
SolidRect rect=(18, 62, 92, 42) color=#dddddd
Border rect=(18, 62, 92, 42) widths=(6 6 6 6) colors=(#888888 #888888 #888888 #888888) styles=(ridge ridge ridge ridge)
SolidRect rect=(18, 114, 92, 42) color=#dddddd
Border rect=(18, 114, 92, 42) widths=(6 6 6 6) colors=(#888888 #888888 #888888 #888888) styles=(inset inset inset inset)
SolidRect rect=(18, 166, 92, 42) color=#dddddd
Border rect=(18, 166, 92, 42) widths=(6 6 6 6) colors=(#888888 #888888 #888888 #888888) styles=(outset outset outset outset)
Text rect=(24, 17.6, 38.88399, 16) text="groove" color=#000000 font_size=16
Text rect=(24, 69.6, 28.957415, 16) text="ridge" color=#000000 font_size=16
Text rect=(24, 121.6, 26.78414, 16) text="inset" color=#000000 font_size=16
Text rect=(24, 173.6, 35.101322, 16) text="outset" color=#000000 font_size=16