|
1 |
| -From a7226b687cb8f5b654392aa191aace5bce1d4912 Mon Sep 17 00:00:00 2001 |
| 1 | +From 2e9493bbe60c0558d5d9a5d91a17992a889c6906 Mon Sep 17 00:00:00 2001 |
2 | 2 | From: Kagami Sascha Rosylight <saschanaz@outlook.com>
|
3 | 3 | Date: Fri, 19 Mar 2021 03:20:54 +0100
|
4 | 4 | Subject: [PATCH] Fix uievents.idl
|
5 | 5 |
|
6 |
| -https://github.com/w3c/uievents/pull/287 |
7 |
| -https://github.com/w3c/uievents/pull/296 |
| 6 | +https://github.com/w3c/uievents/pull/297 |
8 | 7 | ---
|
9 |
| - ed/idl/uievents.idl | 66 ++++++++++++++++++++++++++++++++++++++++----- |
10 |
| - 1 file changed, 59 insertions(+), 7 deletions(-) |
| 8 | + ed/idl/uievents.idl | 14 +++++++------- |
| 9 | + 1 file changed, 7 insertions(+), 7 deletions(-) |
11 | 10 |
|
12 | 11 | diff --git a/ed/idl/uievents.idl b/ed/idl/uievents.idl
|
13 |
| -index d5506ef77..716998278 100644 |
| 12 | +index 711b9620b..8eaab30ea 100644 |
14 | 13 | --- a/ed/idl/uievents.idl
|
15 | 14 | +++ b/ed/idl/uievents.idl
|
16 | 15 | @@ -5,7 +5,7 @@
|
@@ -76,74 +75,6 @@ index d5506ef77..716998278 100644
|
76 | 75 | readonly attribute DOMString data;
|
77 | 76 | };
|
78 | 77 |
|
79 |
| -@@ -152,11 +152,49 @@ dictionary CompositionEventInit : UIEventInit { |
80 |
| - DOMString data = ""; |
81 |
| - }; |
82 |
| - |
83 |
| -+partial interface UIEvent { |
84 |
| -+ // Deprecated in this specification |
85 |
| -+ undefined initUIEvent(); |
86 |
| -+}; |
87 |
| -+ |
88 |
| -+partial interface MouseEvent { |
89 |
| -+ // Deprecated in this specification |
90 |
| -+ undefined initMouseEvent(); |
91 |
| -+}; |
92 |
| -+ |
93 |
| -+partial interface WheelEvent { |
94 |
| -+ // Originally introduced (and deprecated) in this specification |
95 |
| -+ undefined initWheelEvent(); |
96 |
| -+}; |
97 |
| -+ |
98 |
| -+partial interface KeyboardEvent { |
99 |
| -+ // Originally introduced (and deprecated) in this specification |
100 |
| -+ undefined initKeyboardEvent(DOMString typeArg, |
101 |
| -+ optional boolean bubblesArg = false, |
102 |
| -+ optional boolean cancelableArg = false, |
103 |
| -+ optional Window? viewArg = null, |
104 |
| -+ optional DOMString keyArg = "", |
105 |
| -+ optional unsigned long locationArg = 0, |
106 |
| -+ optional boolean ctrlKey = false, |
107 |
| -+ optional boolean altKey = false, |
108 |
| -+ optional boolean shiftKey = false, |
109 |
| -+ optional boolean metaKey = false); |
110 |
| -+}; |
111 |
| -+ |
112 |
| -+partial interface CompositionEvent { |
113 |
| -+ // Originally introduced (and deprecated) in this specification |
114 |
| -+ undefined initCompositionEvent(); |
115 |
| -+}; |
116 |
| -+ |
117 |
| - partial interface UIEvent { |
118 |
| - // The following support legacy user agents |
119 |
| - readonly attribute unsigned long which; |
120 |
| - }; |
121 |
| - |
122 |
| -+partial dictionary UIEventInit { |
123 |
| -+ unsigned long which = 0; |
124 |
| -+}; |
125 |
| -+ |
126 |
| - partial interface KeyboardEvent { |
127 |
| - // The following support legacy user agents |
128 |
| - readonly attribute unsigned long charCode; |
129 |
| -@@ -168,3 +206,17 @@ partial dictionary KeyboardEventInit { |
130 |
| - unsigned long charCode = 0; |
131 |
| - unsigned long keyCode = 0; |
132 |
| - }; |
133 |
| -+ |
134 |
| -+interface MutationEvent : Event { |
135 |
| -+ // attrChangeType |
136 |
| -+ const unsigned short MODIFICATION = 1; |
137 |
| -+ const unsigned short ADDITION = 2; |
138 |
| -+ const unsigned short REMOVAL = 3; |
139 |
| -+ readonly attribute Node? relatedNode; |
140 |
| -+ readonly attribute DOMString prevValue; |
141 |
| -+ readonly attribute DOMString newValue; |
142 |
| -+ readonly attribute DOMString attrName; |
143 |
| -+ readonly attribute unsigned short attrChange; |
144 |
| -+ |
145 |
| -+ undefined initMutationEvent(); |
146 |
| -+}; |
147 | 78 | --
|
148 |
| -2.30.2.windows.1 |
| 79 | +2.31.0.rc2.261.g7f71774620-goog |
149 | 80 |
|
0 commit comments