Files
rust_browser/tests/goldens/fixtures/309-select-collapsed.html
Zachary D. Rowitsch 71f263f298 Add select menus and option elements with dropdown, form submission, and review fixes (Story 4.3)
Implements collapsed select rendering, dropdown overlay with optgroup/disabled support,
click interaction (open/close/select), form submission, and Escape-to-close. Code review
fixed: layout invalidation on selection change, select_states threading through fast paths,
Escape key handling, form reset for selects, and added integration tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 09:42:00 -04:00

26 lines
543 B
HTML

<!DOCTYPE html>
<html>
<head><title>Select Collapsed States</title></head>
<body>
<select name="default">
<option>First</option>
<option>Second</option>
<option>Third</option>
</select>
<select name="preselected">
<option>Alpha</option>
<option selected>Beta</option>
<option>Gamma</option>
</select>
<select name="grouped">
<optgroup label="Fruits">
<option>Apple</option>
<option selected>Banana</option>
</optgroup>
<optgroup label="Vegetables">
<option>Carrot</option>
</optgroup>
</select>
</body>
</html>