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 17625 - Shouldn't ExSel key value be Exsel?
Summary: Shouldn't ExSel key value be Exsel?
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Gary Kacmarcik
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords: needsReview
Depends on:
Blocks:
 
Reported: 2012-06-28 09:47 UTC by Masayuki Nakano
Modified: 2013-07-09 22:32 UTC (History)
4 users (show)

See Also:


Attachments

Description Masayuki Nakano 2012-06-28 09:47:19 UTC
Current draft defines "ExSel" key. However, IE9 uses "Exsel" (the "s" is lowercase). And also, "Crsel" in the draft uses lower "s" too. So, I think that it should be "Exsel".
Comment 1 Travis Leithead [MSFT] 2012-07-13 21:11:04 UTC
Looking into this...
Comment 2 Travis Leithead [MSFT] 2012-07-13 21:13:08 UTC
This change is good for consistency with Crsel, and also to align with a shipping implementation. Good catch.
Comment 3 Travis Leithead [MSFT] 2012-07-13 21:53:13 UTC
Case is fixed in the latest draft. Please review and close the bug.
Comment 4 Gary Kacmarcik 2013-05-17 15:41:16 UTC
The correct name for these keys is ExSel and CrSel since they are abbreviations and the naming convention is to use InitialCaps for key names.

Microsoft* and USB** documents also refer to these keys using InitialCaps.

So 'ExSel' in the original draft was correct.

* http://msdn.microsoft.com/en-us/library/windows/hardware/gg463372.aspx#E4
** http://www.usb.org/developers/devclass_docs/Hut1_11.pdf
Comment 5 Masayuki Nakano 2013-05-18 00:01:11 UTC
I'm not sure your suggestion is worthwhile.

1. IE already uses the not good names already.
2. Firefox 23 will use same names if the spec isn't changed as soon as possible.
3. WebKit and Blink don't support .key yet.

However, key events for the keys are typically not fired because usual keyboard doesn't have the keys, though.
Comment 6 Gary Kacmarcik 2013-05-18 00:53:01 UTC
As someone said on the mailing list, D3E is still a "Working Draft" and we're hoping to use implementations to identify and fix problems with the spec, not to fossilize them.

I agree that we should fix these names as soon as possible.
Comment 7 Gary Kacmarcik 2013-07-09 22:32:23 UTC
Fixed in ED by using 'ExSel' and 'CrSel', which are the correct names for these keys based on USB and Microsoft documentation.