W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1234,1.1235

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 12 Aug 2008 09:32:36 +0000
To: public-html-commits@w3.org
Message-Id: <E1KSqF2-0005L9-QS@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20484

Modified Files:
Log Message:
How to determine the language of the node if the language code isn't recognised. (Subject: Effect of bogus lang on determining natural language) (credit: hs) (whatwg r2056)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1234
retrieving revision 1.1235
diff -u -d -r1.1234 -r1.1235
--- Overview.html	12 Aug 2008 09:04:24 -0000	1.1234
+++ Overview.html	12 Aug 2008 09:32:34 -0000	1.1235
@@ -7980,7 +7980,9 @@
    href="#xmllang">xml:lang</a></code> attribute set or is an <a
    href="#html-elements" title="HTML elements">HTML element</a> and has a
    <code title=attr-lang><a href="#lang">lang</a></code> attribute set. That
-   attribute specifies the language of the node.
+   attribute specifies the language of the node. If that attribute's value is
+   not a recognised language code, then it must be treated as an unknown
+   language (as if the value was the empty string).
   <p>If both the <code title=attr-xml-lang><a
    href="#xmllang">xml:lang</a></code> attribute and the <code
Received on Tuesday, 12 August 2008 09:33:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:09:18 UTC