Files
rust_browser/tests/goldens/expected/196-first-line-basic.dl.txt
Zachary D. Rowitsch 6ebf3f5b90 Implement ::first-line and ::first-letter CSS pseudo-elements
Add full rendering pipeline support for both pseudo-elements: style
computation with property filtering, ::first-letter box tree text
splitting, and ::first-line post-layout style overrides on first line
fragments. Promotes 2 WPT tests to pass and demotes 3 edge cases to
known_fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 23:45:54 -05:00

24 lines
1.8 KiB
Plaintext

DisplayList items=22
Text rect=(8, 25.6, 20.417034, 16) text="The" color=#ff0000 font_size=16
Text rect=(31.471367, 25.6, 21.791481, 16) text="first" color=#ff0000 font_size=16
Text rect=(56.31718, 25.6, 19.947138, 16) text="line" color=#ff0000 font_size=16
Text rect=(79.31865, 25.6, 11.148312, 16) text="of" color=#ff0000 font_size=16
Text rect=(93.52129, 25.6, 20.15859, 16) text="this" color=#ff0000 font_size=16
Text rect=(116.734215, 25.6, 58.408222, 16) text="paragraph" color=#ff0000 font_size=16
Text rect=(8, 44.800003, 37.509544, 16) text="should" color=#000000 font_size=16
Text rect=(48.563877, 44.800003, 13.85022, 16) text="be" color=#000000 font_size=16
Text rect=(65.46843, 44.800003, 21.85022, 16) text="red." color=#000000 font_size=16
Text rect=(90.37298, 44.800003, 20.417034, 16) text="The" color=#000000 font_size=16
Text rect=(113.84434, 44.800003, 21.345081, 16) text="rest" color=#000000 font_size=16
Text rect=(138.24376, 44.800003, 11.148312, 16) text="of" color=#000000 font_size=16
Text rect=(152.44641, 44.800003, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(173.62703, 44.800003, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(8, 64, 37.509544, 16) text="should" color=#000000 font_size=16
Text rect=(48.563877, 64, 13.85022, 16) text="be" color=#000000 font_size=16
Text rect=(65.46843, 64, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(86.64904, 64, 39.013214, 16) text="default" color=#000000 font_size=16
Text rect=(128.71658, 64, 27.735683, 16) text="color" color=#000000 font_size=16
Text rect=(159.5066, 64, 32.42291, 16) text="which" color=#000000 font_size=16
Text rect=(194.98386, 64, 8.657856, 16) text="is" color=#000000 font_size=16
Text rect=(8, 83.200005, 31.906021, 16) text="black." color=#000000 font_size=16