- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 18 Mar 2014 16:08:53 -0700
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style list <www-style@w3.org>
On Tue, Mar 18, 2014 at 3:25 PM, Simon Sapin <simon.sapin@exyr.org> wrote: > On 19/03/2014 05:54, Daniel Glazman wrote: >> On 18/03/2014 12:56, Simon Pieters wrote: >>> When a namespace rule is changed and there are rules after it, what do >>> you want to happen? Do you want the other rules to be affected or not? >> >> Sure I want all rules to be affected. Again, the scenario is the >> following one: a html document contains an embedded stylesheet. I'm >> adding a SVG image I want to style. I need to add a namespace rule >> to the existing stylesheet to style my SVG. I can't. This is a blocker >> for all conforming editing environments. > > Sorry for giving a non-solution, but you *could* just ignore namespaces when > styling SVG elements, just like everyone usually does for HTML elements. > (Without a default namespace, type selectors select elements with a given > local name in any namespace.) That's a perfectly valid solution for the web; there are only four name collisions between SVG and HTML, and they're all *basically* the same element except for <font>, and you shouldn't be using <html:font> anyway. MathML doesn't have any name collisions, I think. ~TJ
Received on Tuesday, 18 March 2014 23:09:41 UTC