W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 14709] user agent lang tag handling is insufficiently specified

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Nov 2011 22:38:08 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1ROzjc-000418-0f@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14709

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #34 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-11-11 22:38:06 UTC ---
Whatever spec defines the mapping is the spec that should say how the mapping
is to work. It's not up to the HTML spec to define every mapping. For
technologies that use BCP47, there's no mapping necessary; HTML requires that
the values be passed through unmodified.

*For HTML's purposes*, invalid language tags are to be treated as unknown
languages. For all other purposes, the language is passed through unmodified. I
don't understand the difficulty here.


(In reply to comment #31)
> 
> Given the language highlighted in comment 11, the spec can be read
> either way.  The lang attribute specifies a valid BCP47 tag so the
> mapping should be a null mapping.  But it's unknown so it should be
> passed through.

I do not understand this paragraph.


> No one commenting on this bug is arguing that validation should occur
> when matching CSS selectors.

CSS is no different than OpenType or any other technology. If we say that you
have to do validation for one, it follows that validation would apply to the
other.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 11 November 2011 22:38:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 November 2011 22:38:24 GMT