- From: David Dailey <ddailey@zoominternet.net>
- Date: Tue, 24 Jun 2014 09:41:34 -0400
- To: <robert@ocallahan.org>, "'www-svg'" <www-svg@w3.org>
- Message-ID: <004201cf8fb2$0425cad0$0c716070$@net>
Rob O’Callahan wrote: >Are <switch>, hasExtension, systemLanguage, requiredFeatures and requiredExtensions worth keeping? I think this kind of feature selection is widely considerd an anti-pattern at this point. Have these actually been used in good ways? If so, I haven't seen it. I’m a bit confused. Is this to be read (1) “Are <switch>/hasExtension and <switch>/systemLanguage and… worth keeping?” or as (2) “Is <switch> worth keeping? and is hasExtension worth keeping? and …” I read it at first as (1), but thought switch was a good thing. I see language in the SVG2 draft https://svgwg.org/svg2-draft/extend.html#ForeignObjectElement that says “all conforming SVG user agents would need to support the ‘switch <https://svgwg.org/svg2-draft/struct.html#SwitchElement> ’ element and must be able to render valid SVG elements when they appear as one of the alternatives within a ‘switch <https://svgwg.org/svg2-draft/struct.html#SwitchElement> ’ element.” In https://svgwg.org/svg2-draft/struct.html there is language about treating unknown elements as <g>: “To allow fallbacks without the use of ‘switch <https://svgwg.org/svg2-draft/struct.html#SwitchElement> ’, and to align with the behavior of unknown elements in HTML.” , suggesting that people for whatever reason might want to avoid <switch>. Regards David
Received on Tuesday, 24 June 2014 13:42:09 UTC