Re: [svgwg] Allow setting the SVG context properties when in an HTML <img> tag

> We don't currently expose any way for properties to inherit down into a separate document (which is what an img is).

It's also what an SVG-in-OpenType font glyph is, but we've got multiple implementations using the `context-*` values to map CSS properties from the outer document to the inner document.  I think it's very reasonable to extend that to any embedded image, where the context element is the element that embeds the document.

But we first need to figure out all the bugs about contexts and font glyphs.

(I'd also still like to see a more generic SVG Parameters feature, but we at least have implementations to build on with `context-*`. So I'd like to figure out how far we can go with them, and then assess whether there are still unmet use cases.)

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/348#issuecomment-389994329 using your GitHub account

Received on Thursday, 17 May 2018 20:10:42 UTC