- From: Koji Ishii via GitHub <noreply@w3.org>
- Date: Tue, 03 Mar 2026 07:04:23 +0000
- To: public-css-archive@w3.org
kojiishi has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-sizing][responsive-frame] Should `frame-sizing` apply to `<object>` elements? ==
This is a follow up to the [discussion on Jan 28](https://github.com/w3c/csswg-drafts/issues/1771#issuecomment-3806716273).
> smfr: this is just about iframe and also object?
> chrisl: why would object be different?
> iank_: can take it as an issue
> fantasai: does svg have different behavior between iframe and object
> dbholbert: it does
@smfr @svgeesus @fantasai @dholbert @bfgeek
The current behaviors are as below ([simple tests for the SVG sizing](https://kojiishi.github.io/responsive-iframe/svg-test.html)):
<table>
<tr><th>Content Type</th><th><iframe></th><th><object></th></tr>
<tr>
<th>HTML</th>
<td colspan=2>Fixed viewport, defaults to 300x150. No auto-resize.</td>
</tr>
<tr>
<th>SVG</th>
<td>Fixed viewport, defaults to 300x150. No auto-resize.</td>
<td>Acts as a replaced element; auto-resizes to intrinsic dimensions.</td>
</tr>
</table>
One way to say is to apply to both elements, because they have the same behavior for HTML today.
Another way is to apply only to `<iframe>`, because it has security sandbox, and it's better suited for HTML.
I don't have a strong opinion, anyone?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13584 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 March 2026 07:04:24 UTC