This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17977 - user agent lang tag handling is insufficiently specified
Summary: user agent lang tag handling is insufficiently specified
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://dev.w3.org/html5/spec/elements...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:27 UTC by contributor
Modified: 2012-12-30 00:40 UTC (History)
10 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:27:20 UTC
This was was cloned from bug 14709 as part of operation convergence.
Originally filed: 2011-11-06 19:52:00 +0000
Original reporter: John Daggett <jdaggett@mozilla.com>



This bug had 43 comments. For brevity, they are not repeated here.
Comment 1 Ian 'Hixie' Hickson 2012-09-28 18:03:38 UTC
The spec needs to be clarified that when it says to pass through the value unmodified, it should also include passing the type information ("This is supposed to be a BCP47 language code"), so that it's clear that if the next API is not also only limited to BCP47,  there should be a defined mapping somewhere. I should probably explicitly include an example of how mapping lang="" to OpenType requires defining what to do with strings that aren't meaningful BCP47 codes but could be interpreted in other formats OpenType supports.
Comment 2 contributor 2012-12-30 00:40:13 UTC
Checked in as WHATWG revision r7607.
Check-in comment: Clarify how language codes are passed on to other tools.
http://html5.org/tools/web-apps-tracker?from=7606&to=7607