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>
147 lines
6.3 KiB
Plaintext
147 lines
6.3 KiB
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 165.2)
|
|
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, 165.2)
|
|
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, 300, 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=134.67255
|
|
line[0]: rect=(0, 0, 134.67255, 19.2) fragments=3
|
|
frag[0]: rect=(0, 1.6000004, 61.721, 16) text="Underlined" start=false end=false
|
|
frag[1]: rect=(64.77533, 1.6000004, 21.321585, 16) text="text" start=false end=false
|
|
frag[2]: rect=(89.151245, 1.6000004, 45.521294, 16) text="content." start=false end=false
|
|
LayoutBox node=#13 tag=anonymous box=anon
|
|
content: (0, 0, 134.67253, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Underlined text cont..."
|
|
LayoutBox node=#15 tag=div box=block
|
|
content: (0, 29.2, 300, 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=119.51835
|
|
line[0]: rect=(0, 29.2, 119.51835, 19.2) fragments=3
|
|
frag[0]: rect=(0, 30.800001, 46.56681, 16) text="Overline" start=false end=false
|
|
frag[1]: rect=(49.621143, 30.800001, 21.321585, 16) text="text" start=false end=false
|
|
frag[2]: rect=(73.997055, 30.800001, 45.521294, 16) text="content." start=false end=false
|
|
LayoutBox node=#16 tag=anonymous box=anon
|
|
content: (0, 0, 119.51833, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Overline text conten..."
|
|
LayoutBox node=#18 tag=div box=block
|
|
content: (0, 58.4, 300, 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=145.01028
|
|
line[0]: rect=(0, 58.4, 145.01028, 19.2) fragments=3
|
|
frag[0]: rect=(0, 60, 72.05874, 16) text="Line-through" start=false end=false
|
|
frag[1]: rect=(75.11307, 60, 21.321585, 16) text="text" start=false end=false
|
|
frag[2]: rect=(99.48898, 60, 45.521294, 16) text="content." start=false end=false
|
|
LayoutBox node=#19 tag=anonymous box=anon
|
|
content: (0, 0, 145.01028, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Line-through text co..."
|
|
LayoutBox node=#21 tag=div box=block
|
|
content: (0, 87.600006, 300, 19.199997)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 10 0
|
|
inline_context: 1 lines, height=19.199997, max_width=181.73274
|
|
line[0]: rect=(0, 87.600006, 181.73274, 19.2) fragments=4
|
|
frag[0]: rect=(0, 89.200005, 26.24376, 16) text="Both" start=false end=false
|
|
frag[1]: rect=(29.298092, 89.200005, 53.16887, 16) text="underline" start=false end=false
|
|
frag[2]: rect=(85.52129, 89.200005, 21.07489, 16) text="and" start=false end=false
|
|
frag[3]: rect=(109.65051, 89.200005, 72.08223, 16) text="line-through." start=false end=false
|
|
LayoutBox node=#22 tag=anonymous box=anon
|
|
content: (0, 0, 181.73276, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Both underline and l..."
|
|
LayoutBox node=#24 tag=div box=block
|
|
content: (0, 116.8, 300, 19.199997)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 10 0
|
|
inline_context: 1 lines, height=19.199997, max_width=232.99852
|
|
line[0]: rect=(0, 116.8, 232.99852, 19.2) fragments=5
|
|
frag[0]: rect=(0, 118.4, 36.675476, 16) text="Parent" start=false end=false
|
|
frag[1]: rect=(39.72981, 118.4, 26.18502, 16) text="child" start=true end=false
|
|
frag[2]: rect=(68.969154, 118.4, 41.92658, 16) text="inherits" start=false end=false
|
|
frag[3]: rect=(113.950066, 118.4, 53.16887, 16) text="underline" start=false end=true
|
|
frag[4]: rect=(170.17326, 118.4, 62.825256, 16) text="decoration." start=false end=false
|
|
LayoutBox node=#25 tag=anonymous box=anon
|
|
content: (0, 0, 39.72981, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Parent "
|
|
LayoutBox node=#26 tag=span box=inline
|
|
content: (0, 0, 0, 0)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#27 tag=anonymous box=anon
|
|
content: (0, 0, 127.38912, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "child inherits under..."
|
|
LayoutBox node=#28 tag=anonymous box=anon
|
|
content: (0, 0, 65.87959, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " decoration."
|
|
LayoutBox node=#30 tag=div box=block
|
|
content: (0, 146, 300, 19.199997)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.199997, max_width=187.11307
|
|
line[0]: rect=(0, 146, 187.11307, 19.2) fragments=6
|
|
frag[0]: rect=(0, 147.6, 36.675476, 16) text="Parent" start=false end=false
|
|
frag[1]: rect=(39.72981, 147.6, 26.18502, 16) text="child" start=true end=false
|
|
frag[2]: rect=(68.969154, 147.6, 23.765053, 16) text="with" start=false end=false
|
|
frag[3]: rect=(95.788536, 147.6, 28.252571, 16) text="none" start=false end=true
|
|
frag[4]: rect=(127.095436, 147.6, 18.960354, 16) text="still" start=false end=false
|
|
frag[5]: rect=(149.11012, 147.6, 38.002937, 16) text="shows." start=false end=false
|
|
LayoutBox node=#31 tag=anonymous box=anon
|
|
content: (0, 0, 39.72981, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Parent "
|
|
LayoutBox node=#32 tag=span box=inline
|
|
content: (0, 0, 0, 0)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#33 tag=anonymous box=anon
|
|
content: (0, 0, 84.3113, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "child with none"
|
|
LayoutBox node=#34 tag=anonymous box=anon
|
|
content: (0, 0, 63.071953, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " still shows."
|