Bug 76988 - AltGraph is supposed to be true if Alt and Ctrl are pressed
Summary: AltGraph is supposed to be true if Alt and Ctrl are pressed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks: 38241 76198 93017 40999
  Show dependency treegraph
 
Reported: 2012-01-25 01:08 PST by Eric Seidel (no email)
Modified: 2012-08-02 12:33 PDT (History)
3 users (show)

See Also:


Attachments
speculative fix (1.99 KB, patch)
2012-01-25 01:31 PST, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2012-01-25 01:08:12 PST
AltGraph is supposed to be true if Alt and Ctrl are pressed

It's unclear if we want this.  But I suspect some German sites might like us to support the AltGraph key, even in this synthesized manner. :)

http://samples.msdn.microsoft.com/ietestcenter/domevents/KeyboardEvent.modifiers.html
http://www.w3.org/TR/DOM-Level-3-Events/#key-AltGraph
Comment 1 Eric Seidel (no email) 2012-01-25 01:31:43 PST
Created attachment 123899 [details]
speculative fix
Comment 2 Alexey Proskuryakov 2012-01-25 08:43:53 PST
Is this always the case in IE, or only for keyboard layout that actually have AltGr?
Comment 3 Eric Seidel (no email) 2012-01-25 13:53:16 PST
This bug is about keyboards which don't have an AltGraph key, or specifically operating systems which chose to synthesize AltGraph by the pressing of Alt + Cntl together.  The question is if the Web should generally support such a behavior for synthesizing AltGraph, regardless of what the underlying operating system does.

Bug 38241 and bug 40999 are more about the cases of supporting AltGraph where it's a real key and not synthesized in this manner.
Comment 4 Alexey Proskuryakov 2012-01-25 14:46:01 PST
What I'm saying is that even the synthesized behavior can be layout dependent. AltGr isn't useful on its own, it is just a modifier that lets you type certain characters easier, and that depends on layout.

Anyway, I'd guess that any site that cares about AltGr also expects Windows and language-specific layout, and won't work well in a different environment.