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>
9 lines
188 B
HTML
9 lines
188 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>Radio States</title></head>
|
|
<body>
|
|
<input type="radio" name="color" value="red">
|
|
<input type="radio" name="color" value="blue" checked>
|
|
</body>
|
|
</html>
|