Add font-variant property (normal/small-caps) with correct per-character-case rendering: lowercase chars rendered uppercased at 0.8x size, uppercase/non-letter chars at full size. Fix font shorthand to validate mandatory font-family and reject invalid line-height after /. Wire up actual x-height from font metrics in layout measurement. Add font-variant to ::first-line pseudo-element support. Deduplicate rasterizer text rendering. Add ex unit to grid template parsing tables. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 lines
335 B
Plaintext
5 lines
335 B
Plaintext
DisplayList items=3
|
|
Text rect=(8, 25, 70.607925, 20) text="Shorthand" color=#000000 font_size=20 font_weight=700 font_style=italic font_variant=small-caps font_family=serif
|
|
Text rect=(8, 71.4, 18.923643, 14) text="Size" color=#000000 font_size=14
|
|
Text rect=(29.596184, 71.4, 20.465492, 14) text="only" color=#000000 font_size=14
|