google-closure-compiler 20250412.0.0-nightly → 20250413.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +5 -30
  2. package/cli.js +3 -4
  3. package/externs/browser/decorators.js +276 -0
  4. package/externs/browser/deprecated.js +58 -0
  5. package/externs/browser/es6_proxy.js +143 -0
  6. package/externs/browser/fetchapi.js +449 -0
  7. package/externs/browser/fido.js +94 -0
  8. package/externs/browser/flash.js +226 -0
  9. package/externs/browser/gecko_css.js +126 -0
  10. package/externs/browser/gecko_dom.js +479 -0
  11. package/externs/browser/gecko_event.js +86 -0
  12. package/externs/browser/gecko_xml.js +73 -0
  13. package/externs/browser/google_legacy.js +31 -0
  14. package/externs/browser/html5.js +6647 -0
  15. package/externs/browser/ie_css.js +270 -0
  16. package/externs/browser/ie_dom.js +1232 -0
  17. package/externs/browser/ie_event.js +310 -0
  18. package/externs/browser/ie_vml.js +77 -0
  19. package/externs/browser/intersection_observer.js +178 -0
  20. package/externs/browser/intl.js +602 -0
  21. package/externs/browser/iphone.js +204 -0
  22. package/externs/browser/mediakeys.js +305 -0
  23. package/externs/browser/mediasource.js +155 -0
  24. package/externs/browser/nonstandard_anim_timing.js +97 -0
  25. package/externs/browser/nonstandard_audio.js +82 -0
  26. package/externs/browser/nonstandard_console.js +75 -0
  27. package/externs/browser/nonstandard_fileapi.js +1066 -0
  28. package/externs/browser/nonstandard_indexeddb.js +78 -0
  29. package/externs/browser/nonstandard_navigation_timing.js +38 -0
  30. package/externs/browser/nonstandard_selection.js +80 -0
  31. package/externs/browser/page_visibility.js +28 -0
  32. package/externs/browser/streamsapi.js +593 -0
  33. package/externs/browser/svg.js +10016 -0
  34. package/externs/browser/url.js +202 -0
  35. package/externs/browser/v8.js +134 -0
  36. package/externs/browser/w3c_abort.js +89 -0
  37. package/externs/browser/w3c_anim_timing.js +49 -0
  38. package/externs/browser/w3c_aria_mixin.js +286 -0
  39. package/externs/browser/w3c_audio.js +1660 -0
  40. package/externs/browser/w3c_batterystatus.js +85 -0
  41. package/externs/browser/w3c_clipboard.js +74 -0
  42. package/externs/browser/w3c_clipboardevent.js +47 -0
  43. package/externs/browser/w3c_composition_event.js +93 -0
  44. package/externs/browser/w3c_css.js +3790 -0
  45. package/externs/browser/w3c_css3d.js +199 -0
  46. package/externs/browser/w3c_device_sensor_event.js +122 -0
  47. package/externs/browser/w3c_dom1.js +1160 -0
  48. package/externs/browser/w3c_dom2.js +3151 -0
  49. package/externs/browser/w3c_dom3.js +555 -0
  50. package/externs/browser/w3c_dom4.js +289 -0
  51. package/externs/browser/w3c_elementtraversal.js +116 -0
  52. package/externs/browser/w3c_event.js +607 -0
  53. package/externs/browser/w3c_event3.js +77 -0
  54. package/externs/browser/w3c_eventsource.js +110 -0
  55. package/externs/browser/w3c_fileapi.js +302 -0
  56. package/externs/browser/w3c_gamepad.js +113 -0
  57. package/externs/browser/w3c_geolocation.js +130 -0
  58. package/externs/browser/w3c_geometry1.js +899 -0
  59. package/externs/browser/w3c_indexeddb.js +771 -0
  60. package/externs/browser/w3c_keyboardlock.js +47 -0
  61. package/externs/browser/w3c_mediacapabilities.js +206 -0
  62. package/externs/browser/w3c_midi.js +301 -0
  63. package/externs/browser/w3c_navigation.js +72 -0
  64. package/externs/browser/w3c_navigation_timing.js +437 -0
  65. package/externs/browser/w3c_netinfo.js +85 -0
  66. package/externs/browser/w3c_payment_request.js +401 -0
  67. package/externs/browser/w3c_permissions.js +112 -0
  68. package/externs/browser/w3c_permissions_policy.js +78 -0
  69. package/externs/browser/w3c_pointer_events.js +163 -0
  70. package/externs/browser/w3c_pointerlock.js +63 -0
  71. package/externs/browser/w3c_range.js +284 -0
  72. package/externs/browser/w3c_referrer_policy.js +36 -0
  73. package/externs/browser/w3c_requestidlecallback.js +76 -0
  74. package/externs/browser/w3c_rtc.js +3882 -0
  75. package/externs/browser/w3c_screen_orientation.js +53 -0
  76. package/externs/browser/w3c_screen_wake_lock.js +58 -0
  77. package/externs/browser/w3c_selection.js +209 -0
  78. package/externs/browser/w3c_selectors.js +113 -0
  79. package/externs/browser/w3c_serviceworker.js +739 -0
  80. package/externs/browser/w3c_speech.js +426 -0
  81. package/externs/browser/w3c_touch_event.js +296 -0
  82. package/externs/browser/w3c_trusted_types.js +142 -0
  83. package/externs/browser/w3c_vibration.js +38 -0
  84. package/externs/browser/w3c_webcodecs.js +1473 -0
  85. package/externs/browser/w3c_webcrypto.js +839 -0
  86. package/externs/browser/w3c_worklets.js +54 -0
  87. package/externs/browser/w3c_xml.js +533 -0
  88. package/externs/browser/web_animations.js +452 -0
  89. package/externs/browser/web_app_manifest.js +50 -0
  90. package/externs/browser/webassembly.js +223 -0
  91. package/externs/browser/webgl.js +3409 -0
  92. package/externs/browser/webgl2.js +2727 -0
  93. package/externs/browser/webgl2_compute.js +1609 -0
  94. package/externs/browser/webkit_css.js +456 -0
  95. package/externs/browser/webkit_dom.js +118 -0
  96. package/externs/browser/webkit_event.js +46 -0
  97. package/externs/browser/webkit_notifications.js +258 -0
  98. package/externs/browser/webkit_usercontent.js +55 -0
  99. package/externs/browser/weblocksapi.js +125 -0
  100. package/externs/browser/webstorage.js +171 -0
  101. package/externs/browser/whatwg_bitmap_context.js +37 -0
  102. package/externs/browser/whatwg_console.js +152 -0
  103. package/externs/browser/whatwg_encoding.js +99 -0
  104. package/externs/browser/whatwg_file_system.js +296 -0
  105. package/externs/browser/wicg_attribution_reporting.js +42 -0
  106. package/externs/browser/wicg_compression_stream.js +60 -0
  107. package/externs/browser/wicg_constructable_stylesheets.js +60 -0
  108. package/externs/browser/wicg_entries.js +169 -0
  109. package/externs/browser/wicg_file_handling.js +41 -0
  110. package/externs/browser/wicg_file_system_access.js +191 -0
  111. package/externs/browser/wicg_floc.js +41 -0
  112. package/externs/browser/wicg_ink.js +89 -0
  113. package/externs/browser/wicg_resizeobserver.js +100 -0
  114. package/externs/browser/wicg_scheduler.js +62 -0
  115. package/externs/browser/wicg_trust_token.js +89 -0
  116. package/externs/browser/wicg_uach.js +100 -0
  117. package/externs/browser/window.js +190 -0
  118. package/externs/es3.js +2716 -0
  119. package/externs/es5.js +284 -0
  120. package/externs/es6.js +2554 -0
  121. package/externs/es6_collections.js +323 -0
  122. package/index.js +13 -16
  123. package/lib/grunt/index.js +71 -92
  124. package/lib/grunt/vinyl-stream.js +12 -18
  125. package/lib/gulp/concat-to-json.js +30 -18
  126. package/lib/gulp/index.js +174 -181
  127. package/lib/gulp/json-to-vinyl.js +8 -8
  128. package/lib/node/{closure-compiler.js → index.js} +27 -51
  129. package/lib/utils.js +16 -14
  130. package/package.json +19 -16
  131. package/lib/logger.js +0 -89
@@ -0,0 +1,456 @@
1
+ /*
2
+ * Copyright 2008 The Closure Compiler Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * @fileoverview Definitions for WebKit's custom CSS properties. Copied from:
19
+ * {@link
20
+ * http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSPropertyNames.in}
21
+ *
22
+ * If you make changes to this file, notice that every property appears
23
+ * twice: once as an uppercase name and once as a lowercase name.
24
+ * WebKit allows both. The uppercase version is preferred.
25
+ *
26
+ * @externs
27
+ * @author nicksantos@google.com (Nick Santos)
28
+ */
29
+
30
+ /** @type {string} */ CSSProperties.prototype.WebkitAlignContent;
31
+ /** @type {string} */ CSSProperties.prototype.WebkitAlignItems;
32
+ /** @type {string} */ CSSProperties.prototype.WebkitAlignSelf;
33
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimation;
34
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationDelay;
35
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationDirection;
36
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationDuration;
37
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationFillMode;
38
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationIterationCount;
39
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationName;
40
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationPlayState;
41
+ /** @type {string} */ CSSProperties.prototype.WebkitAnimationTimingFunction;
42
+ /** @type {string} */ CSSProperties.prototype.WebkitAppearance;
43
+ /** @type {string} */ CSSProperties.prototype.WebkitAppRegion;
44
+ /** @type {string} */ CSSProperties.prototype.WebkitAspectRatio;
45
+ /** @type {string} */ CSSProperties.prototype.WebkitBackfaceVisibility;
46
+ /** @type {string} */ CSSProperties.prototype.WebkitBackgroundClip;
47
+ /** @type {string} */ CSSProperties.prototype.WebkitBackgroundComposite;
48
+ /** @type {string} */ CSSProperties.prototype.WebkitBackgroundOrigin;
49
+ /** @type {string} */ CSSProperties.prototype.WebkitBackgroundSize;
50
+ /** @type {string} */ CSSProperties.prototype.WebkitBinding;
51
+ /** @type {string} */ CSSProperties.prototype.WebkitBlendMode;
52
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderAfter;
53
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderAfterColor;
54
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderAfterStyle;
55
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderAfterWidth;
56
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBefore;
57
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBeforeColor;
58
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBeforeStyle;
59
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBeforeWidth;
60
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBottomLeftRadius;
61
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderBottomRightRadius;
62
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderEnd;
63
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderEndColor;
64
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderEndStyle;
65
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderEndWidth;
66
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderFit;
67
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderHorizontalSpacing;
68
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderImage;
69
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderRadius;
70
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderStart;
71
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderStartColor;
72
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderStartStyle;
73
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderStartWidth;
74
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderTopLeftRadius;
75
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderTopRightRadius;
76
+ /** @type {string} */ CSSProperties.prototype.WebkitBorderVerticalSpacing;
77
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxAlign;
78
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxDecorationBreak;
79
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxDirection;
80
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxFlex;
81
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxFlexGroup;
82
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxLines;
83
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxOrdinalGroup;
84
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxOrient;
85
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxPack;
86
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxReflect;
87
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxShadow;
88
+ /** @type {string} */ CSSProperties.prototype.WebkitBoxSizing;
89
+ /** @type {string} */ CSSProperties.prototype.WebkitColorCorrection;
90
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnAxis;
91
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnBreakAfter;
92
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnBreakBefore;
93
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnBreakInside;
94
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnCount;
95
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnGap;
96
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnProgression;
97
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnRule;
98
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnRuleColor;
99
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnRuleStyle;
100
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnRuleWidth;
101
+ /** @type {string} */ CSSProperties.prototype.WebkitColumns;
102
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnSpan;
103
+ /** @type {string} */ CSSProperties.prototype.WebkitColumnWidth;
104
+ /** @type {string} */ CSSProperties.prototype.WebkitDashboardRegion;
105
+ /** @type {string} */ CSSProperties.prototype.WebkitFilter;
106
+ /** @type {string} */ CSSProperties.prototype.WebkitFlex;
107
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexBasis;
108
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexDirection;
109
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexFlow;
110
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexGrow;
111
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexShrink;
112
+ /** @type {string} */ CSSProperties.prototype.WebkitFlexWrap;
113
+ /** @type {string} */ CSSProperties.prototype.WebkitFlowFrom;
114
+ /** @type {string} */ CSSProperties.prototype.WebkitFlowInto;
115
+ /** @type {string} */ CSSProperties.prototype.WebkitFontSizeDelta;
116
+ /** @type {string} */ CSSProperties.prototype.WebkitFontSmoothing;
117
+ /** @type {string} */ CSSProperties.prototype.WebkitGridColumn;
118
+ /** @type {string} */ CSSProperties.prototype.WebkitGridColumns;
119
+ /** @type {string} */ CSSProperties.prototype.WebkitGridRow;
120
+ /** @type {string} */ CSSProperties.prototype.WebkitGridRows;
121
+ /** @type {string} */ CSSProperties.prototype.WebkitHighlight;
122
+ /** @type {string} */ CSSProperties.prototype.WebkitHyphenateCharacter;
123
+ /** @type {string} */ CSSProperties.prototype.WebkitHyphenateLimitAfter;
124
+ /** @type {string} */ CSSProperties.prototype.WebkitHyphenateLimitBefore;
125
+ /** @type {string} */ CSSProperties.prototype.WebkitHyphenateLimitLines;
126
+ /** @type {string} */ CSSProperties.prototype.WebkitHyphens;
127
+ /** @type {string} */ CSSProperties.prototype.WebkitJustifyContent;
128
+ /** @type {string} */ CSSProperties.prototype.WebkitLineAlign;
129
+ /** @type {string} */ CSSProperties.prototype.WebkitLineBoxContain;
130
+ /** @type {string} */ CSSProperties.prototype.WebkitLineBreak;
131
+ /** @type {string} */ CSSProperties.prototype.WebkitLineClamp;
132
+ /** @type {string} */ CSSProperties.prototype.WebkitLineGrid;
133
+ /** @type {string} */ CSSProperties.prototype.WebkitLineSnap;
134
+ /** @type {string} */ CSSProperties.prototype.WebkitLocale;
135
+ /** @type {string} */ CSSProperties.prototype.WebkitLogicalHeight;
136
+ /** @type {string} */ CSSProperties.prototype.WebkitLogicalWidth;
137
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginAfter;
138
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginAfterCollapse;
139
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginBefore;
140
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginBeforeCollapse;
141
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginBottomCollapse;
142
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginCollapse;
143
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginEnd;
144
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginStart;
145
+ /** @type {string} */ CSSProperties.prototype.WebkitMarginTopCollapse;
146
+ /** @type {string} */ CSSProperties.prototype.WebkitMarquee;
147
+ /** @type {string} */ CSSProperties.prototype.WebkitMarqueeDirection;
148
+ /** @type {string} */ CSSProperties.prototype.WebkitMarqueeIncrement;
149
+ /** @type {string} */ CSSProperties.prototype.WebkitMarqueeRepetition;
150
+ /** @type {string} */ CSSProperties.prototype.WebkitMarqueeSpeed;
151
+ /** @type {string} */ CSSProperties.prototype.WebkitMarqueeStyle;
152
+ /** @type {string} */ CSSProperties.prototype.WebkitMask;
153
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskAttachment;
154
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImage;
155
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImageOutset;
156
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImageRepeat;
157
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImageSlice;
158
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImageSource;
159
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskBoxImageWidth;
160
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskClip;
161
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskComposite;
162
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskImage;
163
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskOrigin;
164
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskPosition;
165
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskPositionX;
166
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskPositionY;
167
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskRepeat;
168
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskRepeatX;
169
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskRepeatY;
170
+ /** @type {string} */ CSSProperties.prototype.WebkitMaskSize;
171
+ /** @type {string} */
172
+ CSSProperties.prototype.WebkitMatchNearestMailBlockquoteColor;
173
+ /** @type {string} */ CSSProperties.prototype.WebkitMaxLogicalHeight;
174
+ /** @type {string} */ CSSProperties.prototype.WebkitMaxLogicalWidth;
175
+ /** @type {string} */ CSSProperties.prototype.WebkitMinLogicalHeight;
176
+ /** @type {string} */ CSSProperties.prototype.WebkitMinLogicalWidth;
177
+ /** @type {string} */ CSSProperties.prototype.WebkitNbspMode;
178
+ /** @type {string} */ CSSProperties.prototype.WebkitOrder;
179
+ /** @type {string} */ CSSProperties.prototype.WebkitOverflowScrolling;
180
+ /** @type {string} */ CSSProperties.prototype.WebkitPaddingAfter;
181
+ /** @type {string} */ CSSProperties.prototype.WebkitPaddingBefore;
182
+ /** @type {string} */ CSSProperties.prototype.WebkitPaddingEnd;
183
+ /** @type {string} */ CSSProperties.prototype.WebkitPaddingStart;
184
+ /** @type {string} */ CSSProperties.prototype.WebkitPerspective;
185
+ /** @type {string} */ CSSProperties.prototype.WebkitPerspectiveOrigin;
186
+ /** @type {string} */ CSSProperties.prototype.WebkitPerspectiveOriginX;
187
+ /** @type {string} */ CSSProperties.prototype.WebkitPerspectiveOriginY;
188
+ /** @type {string} */ CSSProperties.prototype.WebkitPrintColorAdjust;
189
+ /** @type {string} */ CSSProperties.prototype.WebkitRegionBreakAfter;
190
+ /** @type {string} */ CSSProperties.prototype.WebkitRegionBreakBefore;
191
+ /** @type {string} */ CSSProperties.prototype.WebkitRegionBreakInside;
192
+ /** @type {string} */ CSSProperties.prototype.WebkitRegionOverflow;
193
+ /** @type {string} */ CSSProperties.prototype.WebkitRtlOrdering;
194
+ /** @type {string} */ CSSProperties.prototype.WebkitRubyPosition;
195
+ /** @type {string} */ CSSProperties.prototype.WebkitShapeInside;
196
+ /** @type {string} */ CSSProperties.prototype.WebkitShapeMargin;
197
+ /** @type {string} */ CSSProperties.prototype.WebkitShapeOutside;
198
+ /** @type {string} */ CSSProperties.prototype.WebkitShapePadding;
199
+ /** @type {string} */ CSSProperties.prototype.WebkitTapHighlightColor;
200
+ /** @type {string} */ CSSProperties.prototype.WebkitTextAlignLast;
201
+ /** @type {string} */ CSSProperties.prototype.WebkitTextCombine;
202
+ /** @type {string} */ CSSProperties.prototype.WebkitTextDecorationLine;
203
+ /** @type {string} */ CSSProperties.prototype.WebkitTextDecorationsInEffect;
204
+ /** @type {string} */ CSSProperties.prototype.WebkitTextDecorationStyle;
205
+ /** @type {string} */ CSSProperties.prototype.WebkitTextEmphasis;
206
+ /** @type {string} */ CSSProperties.prototype.WebkitTextEmphasisColor;
207
+ /** @type {string} */ CSSProperties.prototype.WebkitTextEmphasisPosition;
208
+ /** @type {string} */ CSSProperties.prototype.WebkitTextEmphasisStyle;
209
+ /** @type {string} */ CSSProperties.prototype.WebkitTextFillColor;
210
+ /** @type {string} */ CSSProperties.prototype.WebkitTextOrientation;
211
+ /** @type {string} */ CSSProperties.prototype.WebkitTextSecurity;
212
+ /** @type {string} */ CSSProperties.prototype.WebkitTextSizeAdjust;
213
+ /** @type {string} */ CSSProperties.prototype.WebkitTextStroke;
214
+ /** @type {string} */ CSSProperties.prototype.WebkitTextStrokeColor;
215
+ /** @type {string} */ CSSProperties.prototype.WebkitTextStrokeWidth;
216
+ /** @type {string} */ CSSProperties.prototype.WebkitTransform;
217
+ /** @type {string} */ CSSProperties.prototype.WebkitTransformOrigin;
218
+ /** @type {string} */ CSSProperties.prototype.WebkitTransformOriginX;
219
+ /** @type {string} */ CSSProperties.prototype.WebkitTransformOriginY;
220
+ /** @type {string} */ CSSProperties.prototype.WebkitTransformOriginZ;
221
+ /** @type {string} */ CSSProperties.prototype.WebkitTransformStyle;
222
+ /** @type {string} */ CSSProperties.prototype.WebkitTransition;
223
+ /** @type {string} */ CSSProperties.prototype.WebkitTransitionDelay;
224
+ /** @type {string} */ CSSProperties.prototype.WebkitTransitionDuration;
225
+ /** @type {string} */ CSSProperties.prototype.WebkitTransitionProperty;
226
+ /** @type {string} */ CSSProperties.prototype.WebkitTransitionRepeatCount;
227
+ /** @type {string} */ CSSProperties.prototype.WebkitTransitionTimingFunction;
228
+ /** @type {string} */ CSSProperties.prototype.WebkitUserDrag;
229
+ /** @type {string} */ CSSProperties.prototype.WebkitUserModify;
230
+ /** @type {string} */ CSSProperties.prototype.WebkitUserSelect;
231
+ /** @type {string} */ CSSProperties.prototype.WebkitWrap;
232
+ /** @type {string} */ CSSProperties.prototype.WebkitWrapFlow;
233
+ /** @type {string} */ CSSProperties.prototype.WebkitWrapThrough;
234
+ /** @type {string} */ CSSProperties.prototype.WebkitWritingMode;
235
+
236
+ // WebKit also adds bindings for the lowercase versions of these properties.
237
+ // The uppercase version is preferred.
238
+
239
+ /** @type {string} */ CSSProperties.prototype.webkitAlignContent;
240
+ /** @type {string} */ CSSProperties.prototype.webkitAlignItems;
241
+ /** @type {string} */ CSSProperties.prototype.webkitAlignSelf;
242
+ /** @type {string} */ CSSProperties.prototype.webkitAnimation;
243
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationDelay;
244
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationDirection;
245
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationDuration;
246
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationFillMode;
247
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationIterationCount;
248
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationName;
249
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationPlayState;
250
+ /** @type {string} */ CSSProperties.prototype.webkitAnimationTimingFunction;
251
+ /** @type {string} */ CSSProperties.prototype.webkitAppearance;
252
+ /** @type {string} */ CSSProperties.prototype.webkitAppRegion;
253
+ /** @type {string} */ CSSProperties.prototype.webkitAspectRatio;
254
+ /** @type {string} */ CSSProperties.prototype.webkitBackfaceVisibility;
255
+ /** @type {string} */ CSSProperties.prototype.webkitBackgroundClip;
256
+ /** @type {string} */ CSSProperties.prototype.webkitBackgroundComposite;
257
+ /** @type {string} */ CSSProperties.prototype.webkitBackgroundOrigin;
258
+ /** @type {string} */ CSSProperties.prototype.webkitBackgroundSize;
259
+ /** @type {string} */ CSSProperties.prototype.webkitBinding;
260
+ /** @type {string} */ CSSProperties.prototype.webkitBlendMode;
261
+ /** @type {string} */ CSSProperties.prototype.webkitBorderAfter;
262
+ /** @type {string} */ CSSProperties.prototype.webkitBorderAfterColor;
263
+ /** @type {string} */ CSSProperties.prototype.webkitBorderAfterStyle;
264
+ /** @type {string} */ CSSProperties.prototype.webkitBorderAfterWidth;
265
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBefore;
266
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBeforeColor;
267
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBeforeStyle;
268
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBeforeWidth;
269
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBottomLeftRadius;
270
+ /** @type {string} */ CSSProperties.prototype.webkitBorderBottomRightRadius;
271
+ /** @type {string} */ CSSProperties.prototype.webkitBorderEnd;
272
+ /** @type {string} */ CSSProperties.prototype.webkitBorderEndColor;
273
+ /** @type {string} */ CSSProperties.prototype.webkitBorderEndStyle;
274
+ /** @type {string} */ CSSProperties.prototype.webkitBorderEndWidth;
275
+ /** @type {string} */ CSSProperties.prototype.webkitBorderFit;
276
+ /** @type {string} */ CSSProperties.prototype.webkitBorderHorizontalSpacing;
277
+ /** @type {string} */ CSSProperties.prototype.webkitBorderImage;
278
+ /** @type {string} */ CSSProperties.prototype.webkitBorderRadius;
279
+ /** @type {string} */ CSSProperties.prototype.webkitBorderStart;
280
+ /** @type {string} */ CSSProperties.prototype.webkitBorderStartColor;
281
+ /** @type {string} */ CSSProperties.prototype.webkitBorderStartStyle;
282
+ /** @type {string} */ CSSProperties.prototype.webkitBorderStartWidth;
283
+ /** @type {string} */ CSSProperties.prototype.webkitBorderTopLeftRadius;
284
+ /** @type {string} */ CSSProperties.prototype.webkitBorderTopRightRadius;
285
+ /** @type {string} */ CSSProperties.prototype.webkitBorderVerticalSpacing;
286
+ /** @type {string} */ CSSProperties.prototype.webkitBoxAlign;
287
+ /** @type {string} */ CSSProperties.prototype.webkitBoxDecorationBreak;
288
+ /** @type {string} */ CSSProperties.prototype.webkitBoxDirection;
289
+ /** @type {string} */ CSSProperties.prototype.webkitBoxFlex;
290
+ /** @type {string} */ CSSProperties.prototype.webkitBoxFlexGroup;
291
+ /** @type {string} */ CSSProperties.prototype.webkitBoxLines;
292
+ /** @type {string} */ CSSProperties.prototype.webkitBoxOrdinalGroup;
293
+ /** @type {string} */ CSSProperties.prototype.webkitBoxOrient;
294
+ /** @type {string} */ CSSProperties.prototype.webkitBoxPack;
295
+ /** @type {string} */ CSSProperties.prototype.webkitBoxReflect;
296
+ /** @type {string} */ CSSProperties.prototype.webkitBoxShadow;
297
+ /** @type {string} */ CSSProperties.prototype.webkitBoxSizing;
298
+ /** @type {string} */ CSSProperties.prototype.webkitColorCorrection;
299
+ /** @type {string} */ CSSProperties.prototype.webkitColumnAxis;
300
+ /** @type {string} */ CSSProperties.prototype.webkitColumnBreakAfter;
301
+ /** @type {string} */ CSSProperties.prototype.webkitColumnBreakBefore;
302
+ /** @type {string} */ CSSProperties.prototype.webkitColumnBreakInside;
303
+ /** @type {string} */ CSSProperties.prototype.webkitColumnCount;
304
+ /** @type {string} */ CSSProperties.prototype.webkitColumnGap;
305
+ /** @type {string} */ CSSProperties.prototype.webkitColumnProgression;
306
+ /** @type {string} */ CSSProperties.prototype.webkitColumnRule;
307
+ /** @type {string} */ CSSProperties.prototype.webkitColumnRuleColor;
308
+ /** @type {string} */ CSSProperties.prototype.webkitColumnRuleStyle;
309
+ /** @type {string} */ CSSProperties.prototype.webkitColumnRuleWidth;
310
+ /** @type {string} */ CSSProperties.prototype.webkitColumns;
311
+ /** @type {string} */ CSSProperties.prototype.webkitColumnSpan;
312
+ /** @type {string} */ CSSProperties.prototype.webkitColumnWidth;
313
+ /** @type {string} */ CSSProperties.prototype.webkitDashboardRegion;
314
+ /** @type {string} */ CSSProperties.prototype.webkitFilter;
315
+ /** @type {string} */ CSSProperties.prototype.webkitFlex;
316
+ /** @type {string} */ CSSProperties.prototype.webkitFlexBasis;
317
+ /** @type {string} */ CSSProperties.prototype.webkitFlexDirection;
318
+ /** @type {string} */ CSSProperties.prototype.webkitFlexFlow;
319
+ /** @type {string} */ CSSProperties.prototype.webkitFlexGrow;
320
+ /** @type {string} */ CSSProperties.prototype.webkitFlexShrink;
321
+ /** @type {string} */ CSSProperties.prototype.webkitFlexWrap;
322
+ /** @type {string} */ CSSProperties.prototype.webkitFlowFrom;
323
+ /** @type {string} */ CSSProperties.prototype.webkitFlowInto;
324
+ /** @type {string} */ CSSProperties.prototype.webkitFontSizeDelta;
325
+ /** @type {string} */ CSSProperties.prototype.webkitFontSmoothing;
326
+ /** @type {string} */ CSSProperties.prototype.webkitGridColumn;
327
+ /** @type {string} */ CSSProperties.prototype.webkitGridColumns;
328
+ /** @type {string} */ CSSProperties.prototype.webkitGridRow;
329
+ /** @type {string} */ CSSProperties.prototype.webkitGridRows;
330
+ /** @type {string} */ CSSProperties.prototype.webkitHighlight;
331
+ /** @type {string} */ CSSProperties.prototype.webkitHyphenateCharacter;
332
+ /** @type {string} */ CSSProperties.prototype.webkitHyphenateLimitAfter;
333
+ /** @type {string} */ CSSProperties.prototype.webkitHyphenateLimitBefore;
334
+ /** @type {string} */ CSSProperties.prototype.webkitHyphenateLimitLines;
335
+ /** @type {string} */ CSSProperties.prototype.webkitHyphens;
336
+ /** @type {string} */ CSSProperties.prototype.webkitJustifyContent;
337
+ /** @type {string} */ CSSProperties.prototype.webkitLineAlign;
338
+ /** @type {string} */ CSSProperties.prototype.webkitLineBoxContain;
339
+ /** @type {string} */ CSSProperties.prototype.webkitLineBreak;
340
+ /** @type {string} */ CSSProperties.prototype.webkitLineClamp;
341
+ /** @type {string} */ CSSProperties.prototype.webkitLineGrid;
342
+ /** @type {string} */ CSSProperties.prototype.webkitLineSnap;
343
+ /** @type {string} */ CSSProperties.prototype.webkitLocale;
344
+ /** @type {string} */ CSSProperties.prototype.webkitLogicalHeight;
345
+ /** @type {string} */ CSSProperties.prototype.webkitLogicalWidth;
346
+ /** @type {string} */ CSSProperties.prototype.webkitMarginAfter;
347
+ /** @type {string} */ CSSProperties.prototype.webkitMarginAfterCollapse;
348
+ /** @type {string} */ CSSProperties.prototype.webkitMarginBefore;
349
+ /** @type {string} */ CSSProperties.prototype.webkitMarginBeforeCollapse;
350
+ /** @type {string} */ CSSProperties.prototype.webkitMarginBottomCollapse;
351
+ /** @type {string} */ CSSProperties.prototype.webkitMarginCollapse;
352
+ /** @type {string} */ CSSProperties.prototype.webkitMarginEnd;
353
+ /** @type {string} */ CSSProperties.prototype.webkitMarginStart;
354
+ /** @type {string} */ CSSProperties.prototype.webkitMarginTopCollapse;
355
+ /** @type {string} */ CSSProperties.prototype.webkitMarquee;
356
+ /** @type {string} */ CSSProperties.prototype.webkitMarqueeDirection;
357
+ /** @type {string} */ CSSProperties.prototype.webkitMarqueeIncrement;
358
+ /** @type {string} */ CSSProperties.prototype.webkitMarqueeRepetition;
359
+ /** @type {string} */ CSSProperties.prototype.webkitMarqueeSpeed;
360
+ /** @type {string} */ CSSProperties.prototype.webkitMarqueeStyle;
361
+ /** @type {string} */ CSSProperties.prototype.webkitMask;
362
+ /** @type {string} */ CSSProperties.prototype.webkitMaskAttachment;
363
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImage;
364
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImageOutset;
365
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImageRepeat;
366
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImageSlice;
367
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImageSource;
368
+ /** @type {string} */ CSSProperties.prototype.webkitMaskBoxImageWidth;
369
+ /** @type {string} */ CSSProperties.prototype.webkitMaskClip;
370
+ /** @type {string} */ CSSProperties.prototype.webkitMaskComposite;
371
+ /** @type {string} */ CSSProperties.prototype.webkitMaskImage;
372
+ /** @type {string} */ CSSProperties.prototype.webkitMaskOrigin;
373
+ /** @type {string} */ CSSProperties.prototype.webkitMaskPosition;
374
+ /** @type {string} */ CSSProperties.prototype.webkitMaskPositionX;
375
+ /** @type {string} */ CSSProperties.prototype.webkitMaskPositionY;
376
+ /** @type {string} */ CSSProperties.prototype.webkitMaskRepeat;
377
+ /** @type {string} */ CSSProperties.prototype.webkitMaskRepeatX;
378
+ /** @type {string} */ CSSProperties.prototype.webkitMaskRepeatY;
379
+ /** @type {string} */ CSSProperties.prototype.webkitMaskSize;
380
+ /** @type {string} */
381
+ CSSProperties.prototype.webkitMatchNearestMailBlockquoteColor;
382
+ /** @type {string} */ CSSProperties.prototype.webkitMaxLogicalHeight;
383
+ /** @type {string} */ CSSProperties.prototype.webkitMaxLogicalWidth;
384
+ /** @type {string} */ CSSProperties.prototype.webkitMinLogicalHeight;
385
+ /** @type {string} */ CSSProperties.prototype.webkitMinLogicalWidth;
386
+ /** @type {string} */ CSSProperties.prototype.webkitNbspMode;
387
+ /** @type {string} */ CSSProperties.prototype.webkitOrder;
388
+ /** @type {string} */ CSSProperties.prototype.webkitOverflowScrolling;
389
+ /** @type {string} */ CSSProperties.prototype.webkitPaddingAfter;
390
+ /** @type {string} */ CSSProperties.prototype.webkitPaddingBefore;
391
+ /** @type {string} */ CSSProperties.prototype.webkitPaddingEnd;
392
+ /** @type {string} */ CSSProperties.prototype.webkitPaddingStart;
393
+ /** @type {string} */ CSSProperties.prototype.webkitPerspective;
394
+ /** @type {string} */ CSSProperties.prototype.webkitPerspectiveOrigin;
395
+ /** @type {string} */ CSSProperties.prototype.webkitPerspectiveOriginX;
396
+ /** @type {string} */ CSSProperties.prototype.webkitPerspectiveOriginY;
397
+ /** @type {string} */ CSSProperties.prototype.webkitPrintColorAdjust;
398
+ /** @type {string} */ CSSProperties.prototype.webkitRegionBreakAfter;
399
+ /** @type {string} */ CSSProperties.prototype.webkitRegionBreakBefore;
400
+ /** @type {string} */ CSSProperties.prototype.webkitRegionBreakInside;
401
+ /** @type {string} */ CSSProperties.prototype.webkitRegionOverflow;
402
+ /** @type {string} */ CSSProperties.prototype.webkitRtlOrdering;
403
+ /** @type {string} */ CSSProperties.prototype.webkitRubyPosition;
404
+ /** @type {string} */ CSSProperties.prototype.webkitShapeInside;
405
+ /** @type {string} */ CSSProperties.prototype.webkitShapeMargin;
406
+ /** @type {string} */ CSSProperties.prototype.webkitShapeOutside;
407
+ /** @type {string} */ CSSProperties.prototype.webkitShapePadding;
408
+ /** @type {string} */ CSSProperties.prototype.webkitTapHighlightColor;
409
+ /** @type {string} */ CSSProperties.prototype.webkitTextAlignLast;
410
+ /** @type {string} */ CSSProperties.prototype.webkitTextCombine;
411
+ /** @type {string} */ CSSProperties.prototype.webkitTextDecorationLine;
412
+ /** @type {string} */ CSSProperties.prototype.webkitTextDecorationsInEffect;
413
+ /** @type {string} */ CSSProperties.prototype.webkitTextDecorationStyle;
414
+ /** @type {string} */ CSSProperties.prototype.webkitTextEmphasis;
415
+ /** @type {string} */ CSSProperties.prototype.webkitTextEmphasisColor;
416
+ /** @type {string} */ CSSProperties.prototype.webkitTextEmphasisPosition;
417
+ /** @type {string} */ CSSProperties.prototype.webkitTextEmphasisStyle;
418
+ /** @type {string} */ CSSProperties.prototype.webkitTextFillColor;
419
+ /** @type {string} */ CSSProperties.prototype.webkitTextOrientation;
420
+ /** @type {string} */ CSSProperties.prototype.webkitTextSecurity;
421
+ /** @type {string} */ CSSProperties.prototype.webkitTextSizeAdjust;
422
+ /** @type {string} */ CSSProperties.prototype.webkitTextStroke;
423
+ /** @type {string} */ CSSProperties.prototype.webkitTextStrokeColor;
424
+ /** @type {string} */ CSSProperties.prototype.webkitTextStrokeWidth;
425
+ /** @type {string} */ CSSProperties.prototype.webkitTransform;
426
+ /** @type {string} */ CSSProperties.prototype.webkitTransformOrigin;
427
+ /** @type {string} */ CSSProperties.prototype.webkitTransformOriginX;
428
+ /** @type {string} */ CSSProperties.prototype.webkitTransformOriginY;
429
+ /** @type {string} */ CSSProperties.prototype.webkitTransformOriginZ;
430
+ /** @type {string} */ CSSProperties.prototype.webkitTransformStyle;
431
+ /** @type {string} */ CSSProperties.prototype.webkitTransition;
432
+ /** @type {string} */ CSSProperties.prototype.webkitTransitionDelay;
433
+ /** @type {string} */ CSSProperties.prototype.webkitTransitionDuration;
434
+ /** @type {string} */ CSSProperties.prototype.webkitTransitionProperty;
435
+ /** @type {string} */ CSSProperties.prototype.webkitTransitionRepeatCount;
436
+ /** @type {string} */ CSSProperties.prototype.webkitTransitionTimingFunction;
437
+ /** @type {string} */ CSSProperties.prototype.webkitUserDrag;
438
+ /** @type {string} */ CSSProperties.prototype.webkitUserModify;
439
+ /** @type {string} */ CSSProperties.prototype.webkitUserSelect;
440
+ /** @type {string} */ CSSProperties.prototype.webkitWrap;
441
+ /** @type {string} */ CSSProperties.prototype.webkitWrapFlow;
442
+ /** @type {string} */ CSSProperties.prototype.webkitWrapThrough;
443
+ /** @type {string} */ CSSProperties.prototype.webkitWritingMode;
444
+
445
+ /**
446
+ * @constructor
447
+ * @param {number} x
448
+ * @param {number} y
449
+ */
450
+ function WebKitPoint(x, y) {}
451
+
452
+ /** @type {number} */
453
+ WebKitPoint.prototype.x;
454
+
455
+ /** @type {number} */
456
+ WebKitPoint.prototype.y;
@@ -0,0 +1,118 @@
1
+ /*
2
+ * Copyright 2008 The Closure Compiler Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * @fileoverview Definitions for all the extensions over W3C's DOM
19
+ * specification by WebKit. This file depends on w3c_dom2.js.
20
+ * All the provided definitions has been type annotated
21
+ *
22
+ * @externs
23
+ */
24
+
25
+ /**
26
+ * @param {boolean=} opt_center
27
+ * @see https://bugzilla.mozilla.org/show_bug.cgi?id=403510
28
+ * @return {undefined}
29
+ */
30
+ Element.prototype.scrollIntoViewIfNeeded = function(opt_center) {};
31
+
32
+ /**
33
+ * @constructor
34
+ * @see http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/ScriptProfileNode.idl
35
+ */
36
+ function ScriptProfileNode() {};
37
+
38
+ /** @type {string} */
39
+ ScriptProfileNode.prototype.functionName;
40
+
41
+ /** @type {string} */
42
+ ScriptProfileNode.prototype.url;
43
+
44
+ /** @type {number} */
45
+ ScriptProfileNode.prototype.lineNumber;
46
+
47
+ /** @type {number} */
48
+ ScriptProfileNode.prototype.totalTime;
49
+
50
+ /** @type {number} */
51
+ ScriptProfileNode.prototype.selfTime;
52
+
53
+ /** @type {number} */
54
+ ScriptProfileNode.prototype.numberOfCalls;
55
+
56
+ /** @type {Array<ScriptProfileNode>} */
57
+ ScriptProfileNode.prototype.children;
58
+
59
+ /** @type {boolean} */
60
+ ScriptProfileNode.prototype.visible;
61
+
62
+ /** @type {number} */
63
+ ScriptProfileNode.prototype.callUID;
64
+
65
+ /**
66
+ * @constructor
67
+ * @see http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/ScriptProfile.idl
68
+ */
69
+ function ScriptProfile() {};
70
+
71
+ /** @type {string} */
72
+ ScriptProfile.prototype.title;
73
+
74
+ /** @type {number} */
75
+ ScriptProfile.prototype.uid;
76
+
77
+ /** @type {ScriptProfileNode} */
78
+ ScriptProfile.prototype.head;
79
+
80
+ /**
81
+ * @type {number}
82
+ * @see http://developer.android.com/reference/android/webkit/WebView.html
83
+ */
84
+ Window.prototype.devicePixelRatio;
85
+
86
+ /**
87
+ * @param {string} contextId
88
+ * @param {string} name
89
+ * @param {number} width
90
+ * @param {number} height
91
+ * @nosideeffects
92
+ * @return {undefined}
93
+ */
94
+ Document.prototype.getCSSCanvasContext =
95
+ function(contextId, name, width, height) {};
96
+
97
+ /**
98
+ * @param {number} x
99
+ * @param {number} y
100
+ * @return {?Range}
101
+ * @nosideeffects
102
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/caretRangeFromPoint
103
+ */
104
+ Document.prototype.caretRangeFromPoint = function(x, y) {};
105
+
106
+ /**
107
+ * @return {!Promise<boolean>}
108
+ * @nosideeffects
109
+ * @see https://webkit.org/blog/8124/introducing-storage-access-api
110
+ */
111
+ Document.prototype.hasStorageAccess = function() {};
112
+
113
+ /**
114
+ * @return {!Promise<void>}
115
+ * @see https://webkit.org/blog/8124/introducing-storage-access-api
116
+ * @see https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess#Syntax
117
+ */
118
+ Document.prototype.requestStorageAccess = function() {};
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Copyright 2009 The Closure Compiler Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * @fileoverview Definitions for all the extensions over W3C's
19
+ * event specification by WebKit. This file depends on w3c_event.js.
20
+ * All the provided definitions have been type annotated
21
+ *
22
+ * @externs
23
+ */
24
+
25
+ /** @type {number} */
26
+ Event.prototype.wheelDeltaX;
27
+
28
+ /** @type {number} */
29
+ Event.prototype.wheelDeltaY;
30
+
31
+ /**
32
+ * @constructor
33
+ * @extends {Event}
34
+ * @see http://developer.apple.com/library/safari/documentation/AudioVideo/Reference/WebKitAnimationEventClassReference/WebKitAnimationEvent/WebKitAnimationEvent.html
35
+ */
36
+ function WebKitAnimationEvent() {}
37
+
38
+ /**
39
+ * @const {string}
40
+ */
41
+ WebKitAnimationEvent.prototype.animationName;
42
+
43
+ /**
44
+ * @const {number}
45
+ */
46
+ WebKitAnimationEvent.prototype.elapsedTime;