mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1648944 - Part 4: Move onselectionchange attribute to GlobalEventHandlers r=masayuki,edgar
Differential Revision: https://phabricator.services.mozilla.com/D118378
This commit is contained in:
parent
d5c795aa51
commit
a2f7e12c52
@ -348,8 +348,8 @@ TOUCH_EVENT(touchcancel, eTouchCancel, EventNameType_All, eTouchEventClass)
|
||||
|
||||
DOCUMENT_ONLY_EVENT(readystatechange, eReadyStateChange, EventNameType_HTMLXUL,
|
||||
eBasicEventClass)
|
||||
DOCUMENT_ONLY_EVENT(selectionchange, eSelectionChange, EventNameType_HTMLXUL,
|
||||
eBasicEventClass)
|
||||
EVENT(selectionchange, eSelectionChange, EventNameType_HTMLXUL,
|
||||
eBasicEventClass)
|
||||
DOCUMENT_ONLY_EVENT(visibilitychange, eVisibilityChange, EventNameType_HTMLXUL,
|
||||
eBasicEventClass)
|
||||
|
||||
|
@ -191,8 +191,6 @@ partial interface Document {
|
||||
attribute EventHandler onbeforescriptexecute;
|
||||
attribute EventHandler onafterscriptexecute;
|
||||
|
||||
attribute EventHandler onselectionchange;
|
||||
|
||||
/**
|
||||
* True if this document is synthetic : stand alone image, video, audio file,
|
||||
* etc.
|
||||
|
@ -93,6 +93,7 @@ interface mixin GlobalEventHandlers {
|
||||
attribute EventHandler onwaiting;
|
||||
|
||||
attribute EventHandler onselectstart;
|
||||
attribute EventHandler onselectionchange;
|
||||
|
||||
attribute EventHandler ontoggle;
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
[idlharness.window.html]
|
||||
[Window interface: attribute onselectionchange]
|
||||
expected: FAIL
|
||||
|
||||
[Window interface: window must inherit property "onselectionchange" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onselectionchange]
|
||||
expected: FAIL
|
||||
|
Loading…
Reference in New Issue
Block a user