9.6.2011 19:40, Shelley Powers write:
The document currently up for CfC at
http://dev.w3.org/html5/spec-author-view/ has a silly lang attribute value.
Seriously?
I would almost think that whoever designed the page structure is mocking
the W3C and the HTML WG.
I’m sure Hixie wrote lang="en-US-x-Hixie" intentionally and very
seriously. After all, it may well be relevant to know that the content
language of a document is not just US English in general but some
particular idiolect. This may help in interpreting otherwise obscure
statements or in realizing that apparently clear statements might really
be obscure.
The real value of such lang attributes is questionably, though. Some
older versions of Firefox let the user right-click on an element and see
a prose description of it, including its (declared) language, but that
feature seems to have gone. Nowadays you need to be more or less a
developer using developer tools to inspect the declared language. But
specs are written mainly for developers, aren't they?
--
Yucca, http://www.cs.tut.fi/~jkorpela/