Files
rust_browser/tests/goldens/expected/307-disabled-controls.dl.txt
Zachary D. Rowitsch f8e0c47dc7 Add buttons, checkboxes, and radio buttons with click/toggle/disabled/label support (Story 4.2)
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>
2026-03-29 08:06:22 -04:00

12 lines
1006 B
Plaintext

DisplayList items=10
SolidRect rect=(8, 8, 181, 25.2) color=#ffffff
Border rect=(8, 8, 181, 25.2) widths=(2 2 2 2) colors=(#000000 #000000 #000000 #000000) styles=(inset inset inset inset)
SolidRect rect=(192.05434, 8, 181, 25.2) color=#ffffff
Border rect=(192.05434, 8, 181, 25.2) widths=(2 2 2 2) colors=(#000000 #000000 #000000 #000000) styles=(inset inset inset inset)
SolidRect rect=(380.10864, 14.158003, 15, 15) color=#ffffff
Border rect=(380.10864, 14.158003, 15, 15) widths=(1 1 1 1) colors=(#767676 #767676 #767676 #767676) styles=(solid solid solid solid)
SolidRect rect=(405.16296, 14.158003, 15, 15) color=#ffffff radii=(7.50, 7.50, 7.50, 7.50)
Border rect=(405.16296, 14.158003, 15, 15) widths=(1 1 1 1) colors=(#767676 #767676 #767676 #767676) styles=(solid solid solid solid) radii=(7.50, 7.50, 7.50, 7.50)
Text rect=(12, 12.6, 44.581497, 16) text="enabled" color=#000000 font_size=16
Text rect=(196.05434, 12.6, 46.57856, 16) text="disabled" color=#000000 font_size=16