Files
rust_browser/tests/goldens/expected/089-table-text-wrap.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

17 lines
1.4 KiB
Plaintext

DisplayList items=15
Border rect=(8, 8, 200, 75.600006) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000) styles=(solid solid solid solid)
Border rect=(11, 11, 150.09103, 69.600006) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080) styles=(solid solid solid solid)
Border rect=(163.09103, 11, 41.90896, 69.600006) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080) styles=(solid solid solid solid)
Text rect=(17, 17, 22.449337, 16) text="This" color=#000000 font_size=16
Text rect=(42.50367, 17, 8.657856, 16) text="is" color=#000000 font_size=16
Text rect=(54.21586, 17, 6.590308, 16) text="a" color=#000000 font_size=16
Text rect=(63.8605, 17, 24.622616, 16) text="long" color=#000000 font_size=16
Text rect=(91.537445, 17, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(115.91336, 17, 22.331863, 16) text="that" color=#000000 font_size=16
Text rect=(17, 36.2, 37.509544, 16) text="should" color=#000000 font_size=16
Text rect=(57.563877, 36.2, 27.900146, 16) text="wrap" color=#000000 font_size=16
Text rect=(88.51835, 36.2, 32.798824, 16) text="inside" color=#000000 font_size=16
Text rect=(124.3715, 36.2, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(17, 55.4, 18.32599, 16) text="cell" color=#000000 font_size=16
Text rect=(169.09103, 17, 29.908957, 16) text="Short" color=#000000 font_size=16