W3C home > Mailing lists > Public > public-multilingualweb-lt-comments@w3.org > February 2013

Re: How to handle non HTML formats embedded in HTML (Re: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML)

From: Shaun McCance <shaunm@gnome.org>
Date: Fri, 01 Feb 2013 10:15:32 -0500
To: Jirka Kosek <jirka@kosek.cz>
Cc: Felix Sasaki <fsasaki@w3.org>, public-multilingualweb-lt-comments@w3.org
Message-ID: <1359731732.2220.321.camel@recto>
On Fri, 2013-02-01 at 16:07 +0100, Jirka Kosek wrote:
> On 1.2.2013 15:45, Shaun McCance wrote:
> 
> >> I think that story is easy there. As HTML doesn't offer real distributed
> >> extensibility and lacks mechanism similar to XML namespaces you can't
> >> use ITS on SVG fragment inserted inside HTML document.
> > 
> > I thought the HTML5 spec defined including SVG and MathML in such
> > a way that they're implicitly assigned their canonical namespaces
> > when selected with e.g. document.evaluate. Am I misremembering?
> 
> Yes, but you can't use for example its:translate attribute on SVG
> element inside HTML5 as prefixed attributes (with the exception of
> xlink:href) are not permitted here.
> 
> See:
> http://www.w3.org/html/wg/drafts/html/master/single-page.html#attributes-0
> 
> Very last sentence under table: "No other namespaced attribute can be
> expressed in the HTML syntax."

Ah, right. I was only thinking of matching with global rules.

--
Shaun
Received on Friday, 1 February 2013 15:15:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 February 2013 15:15:56 GMT