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 17981 - i18n-ISSUE-120: Non-ASCII Unicode characters in data-*
Summary: i18n-ISSUE-120: Non-ASCII Unicode characters in data-*
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:28 UTC by contributor
Modified: 2012-09-28 23:23 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:28:08 UTC
This was was cloned from bug 16980 as part of operation convergence.
Originally filed: 2012-05-07 18:10:00 +0000
Original reporter: Addison Phillips <addison@lab126.com>

================================================================================
 #0   Addison Phillips                                2012-05-07 18:10:37 +0000 
--------------------------------------------------------------------------------
3.2.3.8 Embedding custom non-visible data with the data-* attributes
http://www.w3.org/TR/html5/elements.html#embedding-custom-non-visible-data-with-the-data-attributes

There is a note that reads:

--
All attributes on HTML elements in HTML documents get ASCII-lowercased automatically, so the restriction on ASCII uppercase letters doesn't affect such documents.
--

Later in the section there are several references to ASCII-lowercasing and ASCII-uppercasing operations. There is no discussion of how to handle non-ASCII Unicode values (the wisdom of any such appearing in this context is, of course, open). Default Unicode case folding might be a good idea here, though, if such values are expected to occur?
================================================================================
 #1   Ian 'Hixie' Hickson                             2012-05-08 00:41:27 +0000 
--------------------------------------------------------------------------------
This is just for names, not values. Ideally there'd be no folding at all, it's just we're required to for legacy compat.
================================================================================
 #2   Ian 'Hixie' Hickson                             2012-05-10 17:54:28 +0000 
--------------------------------------------------------------------------------
(I should probably make it clearer that this is for names, not values.)
================================================================================
Comment 1 contributor 2012-09-28 23:23:36 UTC
Checked in as WHATWG revision r7425.
Check-in comment: Clarification.
http://html5.org/tools/web-apps-tracker?from=7424&to=7425