Re: [csswg-drafts] [css-images-4] Proposal to allow replaced elements to paint outside of their bounds (#7058)

If the viewBox-like property here does indeed end up being an alias / override for the SVG viewBox attribute, then a few things to consider...
- we should make sure it's unambiguous what happens if you set this new property on the `img` and/or internal SVG elements in an `<img src="foo.svg">` scenario.
- There are a few other elements (beyond `<svg>`) that also accept the `viewBox` attribute.  According to https://www.w3.org/TR/SVG2/attindex.html and https://www.w3.org/TR/SVG11/attindex.html , `viewBox` applies to the `marker`, `pattern`, `svg`, `symbol`, and `view` elements.  So, we should probably be sure the new property has similar effects on those elements.

-- 
GitHub Notification of comment by dholbert
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7058#issuecomment-1057553833 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 3 March 2022 00:57:20 UTC