Files
rust_browser/tests/goldens/expected/042-nested-anchor.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

10 lines
629 B
Plaintext

DisplayList items=8
Text rect=(8, 8, 39.27166, 16) text="Nested" color=#ff0000 font_size=16
SolidRect rect=(8, 22.843718, 39.27166, 1.1428572) color=#ff0000
Text rect=(50.325993, 8, 42.372982, 16) text="content" color=#ff0000 font_size=16
SolidRect rect=(50.325993, 22.843718, 42.372982, 1.1428572) color=#ff0000
Text rect=(95.7533, 8, 10.290749, 16) text="in" color=#0000ee font_size=16
SolidRect rect=(95.7533, 22.843718, 10.290749, 1.1428572) color=#0000ee
Text rect=(109.09838, 8, 19.594715, 16) text="link" color=#0000ee font_size=16
SolidRect rect=(109.09838, 22.843718, 19.594715, 1.1428572) color=#0000ee