- From: CVS User lsilli <cvsmail@w3.org>
- Date: Wed, 09 Oct 2013 07:06:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-xhtml-author-guide In directory roscoe:/tmp/cvs-serv16997/html-xhtml-author-guide Modified Files: html-xhtml-authoring-guide.html Log Message: Fix typos and unclear wording in the paragraph that begins ”When it comes to the <code>xmlns:xlink</code> attribute”. (The word 'the' was inserted by this edit.) --- /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html 2013/10/09 00:00:50 1.139 +++ /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html 2013/10/09 07:06:50 1.140 @@ -1064,11 +1064,11 @@ <pre class="example"><code class="css">[*|lang]{color:lime}</code></pre> <p class="note">However, the requirement of <a>polyglot markup</a> to use both <code>xml:lang="foo"</code> and <code>lang="foo"</code> means that even <code>[lang]{color:lime}</code> would work, in both XML parsers and HTML parsers.</p> - <p> - When it comes to <code>xmlns:xlink</code> attribute, which is required in polyglot <code>svg</code> elements, - then, because it is a foreign element in HTML/XHTML (and thus, unlike <code>xml:lang</code>), its is - namespaced even in HTML. Hence, there <strong>only</strong> way – in HTML as well as in XML – to use this - attribute as a selector, is to declare the namespace of the <code>xmlns:</code> prefix in CSS:</p> + + <p>When it comes to the <code>xmlns:xlink</code> attribute, which is required for polyglot <code>svg</code> elements, + then, because it, in contrast to <code>xml:lang</code>, belongs to a foreign content element in HTML/XHTML, it is + namespaced even in HTML. Hence, the <strong>only</strong> way – in HTML as well as in XML – to use this + attribute as a selector, is by declaring the namespace of the <code>xmlns:</code> prefix in CSS:</p> <pre class="example"><code class="css"> @namespace xmlns "http://www.w3.org/2000/xmlns/";
Received on Wednesday, 9 October 2013 07:06:55 UTC