WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
76988
AltGraph is supposed to be true if Alt and Ctrl are pressed
https://bugs.webkit.org/show_bug.cgi?id=76988
Summary
AltGraph is supposed to be true if Alt and Ctrl are pressed
Eric Seidel (no email)
Reported
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
Attachments
speculative fix
(1.99 KB, patch)
2012-01-25 01:31 PST
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2012-01-25 01:31:43 PST
Created
attachment 123899
[details]
speculative fix
Alexey Proskuryakov
Comment 2
2012-01-25 08:43:53 PST
Is this always the case in IE, or only for keyboard layout that actually have AltGr?
Eric Seidel (no email)
Comment 3
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.
Alexey Proskuryakov
Comment 4
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.
Ahmad Saleem
Comment 5
2024-01-26 17:09:05 PST
altGraphKey is now gone from WebKit as well as of this commit:
https://github.com/WebKit/WebKit/commit/f1f9f0045afe3ae23d359d72658b600e4a623ac5
Nothing to do here.
Masayuki Nakano
Comment 6
2024-01-28 22:14:32 PST
(In reply to Ahmad Saleem from
comment #5
)
> altGraphKey is now gone from WebKit as well as of this commit: > >
https://github.com/WebKit/WebKit/commit/
> f1f9f0045afe3ae23d359d72658b600e4a623ac5 > > Nothing to do here.
`.altGraphKey` is not available in `UIEvent` nor `EventModifierInit`. However, there are `modifierAltGraph` in `EventModifierInit` and `getModifierState("AltGraph")` in `UIEvent`. The latter returns `true` if the event is initialized with `modifierAltGraph = true` or represents a keyboard input which introduces a character which is different from the character without `AltGr` key on the keyboard layout. See
https://bugzilla.mozilla.org/show_bug.cgi?id=900750#c24
for the detail about the user input case.
Ahmad Saleem
Comment 7
2024-01-29 16:51:13 PST
Reopening to see what still needs to be done.
Chris Dumez
Comment 8
2026-06-25 00:50:55 PDT
https://commits.webkit.org/315804@main
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug