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>
104 lines
5.5 KiB
Plaintext
104 lines
5.5 KiB
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 145.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, 145.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, 200, 38.4)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 10 0
|
|
inline_context: 2 lines, height=38.4, max_width=189.75626
|
|
line[0]: rect=(0, 0, 189.75626, 19.2) fragments=5
|
|
frag[0]: rect=(40, 1.6000004, 42.73715, 16) text="Positive" start=false end=false
|
|
frag[1]: rect=(85.79148, 1.6000004, 35.641705, 16) text="indent" start=false end=false
|
|
frag[2]: rect=(124.48751, 1.6000004, 14.367107, 16) text="on" start=false end=false
|
|
frag[3]: rect=(141.90895, 1.6000004, 21.791481, 16) text="first" start=false end=false
|
|
frag[4]: rect=(166.75478, 1.6000004, 19.947138, 16) text="line" start=false end=false
|
|
line[1]: rect=(0, 19.2, 163.74744, 19.2) fragments=5
|
|
frag[0]: rect=(0, 20.800001, 26.537447, 16) text="only," start=false end=false
|
|
frag[1]: rect=(29.591778, 20.800001, 18.126286, 16) text="the" start=false end=false
|
|
frag[2]: rect=(50.772396, 20.800001, 21.345081, 16) text="rest" start=false end=false
|
|
frag[3]: rect=(75.17181, 20.800001, 33.527164, 16) text="wraps" start=false end=false
|
|
frag[4]: rect=(111.7533, 20.800001, 51.994125, 16) text="normally." start=false end=false
|
|
LayoutBox node=#13 tag=anonymous box=anon
|
|
content: (0, 0, 313.50366, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Positive indent on f..."
|
|
LayoutBox node=#15 tag=div box=block
|
|
content: (30, 48.4, 200, 38.4)
|
|
padding: 0 0 0 30
|
|
border: 0 0 0 0
|
|
margin: 0 0 10 0
|
|
inline_context: 2 lines, height=38.4, max_width=172.78708
|
|
line[0]: rect=(30, 48.4, 172.78708, 19.2) fragments=5
|
|
frag[0]: rect=(10, 50, 49.23348, 16) text="Negative" start=false end=false
|
|
frag[1]: rect=(62.28781, 50, 35.641705, 16) text="indent" start=false end=false
|
|
frag[2]: rect=(100.98385, 50, 40.199703, 16) text="creates" start=false end=false
|
|
frag[3]: rect=(144.23788, 50, 6.590308, 16) text="a" start=false end=false
|
|
frag[4]: rect=(153.88252, 50, 45.85022, 16) text="hanging" start=false end=false
|
|
line[1]: rect=(30, 67.600006, 139.70044, 19.2) fragments=5
|
|
frag[0]: rect=(30, 69.200005, 35.641705, 16) text="indent" start=false end=false
|
|
frag[1]: rect=(68.69604, 69.200005, 31.212921, 16) text="effect" start=false end=false
|
|
frag[2]: rect=(102.96329, 69.200005, 16, 16) text="for" start=false end=false
|
|
frag[3]: rect=(122.01762, 69.200005, 20.15859, 16) text="this" start=false end=false
|
|
frag[4]: rect=(145.23055, 69.200005, 24.469896, 16) text="text." start=false end=false
|
|
LayoutBox node=#16 tag=anonymous box=anon
|
|
content: (0, 0, 332.4875, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Negative indent crea..."
|
|
LayoutBox node=#18 tag=div box=block
|
|
content: (0, 96.8, 400, 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=376.08224
|
|
line[0]: rect=(0, 96.8, 376.08224, 19.2) fragments=9
|
|
frag[0]: rect=(40, 98.4, 62.790016, 16) text="Percentage" start=false end=false
|
|
frag[1]: rect=(105.844345, 98.4, 35.641705, 16) text="indent" start=false end=false
|
|
frag[2]: rect=(144.54039, 98.4, 45.46255, 16) text="resolves" start=false end=false
|
|
frag[3]: rect=(193.05728, 98.4, 11.348018, 16) text="to" start=false end=false
|
|
frag[4]: rect=(207.45964, 98.4, 23.201176, 16) text="10%" start=false end=false
|
|
frag[5]: rect=(233.71515, 98.4, 11.148312, 16) text="of" start=false end=false
|
|
frag[6]: rect=(247.9178, 98.4, 58.643173, 16) text="containing" start=false end=false
|
|
frag[7]: rect=(309.6153, 98.4, 29.274597, 16) text="block" start=false end=false
|
|
frag[8]: rect=(341.9442, 98.4, 34.13803, 16) text="width." start=false end=false
|
|
LayoutBox node=#19 tag=anonymous box=anon
|
|
content: (0, 0, 336.08224, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Percentage indent re..."
|
|
LayoutBox node=#21 tag=div box=block
|
|
content: (0, 126, 300, 19.199997)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#22 tag=div box=block
|
|
content: (0, 126, 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=236.27753
|
|
line[0]: rect=(0, 126, 236.27753, 19.2) fragments=5
|
|
frag[0]: rect=(25, 127.6, 51.101322, 16) text="Inherited" start=false end=false
|
|
frag[1]: rect=(79.15565, 127.6, 35.641705, 16) text="indent" start=false end=false
|
|
frag[2]: rect=(117.85168, 127.6, 26.983847, 16) text="from" start=false end=false
|
|
frag[3]: rect=(147.88986, 127.6, 36.79295, 16) text="parent" start=false end=false
|
|
frag[4]: rect=(187.73715, 127.6, 48.54038, 16) text="element." start=false end=false
|
|
LayoutBox node=#23 tag=anonymous box=anon
|
|
content: (0, 0, 211.27754, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Inherited indent fro..."
|