Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
Implement box-sizing property (content-box and border-box) master
Add BoxSizing enum and box_sizing field to ComputedStyle with CSS parsing support. Layout engine now respects explicit CSS width/height and adjusts content dimensions based on box-sizing mode: - content-box (default): width/height apply to content area only - border-box: width/height include padding and border Content area clamps to 0 when padding+border exceeds specified size in border-box mode. Property is not inherited per spec. 9 new tests covering both modes, clamping, non-inheritance, and height. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Pierre Le Fevre Co-author Claude Opus 4.6 (1M context) Date (Mar 21, 2026, 6:39 PM UTC) Commit cc2afe3e cc2afe3e97e48a5fa054894a4776168967941e1c Parent bbead018 bbead018c684d2cb35470b064d8b879a1232f592