- From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Mar 2022 21:40:26 +0000
- To: public-css-archive@w3.org
FWIW: if there are security concerns & restrictions-needed for `iframe`, then it's probably worth considering `embed` and `object` at the same time. Those are both replaced elements where these new `object-*` properties would presumably apply, where existing object-fit and object-position definitely have an effect (at least when pointed at an image file), per https://wpt.fyi/results/css/css-images/object-fit-contain-png-001e.html and https://wpt.fyi/results/css/css-images/object-fit-contain-png-001o.html . And of course: like `iframe`, these replaced elements can view HTML content, as shown by e.g.: ``` data:text/html,<embed src="https://example.org"> data:text/html,<object data="https://example.org"> ``` -- GitHub Notification of comment by dholbert Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7143#issuecomment-1079455600 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 25 March 2022 21:40:27 UTC