Comments on section 6.2 of ITS 2.0

There is an implementation issue related to inline global rules
specified inside a script element in HTML: an html document (HTML4
and html5) will have have a DOM representation of such an element
as a script element having one only text node child, while all XHTML
documents (1.0, 1.1, 5) will trigger XML parsing of the inline ITS rules
and have the corresponding elements in the its namespace inside the
script element...

I tested this with all major modern browsers and the behaviour described
above is what I see using the browsers' developer tools.

That is an issue because it forces implementations to apply very
different processes depending on the flavor of html used by the
document to apply ITS rules to the document. It's also an issue for
content editors because the editing and the serialization of inline
rules is totally different depending on the html flavor.

I don't really know how to fix this. If I understand the usefulness of
inline global ITS rules, the above make them somehow painful to
implement for HTML documents in the wider sense.

</Daniel>

Received on Friday, 5 July 2013 08:52:22 UTC