Commit 86d3af1
committed
docs: add #292 entry to v0.8.0 CHANGELOG
CSS max-width / max-height / min-width / min-height on <img>
(closes #291). Pre-fix the CSS parser stored the values but the
converter never threaded them to ImageElement, and ImageElement
had no fields to receive them. Post-fix adds cssMax*/cssMin*
fields, SetMaxSize/SetMinSize setters, and an aspect-preserving
clamp helper applied before object-fit dispatch and after auto-
resolution. Container width remains the absolute outer bound for
replaced elements per CSS 2.1 §10.4.
This is the spec-completeness shape — same as #287 (numeric
font-weight), #288 (text-align: start/end), #289 (overline),
#290 (border 3D styles): a CSS spec value the parser stored but
the consumer-side primitive didn't read.1 parent 4017d20 commit 86d3af1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments