Implement form control layout and intrinsic sizing (Phase 16)
Form controls now participate in inline layout as atomic inline-level
boxes with correct intrinsic dimensions:
- Text inputs: width from size attribute (default 20 chars)
- Textareas: width/height from cols/rows attributes
- Buttons: sized to fit label text + padding
- Checkboxes/radio buttons: 13x13 CSS px
- Select dropdowns: width from longest option text
- CSS width/height properties override intrinsic sizes
Also adds:
- UA stylesheet rules for fieldset, legend, and form controls
- Fieldset/legend block layout with legend overlapping top border
- AtomicInline variant in inline formatting context
- Per-line max height tracking for lines with tall atomic boxes
- 15 new tests covering all form control types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>