Olli Pettay
73385eaf10
Bug 1430020, let sequential focus navigation in shadow DOM enter iframes, r=mrbkap
2018-04-28 16:07:06 +03:00
Boris Zbarsky
599ef690cf
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
6fb00d932f
Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8
2018-04-26 15:28:31 -04:00
shindli
55275cebc3
Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
...
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky
6764622e9f
Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8
2018-04-26 15:28:31 -04:00
Boris Zbarsky
03b49fcca6
Bug 1456588 part 5. Store an Element as the focused content in the focus manager. r=enndeakin
2018-04-26 10:37:47 -04:00
Boris Zbarsky
8041126861
Bug 1456588 part 4. Change nsFocusManager guts to make it clearer that the focused thing is always an Element. r=enndeakin
...
I couldn't find a good way to make this incremental without adding QIs and
AsElement() in various places....
2018-04-26 10:37:47 -04:00
Boris Zbarsky
04f72ca8d9
Bug 1456588 part 3. Change nsFocusManager::SetFocusInner to take Element. r=enndeakin
2018-04-26 10:37:47 -04:00
Olli Pettay
aa92e453e0
Bug 1453693 - Ensure sequential focus navigation works in Shadow DOM and add some tests, r=mrbkap
2018-04-22 14:25:38 +03:00
Peter Van der Beken
d245c134c4
Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
2018-02-14 17:35:39 +01:00
Emilio Cobos Álvarez
9e47fd4973
Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz
...
MozReview-Commit-ID: Js0CF7WQM73
2018-03-14 23:32:22 +01:00
b9bc0aa7b5
Bug 1413834 - part 3: Get next tabbable content in shadow DOM, r=smaug
2018-01-26 17:49:06 +02:00
Emilio Cobos Álvarez
8a71d3197b
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ecd202d763
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
b3956b6171
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Masayuki Nakano
87466056af
Bug 1369072 - part3: nsXBLPrototypeHandler::DispatchXBLCommand() should use controller of visible window r=smaug
...
With previous change, KeyboardEvent is dispatched even when invisible window
has focus. However, nsRootWindow::GetControllerForCommand() returns controller
for focused window even when the window is invisible because it uses
nsFocusManager::GetFocusedDescendant() to retrieve focused window.
Perhaps, we can assume that users won't expect to do something with invisible
window when they type some keys. Then, nsRootWindow::GetControllerForCommand()
should return controller for visible ancestor window if focused window is
invisible.
This patch makes nsFocusManager::GetFocusedDescendant() can return only visible
descendants. However, it already has a bool argument. Therefore, it should
have a flag instead of adding new flag. Most changes of this patch is replacing
its callers.
Then, nsRootWindow::GetControllerForCommand() and nsRootWindow::GetControllers()
should have a bool flag if it should return controller(s) for visible window.
This patch adds a bool flag for it. Fortunately, the interface isn't scriptable.
Finally, this patch makes nsXBLPrototypeHandler::DispatchXBLCommand() and
EventStateManager::DoContentCommandEvent() retrieve controller for visible
window since they are always handles user input.
MozReview-Commit-ID: GygttTHuKRm
2017-09-07 22:54:49 +09:00
Jim Mathies
95eb7583b7
Bug 1360666 - Update IME state when nsObjectLoadingContent content changes type from 'loading' to a valid content type. r=masayuki
...
MozReview-Commit-ID: JC3YGS75gpN
2017-08-03 14:07:14 -05:00
Wes Kocher
5b3f4b0bd1
Backed out changeset bcd223309de8 (bug 1360666) for asserting in stylo reftests a=backout
...
MozReview-Commit-ID: HH3rwDwvYyz
2017-08-02 18:14:56 -07:00
Jim Mathies
ec5d051b3c
Bug 1360666 - Update IME state when nsObjectLoadingContent content changes type from 'loading' to a valid content type. r=masayuki
...
MozReview-Commit-ID: 2cjJ5SvJsTa
2017-08-02 15:31:55 -05:00
Kershaw Chang
90b8b89de8
Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer
2017-07-27 23:42:00 +02:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Olli Pettay
e9805c8750
bug 1366517, because of XBL usage, limit not-flushing-always-during-focus() to non-chrome, r=ehsan
2017-05-23 07:34:06 -04:00
Olli Pettay
92e7031a10
Bug 1366250, don't flush layout when calling element.focus() on already focused element. Ensure layout is flushed after changing input.type, r=ehsan
2017-05-19 23:20:48 +03:00
Emilio Cobos Álvarez
e4c9e9f914
Bug 1361301: Don't toggle focus-within state past the nearest common flattened tree ancestor. r=smaug
...
MozReview-Commit-ID: 3L5Nr6z4Q9X
2017-05-03 12:41:24 +02:00
Jessica Jong
f2c8271f53
Bug 1358926 - Check and dequeue delayed events in the queue before firing events. r=smaug
...
When firing an event, check if there is any event in the delayed events queue,
if yes, fire them first to ensure the events are fired in the right order.
MozReview-Commit-ID: DY842oiHcVJ
2017-04-30 10:00:11 -07:00
Kershaw Chang
acb022e9c5
Bug 1309653 - Part2: Send an update of current top level, r=smaug
2017-03-10 01:34:00 +01:00
Kevin Wern
4f6968375c
Bug 687787: support focusin/focusout based on webkit/blink r=smaug
...
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.
If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.
Additionally, add a mochitest and a w3c-platform-test.
MozReview-Commit-ID: AgQ8JBxKIqK
2016-10-06 21:39:53 -04:00
Jessica Jong
fc6533fc79
Bug 1268556 - clicking padding area of 'number' input should not blur. r=smaug
2016-05-23 23:27:00 +02:00
Kershaw Chang
fcbee07db2
Bug 962251 - Add relatedTarget in FocusEvent, r=smaug
2016-03-30 00:53:00 +02:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Masayuki Nakano
9c6ef4b246
Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
a5253572f6
Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
d36f87a852
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Neil Deakin
a6d28f8357
Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug
2015-07-13 06:07:49 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Olli Pettay
515a007288
Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn
2015-02-06 18:26:29 +02:00
Markus Stange
25a51bf09c
Bug 1106906 - Always return false from nsFocusManager::IsParentActivated in the parent process. r=smaug
2015-01-21 16:59:57 -05:00
Neil Deakin
1dfdc906ea
Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange
2014-11-27 08:28:26 -05:00
Masayuki Nakano
a3dcb71c6a
Bug 976673 part.4 Allow nested mouse button event handling for modal dialog r=smaug+enndeakin
2014-06-18 15:13:01 +09:00
Masayuki Nakano
6a04930efa
Bug 976673 part.2 Allow to steal focus by JS at handling mouseup event r=enndeakin
2014-06-18 15:13:00 +09:00
Olli Pettay
4ecffccb67
Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
2013-11-24 21:35:34 +02:00
Birunthan Mohanathas
fd194c1851
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Masayuki Nakano
f8005aa64c
Bug 396542 nsFocusManager should restore caret browsing mode when an editor loses focus r=ehsan
2013-05-22 12:28:43 +09:00
Jonathan Watt
bc14e2ee5b
Backout bug 862693 (Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc)
2013-04-21 11:30:11 +01:00
Jonathan Watt
2f353cb3d7
Bug 862693 - Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc
2013-04-17 09:22:55 +01:00
Olli Pettay
cf7db56c27
Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug
2013-03-24 12:32:44 +02:00
David Zbarsky
1623a8ecd6
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00