Files
rust_browser/tests/goldens/expected/093-dashed-borders.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.1 KiB
Plaintext

DisplayList items=12
Border rect=(0, 0, 800, 64.4) widths=(1 0 1 0) colors=(#00ff00e6 #000000 #00ff00e6 #000000) styles=(dashed none dashed none)
Text rect=(-8.417034, 13, 4.4170337, 16) text="•" color=#000000 font_size=16
Text rect=(-8.417034, 32.2, 4.4170337, 16) text="•" color=#000000 font_size=16
Border rect=(10, 74.4, 780, 43.200005) widths=(2 0 2 0) colors=(#ff0000 #000000 #0000ff #000000) styles=(dashed none dotted none)
Text rect=(0, 14.6, 23.024963, 16) text="Test" color=#000000 font_size=16
Text rect=(26.079296, 14.6, 6.71953, 16) text="1" color=#000000 font_size=16
Text rect=(0, 33.800003, 23.024963, 16) text="Test" color=#000000 font_size=16
Text rect=(26.079296, 33.800003, 6.71953, 16) text="2" color=#000000 font_size=16
Text rect=(20, 88, 41.903084, 16) text="Dashed" color=#000000 font_size=16
Text rect=(64.95741, 88, 21.720999, 16) text="top," color=#000000 font_size=16
Text rect=(89.73274, 88, 36.66373, 16) text="dotted" color=#000000 font_size=16
Text rect=(129.4508, 88, 40.90455, 16) text="bottom" color=#000000 font_size=16