gecko-dev/layout/forms
Masayuki Nakano 0f39d7eda7 Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs
On Windows, Windows logo key was mapped to "OS" modifier, and on Linux,
it's same and the key is called "Super" and "Hyper".  That conformed to the
older UI Events spec.

However, UI Events declares that they should be mapped to "Meta" now and Chrome
handles it as the spec in Windows and Linux.  Therefore, we should align the
behavior to them.

Note that we've treated the legacy "Meta" modifier on Linux as DOM "Meta"
modifier state, and we'll keep this as-is because in Sun/Solaris keyboard
layout, they keys are mapped to the legacy "Meta".

Finally, the following check only `IsMeta()` but not `IsOS()`.  I think that
they should've checked `IsOS()` too.  Therefore, they will behave differently
in Windows and Linux.
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/base/Element.cpp#3287-3288
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3762-3764
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3796-3806
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLLabelElement.cpp#127-128
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/widget/gtk/nsGtkKeyUtils.cpp#1461-1462

Note that `KEY_NAME_INDEX_OS` will be removed in the patch for bug 1232918.

Differential Revision: https://phabricator.services.mozilla.com/D183480
2023-08-07 01:03:58 +00:00
..
crashtests Bug 1689816 - Implement <tabpanels> and <deck> without XUL layout. r=Gijs,Jamie,morgan,preferences-reviewers,mconley,TYLin 2022-09-27 04:18:16 +00:00
test Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu 2023-06-28 13:21:00 +00:00
HTMLSelectEventListener.cpp Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs 2023-08-07 01:03:58 +00:00
HTMLSelectEventListener.h
ListMutationObserver.cpp Bug 1805105 - Invalidate paint for <input type=range> when its @list changes r=emilio 2022-12-19 13:06:49 +00:00
ListMutationObserver.h Bug 1805105 - Invalidate paint for <input type=range> when its @list changes r=emilio 2022-12-19 13:06:49 +00:00
moz.build Bug 1805105 - Invalidate paint for <input type=range> when its @list changes r=emilio 2022-12-19 13:06:49 +00:00
nsButtonFrameRenderer.cpp Bug 1838262, part 2: Implemented `getComputedStyle()` for custom highlight api. r=emilio 2023-07-31 13:47:54 +00:00
nsButtonFrameRenderer.h
nsCheckboxRadioFrame.cpp Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsCheckboxRadioFrame.h Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsColorControlFrame.cpp
nsColorControlFrame.h
nsComboboxControlFrame.cpp Bug 1826629 - Implement CSS and rendering (but not copy/paste) support for the (non-standard) -webkit-text-security property. r=dholbert 2023-04-18 11:47:07 +00:00
nsComboboxControlFrame.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsDateTimeControlFrame.cpp Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsDateTimeControlFrame.h Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsFieldSetFrame.cpp Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsFieldSetFrame.h Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsFileControlFrame.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsFileControlFrame.h Bug 1827304 - Don't override BuildDisplayList in nsFileControlFrame. r=dholbert 2023-04-11 01:07:22 +00:00
nsGfxButtonControlFrame.cpp
nsGfxButtonControlFrame.h
nsHTMLButtonControlFrame.cpp Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsHTMLButtonControlFrame.h Bug 1809568 - Part 2: Provide `GetNaturalBaselineBOffset` with baseline export context. r=emilio 2023-05-17 12:56:54 +00:00
nsIFormControlFrame.h
nsISelectControlFrame.h
nsITextControlFrame.h
nsImageControlFrame.cpp
nsListControlFrame.cpp Bug 1837382 - Remove nsIContent::IsDoneAddingChildren. r=smaug 2023-06-08 14:59:31 +00:00
nsListControlFrame.h Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsMeterFrame.cpp Bug 1803377 - Rename the values of the `IntrinsicDirty` enum r=emilio 2022-12-02 12:27:31 +00:00
nsMeterFrame.h
nsNumberControlFrame.cpp Bug 1825825 - Simplify NAC setup. r=smaug 2023-04-05 09:19:15 +00:00
nsNumberControlFrame.h
nsProgressFrame.cpp Bug 1803377 - Rename the values of the `IntrinsicDirty` enum r=emilio 2022-12-02 12:27:31 +00:00
nsProgressFrame.h
nsRangeFrame.cpp Bug 1802687 - Account for direction:rtl in vertical writing-mode <input type=range> controls. r=emilio 2023-07-08 13:19:45 +00:00
nsRangeFrame.h Bug 1802687 - Account for direction:rtl in vertical writing-mode <input type=range> controls. r=emilio 2023-07-08 13:19:45 +00:00
nsSearchControlFrame.cpp
nsSearchControlFrame.h
nsSelectsAreaFrame.cpp
nsSelectsAreaFrame.h
nsTextControlFrame.cpp Bug 1842027 - Remove nsTextControlFrame::TextEquals. r=masayuki 2023-07-12 08:58:09 +00:00
nsTextControlFrame.h Bug 1842027 - Remove nsTextControlFrame::TextEquals. r=masayuki 2023-07-12 08:58:09 +00:00