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>
11 lines
288 B
HTML
11 lines
288 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>Disabled Controls</title></head>
|
|
<body>
|
|
<input type="text" name="enabled" value="enabled">
|
|
<input type="text" name="disabled" value="disabled" disabled>
|
|
<input type="checkbox" name="cb" disabled>
|
|
<input type="radio" name="rd" disabled>
|
|
</body>
|
|
</html>
|