- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Tue, 31 Mar 2026 20:11:40 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-sizing][responsive-iframe] Should `frame-sizing` apply to SVG contents?``, and agreed to the following: * `RESOLVED: Currently SVG in iframe doesn't respond to frame sizing (because you can't opt it in)` <details><summary>The full IRC log of that discussion</summary> <Rossen> github, take up https://github.com/w3c/csswg-drafts/issues/13588<br> <emilio> koji: so frame-sizing was discussed on the last f2f, I've updated the spec in response to that discussion<br> <emilio> ... filed three issues with some investigation I did<br> <emilio> ... I didn't see clear preferences either way on whether to apply to SVG<br> <emilio> ... SVG has some magic behavior<br> <emilio> ... they have use cases so I'd prefer not to mess with that<br> <emilio> q+<br> <TabAtkins> +1<br> <TabAtkins> emilio: When you say 'applyl to SVG', I think SVG only has magic for object and embed<br> <TabAtkins> emilio: do you mean only apply it to iframe?<br> <Kurt> q+<br> <TabAtkins> emilio: or to object/embed too, but not when they're SVG?<br> <TabAtkins> koji: object/embed is another issue, i propose only iframe<br> <Rossen> ack emilio<br> <emilio> koji: my proposal is only for iframe<br> <fantasai> TabAtkins: question is about whether to apply frame-sizing to SVG in <iframe><br> <fantasai> emilio: Currently it uses 300 x 150 default<br> <fantasai> emilio: If the overall proposal applies to iframes ...?<br> <fantasai> TabAtkins: SVG doc in an <iframe>. Not <object><br> <fantasai> emilio: There's no magic behavior there.<br> <fantasai> TabAtkins: So should we introduce the magic behavior into the <iframe><br> <fantasai> emilio: No it should behave like an HTML doc<br> <fantasai> emilio: I think what Koji's proposing is that SVG inside an <iframe> is not magic, so it doesn't get special behavior when `frame-sizing` is used<br> <fantasai> emilio: If SVG opted in via this method, then it would get the same behavior as HTML.<br> <fantasai> emilio: So no auto-magic measuring for SVG.<br> <Rossen> ack Kurt<br> <fantasai> PROPOSED: `frame-sizing` has the same effect on SVG in <iframe> as it does for HTML in <iframe><br> <emilio> Kurt: I think it's best to resolve that<br> <emilio> ... SVG behaves more like images except for <iframe><br> <emilio> PROPOSED: SVG documents in iframes don't have frame-sizing effect<br> <fantasai> TabAtkins: SVG doesn't have meta tags so can't opt into special behavior<br> <fantasai> emilio: You can put a meta tag into an SVG.<br> <fantasai> [ discomfort ]<br> <fantasai> emilio: Meta with color-scheme works.<br> <fantasai> TabAtkins: It does?<br> <fantasai> PROPOSED: frame-sizing on an iframe only works for HTML documents<br> <Rossen> ack fantasai<br> <emilio> fantasai: I feel like if you manage to opt it in, shouldn't it work the same way?<br> <emilio> ... why would we make SVG documents different just because it's svg?<br> <emilio> +1<br> <fantasai> TabAtkins: can't opt it in<br> <fantasai> TabAtkins: [because rules]<br> <emilio> TabAtkins: because frame sizing only applies until `</head>`<br> <emilio> fantasai: but the opt in not working is different from the property doesn't apply<br> <TabAtkins> (even with <html:meta> in SVG, the meta is "frozen" early (by the end of </head>) and there is no <head> in SVG to scope its parsing to)<br> <emilio> TabAtkins: we're resolving it's not a problem for now, i.e., there's no way for an SVG doc to get frame-sizing behavior<br> <fantasai> `frame-sizing` does not have an effect on SVG that hasn't opted in (which it currently can't)<br> <TabAtkins> (Unlike other <html:meta>s like color-scheme)<br> <emilio> PROPOSED: Currently SVG in iframe doesn't respond to frame sizing (because you can't opt it in)<br> <emilio> RESOLVED: Currently SVG in iframe doesn't respond to frame sizing (because you can't opt it in)<br> <fantasai> +1 emilio<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13588#issuecomment-4165196716 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 31 March 2026 20:11:40 UTC