Implement checkbox rendering (13×13px box with ✓ text glyph when checked), radio buttons (circle with filled dot), label click delegation (for attribute and implicit wrapping), disabled state enforcement (blocks clicks/focus/submission with visual overlay), button type handling (submit/button/reset for both <button> and <input> variants), form data collection for checked controls, and form reset. Includes code review fixes: replaced broken SolidRect checkmark with text glyph, added disabled overlay for button/textarea, rewrote integration tests to verify actual behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
LayoutBox node=#1 tag=html box=block
|
|
content: (0, 0, 800, 37.158005)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#6 tag=body box=block
|
|
content: (8, 8, 784, 21.158003)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
inline_context: 1 lines, height=21.158003, max_width=50.108665
|
|
line[0]: rect=(8, 8, 50.108665, 21.158003) fragments=2
|
|
frag[0]: rect=(8, 8.158003, 22, 21) text=(none) start=false end=false
|
|
frag[1]: rect=(33.054333, 8.158003, 22, 21) text=(none) start=false end=false
|
|
LayoutBox node=#7 tag=anonymous box=anon
|
|
content: (0, 0, 3.0543318, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " "
|
|
LayoutBox node=#8 tag=input box=inline-block
|
|
content: (13, 12.158003, 13, 13)
|
|
padding: 0 0 0 0
|
|
border: 1 1 1 1
|
|
margin: 3 3 3 4
|
|
border-radius: (7.50, 7.50, 7.50, 7.50)
|
|
inline_context: 0 lines, height=0, max_width=0
|
|
LayoutBox node=#9 tag=anonymous box=anon
|
|
content: (0, 0, 3.0543318, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " "
|
|
LayoutBox node=#10 tag=input box=inline-block
|
|
content: (38.054333, 12.158003, 13, 13)
|
|
padding: 0 0 0 0
|
|
border: 1 1 1 1
|
|
margin: 3 3 3 4
|
|
border-radius: (7.50, 7.50, 7.50, 7.50)
|
|
inline_context: 0 lines, height=0, max_width=0
|
|
LayoutBox node=#11 tag=anonymous box=anon
|
|
content: (0, 0, 3.0543318, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: " "
|