Files
rust_browser/tests/goldens/expected/258-direction-rtl.layout.txt
Zachary D. Rowitsch 0c082579ba Implement CSS 2.1 text properties with code review fixes (§16.1, §16.3, §16.4, §9.10)
Implement word-spacing, text-indent verification, text-decoration completeness,
direction, and unicode-bidi properties. Code review fixes include adding
TextAlign::Start variant for correct direction-dependent initial value and
consolidating duplicate layout_html() test helpers across 12 files into a
shared tests::common module.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 09:19:07 -04:00

61 lines
2.7 KiB
Plaintext

LayoutBox node=#2 tag=html box=block
content: (0, 0, 800, 97.600006)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#10 tag=body box=block
content: (0, 0, 800, 87.600006)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#12 tag=div box=block
content: (0, 0, 400, 19.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 10 0
inline_context: 1 lines, height=19.2, max_width=153.40968
line[0]: rect=(0, 0, 153.40968, 19.2) fragments=3
frag[0]: rect=(0, 1.6000004, 66.584435, 16) text="Left-to-right" start=false end=false
frag[1]: rect=(69.63876, 1.6000004, 21.321585, 16) text="text" start=false end=false
frag[2]: rect=(94.01468, 1.6000004, 59.395004, 16) text="alignment." start=false end=false
LayoutBox node=#13 tag=anonymous box=anon
content: (0, 0, 153.4097, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "Left-to-right text a..."
LayoutBox node=#15 tag=div box=block
content: (0, 29.2, 400, 19.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 10 0
inline_context: 1 lines, height=19.2, max_width=152.74008
line[0]: rect=(247.25992, 29.2, 152.74008, 19.2) fragments=3
frag[0]: rect=(247.25992, 30.800001, 65.91483, 16) text="Right-to-left" start=false end=false
frag[1]: rect=(316.22906, 30.800001, 21.321585, 16) text="text" start=false end=false
frag[2]: rect=(340.60498, 30.800001, 59.395004, 16) text="alignment." start=false end=false
LayoutBox node=#16 tag=anonymous box=anon
content: (0, 0, 152.7401, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "Right-to-left text a..."
LayoutBox node=#18 tag=div box=block
content: (0, 58.4, 400, 19.200005)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 10 0
inline_context: 1 lines, height=19.200005, max_width=189.65051
line[0]: rect=(105.17474, 58.4, 189.65051, 19.2) fragments=5
frag[0]: rect=(105.17474, 60, 19.994125, 16) text="RTL" start=false end=false
frag[1]: rect=(128.2232, 60, 23.765053, 16) text="with" start=false end=false
frag[2]: rect=(155.04259, 60, 39.036713, 16) text="explicit" start=false end=false
frag[3]: rect=(197.13364, 60, 35.24229, 16) text="center" start=false end=false
frag[4]: rect=(235.43025, 60, 59.395004, 16) text="alignment." start=false end=false
LayoutBox node=#19 tag=anonymous box=anon
content: (0, 0, 189.65051, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "RTL with explicit ce..."