You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-images] Integrate with SVG Integration spec #4640
The SVG Integration defines several referencing mode for how SVG should be used.
For the concern of the CSS Images spec, SVG should probably be using the animated image document referencing mode, which means external resources and scripts are disallowed.
I believe this is already the practice in all browsers, but it's not mentioned in the spec.
For the concern of the CSS Images spec, SVG should probably be using the animated image document referencing mode, which means external resources and scripts are disallowed.
Yes. Note that this also disallows external stylesheets.
Hmm, that seems suboptimal. There should be one source of truth for a thing. If the reference modes remain in a separate spec, the processing modes should be removed and reference SVG2.
The CSS Working Group just discussed Integrate with SVG Integration spec.
The full IRC log of that discussion
<Rossen_> Topic: Integrate with SVG Integration spec
<Rossen_> github: https://github.com//issues/4640
<fremy> chris: svg integration has two things, only one of which got folded in svg 2
<fremy> chris: one is what happens when you embed in svg
<fremy> ... the other is what happens when you use svg in html
<fremy> TabAtkins: what needs to be done?
<fremy> chris: we need to decide what we do, and what we map to each of these modes
<fremy> Rossen_: shouldn't we do more of this ahead of time?
<fremy> Rossen_: and make a concrete proposal?
<fremy> chris: yes, we should probably do that, and investigate whether script can run, animations can run etc...
<fremy> florian: for the cursors we already specify one of these modes
<fremy> TabAtkins: I think for general css images we also specify a mode I think
<fantasai> https://www.w3.org/TR/css-images-4/#image-file-formats
<fremy> TabAtkins: but yeah we should probably do more work on this before submitting to the group
<fremy> Rossen_: ok let's do that
<fremy> Rossen_: was that everything about the topic?
<fremy> chris: yes
<fremy> fantasai: there is a proposal in images 4
<fremy> fantasai: I pasted the link
<fremy> fantasai: (reads aloud)
<fremy> florian: seems to be what we do for cursor
<fantasai> https://drafts.csswg.org/css-images-4/#image-file-formats
<fremy> chris: ok, i think this makes sense
<florian> https://www.w3.org/TR/css-ui-3/#ref-for-url-value%E2%91%A0
<fremy> chris: I will review and bring this back if needed
<fremy> Rossen_: thanks!
Activity
svgeesus commentedon Jan 1, 2020
Yes. Note that this also disallows external stylesheets.
P.S. I believe the svg integration processing modes were folded into the SVG2 spec as processing modes.
upsuper commentedon Jan 5, 2020
Yes, the processing modes have been folded into SVG2 spec (but they have some differences), but the reference modes have not.
svgeesus commentedon Jan 6, 2020
Hmm, that seems suboptimal. There should be one source of truth for a thing. If the reference modes remain in a separate spec, the processing modes should be removed and reference SVG2.
css-meeting-bot commentedon Oct 22, 2020
The CSS Working Group just discussed
Integrate with SVG Integration spec.The full IRC log of that discussion
<Rossen_> Topic: Integrate with SVG Integration spec<Rossen_> github: https://github.com//issues/4640
<fremy> chris: svg integration has two things, only one of which got folded in svg 2
<fremy> chris: one is what happens when you embed in svg
<fremy> ... the other is what happens when you use svg in html
<fremy> TabAtkins: what needs to be done?
<fremy> chris: we need to decide what we do, and what we map to each of these modes
<fremy> Rossen_: shouldn't we do more of this ahead of time?
<fremy> Rossen_: and make a concrete proposal?
<fremy> chris: yes, we should probably do that, and investigate whether script can run, animations can run etc...
<fremy> florian: for the cursors we already specify one of these modes
<fremy> TabAtkins: I think for general css images we also specify a mode I think
<fantasai> https://www.w3.org/TR/css-images-4/#image-file-formats
<fremy> TabAtkins: but yeah we should probably do more work on this before submitting to the group
<fremy> Rossen_: ok let's do that
<fremy> Rossen_: was that everything about the topic?
<fremy> chris: yes
<fremy> fantasai: there is a proposal in images 4
<fremy> fantasai: I pasted the link
<fremy> fantasai: (reads aloud)
<fremy> florian: seems to be what we do for cursor
<fantasai> https://drafts.csswg.org/css-images-4/#image-file-formats
<fremy> chris: ok, i think this makes sense
<florian> https://www.w3.org/TR/css-ui-3/#ref-for-url-value%E2%91%A0
<fremy> chris: I will review and bring this back if needed
<fremy> Rossen_: thanks!