Files
rust_browser/tests/goldens/expected/096-min-height.layout.txt
Zachary D. Rowitsch c5fc270040 Add min/max dimensions, position: fixed, float parsing, and display: inline-block
Implement four CSS features to improve real-page rendering:

- min-width, max-width, min-height, max-height with proper clamping
  before auto-margin resolution in block layout and flex containers
- position: fixed using viewport as containing block with scroll-offset
  bypass in the display list
- float: left/right/none (parse-only, no layout behavior yet)
- display: inline-block as atomic inline elements with block-level
  sizing via pre-layout and AtomicInline inline items

Includes 60 new unit tests and 10 new golden tests (095-104).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 00:08:34 -05:00

17 lines
440 B
Plaintext

LayoutBox node=#1 tag=html box=block
content: (0, 0, 800, 66)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#9 tag=body box=block
content: (8, 8, 784, 50)
padding: 0 0 0 0
border: 0 0 0 0
margin: 8 8 8 8
LayoutBox node=#11 tag=div box=block
content: (8, 8, 784, 50)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
inline_context: 0 lines, height=0, max_width=0