Files
rust_browser/tests/external/wpt/expected/wpt-layout-overflow-hidden.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
803 B
Plaintext

DisplayList items=12
Border rect=(0, 0, 82, 22) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000) styles=(solid solid solid solid)
PushClip rect=(1, 1, 80, 20)
PopClip
PushClip rect=(1, 1, 80, 20)
Text rect=(1, 2.6000004, 20.15859, 16) text="this" color=#000000 font_size=16
Text rect=(24.212921, 2.6000004, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(48.58884, 2.6000004, 8.657856, 16) text="is" color=#000000 font_size=16
Text rect=(1, 21.800001, 36.099854, 16) text="longer" color=#000000 font_size=16
Text rect=(40.154186, 21.800001, 25.350954, 16) text="than" color=#000000 font_size=16
Text rect=(1, 41, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(22.180618, 41, 20.546255, 16) text="box" color=#000000 font_size=16
PopClip