Files
rust_browser/tests/goldens/expected/040-multiple-anchors.dl.txt
Zachary D. Rowitsch 115fc98416 Add text-decoration rendering (underline, line-through, overline)
Implement the text-decoration CSS property across the full pipeline:
parsing, style computation, layout threading, and display list rendering.
Decoration lines are rendered as SolidRect display items using the text
color, with positions computed from font metrics and baseline offsets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 20:45:51 -05:00

15 lines
1.0 KiB
Plaintext

DisplayList items=13
Text rect=(8, 24, 22.977974, 16) text="Visit" color=#000000 font_size=16
Text rect=(34.032307, 24, 20.34655, 16) text="Site" color=#0000ee font_size=16
SolidRect rect=(34.032307, 38.843716, 20.34655, 1.1428572) color=#0000ee
Text rect=(57.43319, 24, 23.060205, 16) text="One" color=#0000ee font_size=16
SolidRect rect=(57.43319, 38.843716, 23.060205, 1.1428572) color=#0000ee
Text rect=(83.54772, 24, 21.07489, 16) text="and" color=#000000 font_size=16
Text rect=(107.67694, 24, 20.34655, 16) text="Site" color=#0000ee font_size=16
SolidRect rect=(107.67694, 38.843716, 20.34655, 1.1428572) color=#0000ee
Text rect=(131.07784, 24, 22.872246, 16) text="Two" color=#0000ee font_size=16
SolidRect rect=(131.07784, 38.843716, 22.872246, 1.1428572) color=#0000ee
Text rect=(157.00441, 24, 16, 16) text="for" color=#000000 font_size=16
Text rect=(176.05875, 24, 29.568281, 16) text="more" color=#000000 font_size=16
Text rect=(208.68137, 24, 24.587372, 16) text="info." color=#000000 font_size=16