we (web engine): Experimental web browser project to understand the limits of Claude

Fix em resolution and add missing position offset properties master

- Fix em unit resolution for non-font-size properties: em now resolves relative to the element's own computed font-size (per CSS spec) instead of the parent's font-size. Font-size itself already correctly uses parent font-size for em resolution in its own handler. - Add missing 'right' and 'left' position offset property handling in apply_property (only 'top' and 'bottom' were handled). - Update em_margin_relative_to_font_size test to assert correct value (2em * 20px = 40px, not 2em * 16px = 32px). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


+8 -5
1 changed file