Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 description(
2 'This tests the behavior of non-numeric values in contexts where the DOM has a n umeric parameter.'
3 );
4
5 function nonNumericPolicy(template)
6 {
7 var x = 0;
8 try {
9 eval(template);
10 } catch (e) {
11 return e;
12 }
13
14 var nullAllowed = 1;
15 x = null;
16 try {
17 eval(template);
18 } catch (e) {
19 nullAllowed = 0;
20 }
21
22 var undefinedAllowed = 1;
23 x = undefined;
24 try {
25 eval(template);
26 } catch (e) {
27 undefinedAllowed = 0;
28 }
29
30 var stringAllowed = 1;
31 x = "string";
32 try {
33 eval(template);
34 } catch (e) {
35 stringAllowed = 0;
36 }
37
38 var documentAllowed = 1;
39 x = document;
40 try {
41 eval(template);
42 } catch (e) {
43 documentAllowed = 0;
44 }
45
46 var nonIntegerAllowed = 1;
47 x = 0.1;
48 try {
49 eval(template);
50 } catch (e) {
51 nonIntegerAllowed = 0;
52 }
53
54 var infinityAllowed = 1;
55 x = Infinity;
56 try {
57 eval(template);
58 } catch (e) {
59 infinityAllowed = 0;
60 }
61
62 var nanAllowed = 1;
63 x = NaN;
64 try {
65 eval(template);
66 } catch (e) {
67 nanAllowed = 0;
68 }
69
70 var omitAllowed = -1; // means "not applicable"
71 var templateWithoutArg = template.replace(", x)", ")").replace("(x)", "()");
72 if (templateWithoutArg != template) {
73 omitAllowed = 1;
74 try {
75 eval(templateWithoutArg);
76 } catch(e) {
77 omitAllowed = 0;
78 }
79 }
80
81 var expectOmitAllowed = navigator.userAgent.match("Gecko/") != "Gecko/";
82
83 if (nullAllowed && undefinedAllowed && stringAllowed && documentAllowed && n onIntegerAllowed && infinityAllowed && nanAllowed) {
84 if (omitAllowed == -1 || omitAllowed == (expectOmitAllowed ? 1 : 0))
85 return "any type allowed";
86 if (omitAllowed == 1)
87 return "any type allowed (or omitted)";
88 if (omitAllowed == 0)
89 return "any type allowed (but not omitted)";
90 }
91 if (nullAllowed && !undefinedAllowed && !stringAllowed && !documentAllowed & & nonIntegerAllowed && !infinityAllowed && nanAllowed && omitAllowed == 1)
92 return "number or null allowed (or omitted, but not infinite)";
93 return "mixed";
94 }
95
96 var selector = "a";
97 var styleText = "font-size: smaller";
98 var ruleText = selector + " { " + styleText + " }";
99
100 var testElementContainer = document.createElement("div");
101 document.body.appendChild(testElementContainer);
102
103 function createFromMarkup(markup)
104 {
105 var range = document.createRange();
106 var fragmentContainer = document.createElement("div");
107 range.selectNodeContents(fragmentContainer);
108 testElementContainer.appendChild(fragmentContainer);
109 var fragment = range.createContextualFragment(markup);
110 fragmentContainer.appendChild(fragment);
111 return fragmentContainer.firstChild;
112 }
113
114 function createCSSStyleSheet()
115 {
116 return createFromMarkup("<style>" + ruleText + "</style>").sheet;
117 }
118
119 function createCSSRuleList()
120 {
121 return createCSSStyleSheet().cssRules;
122 }
123
124 function createCSSStyleDeclaration()
125 {
126 return createCSSRuleList().item(0).style;
127 }
128
129 function createCSSMediaRule()
130 {
131 var rule = createFromMarkup("<style>@media screen { a { text-weight: bold } }</style>").sheet.cssRules.item(0);
132 rule.insertRule(ruleText, 0);
133 return rule;
134 }
135
136 function createMediaList()
137 {
138 return createCSSMediaRule().media;
139 }
140
141 function createHTMLSelectElement()
142 {
143 var select = document.createElement("select");
144 select.options.add(document.createElement("option"));
145 return select;
146 }
147
148 function createHTMLOptionsCollection()
149 {
150 return createHTMLSelectElement().options;
151 }
152
153 function createHTMLTableElement()
154 {
155 var table = document.createElement("table");
156 table.insertRow(0);
157 return table;
158 }
159
160 function createHTMLTableSectionElement()
161 {
162 var table = document.createElement("table");
163 table.insertRow(0);
164 return table.tBodies[0];
165 }
166
167 function createHTMLTableRowElement()
168 {
169 var table = document.createElement("table");
170 var row = table.insertRow(0);
171 row.insertCell(0);
172 return row;
173 }
174
175 function createCanvasElement()
176 {
177 return document.createElement("canvas");
178 }
179
180 // CharacterData
181
182 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").substringData(x, 0)') ", "'any type allowed'");
183 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").substringData(0, x)') ", "'any type allowed (but not omitted)'");
184 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").insertData(x, \"b\")' )", "'any type allowed'");
185 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").deleteData(x, 0)')", "'any type allowed'");
186 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").deleteData(0, x)')", "'any type allowed (but not omitted)'");
187 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").replaceData(x, 0, \"b \")')", "'any type allowed'");
188 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").replaceData(0, x, \"b \")')", "'any type allowed'");
189
190 // CSSMediaRule
191
192 shouldBe("nonNumericPolicy('createCSSMediaRule().insertRule(ruleText, x)')", "'a ny type allowed (but not omitted)'");
193 shouldBe("nonNumericPolicy('createCSSMediaRule().deleteRule(x)')", "'any type al lowed (but not omitted)'");
194
195 // CSSRuleList
196
197 shouldBe("nonNumericPolicy('createCSSRuleList().item(x)')", "'any type allowed ( but not omitted)'");
198
199 // CSSStyleDeclaration
200
201 shouldBe("nonNumericPolicy('createCSSStyleDeclaration().item(x)')", "'any type a llowed (but not omitted)'");
202
203 // CSSStyleSheet
204
205 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "' any type allowed'");
206 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a llowed (but not omitted)'");
207 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x )')", "'any type allowed'");
208 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type a llowed'");
209
210 // Document
211
212 shouldBe("nonNumericPolicy('document.elementFromPoint(x, 0)')", "'any type allow ed'");
213 shouldBe("nonNumericPolicy('document.elementFromPoint(0, x)')", "'any type allow ed (but not omitted)'");
214
215 // Element
216
217 shouldBe("nonNumericPolicy('document.body.scrollLeft = x')", "'any type allowed' ");
218 shouldBe("nonNumericPolicy('document.body.scrollTop = x')", "'any type allowed'" );
219
220 // History
221
222 // Not tested: go.
223
224 // HTMLCollection
225
226 shouldBe("nonNumericPolicy('document.images.item(x)')", "'any type allowed (but not omitted)'");
227
228 // HTMLInputElement
229
230 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange( x, 0)')", "'any type allowed'");
231 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange( 0, x)')", "'any type allowed'");
232
233 // HTMLOptionsCollection
234
235 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().add(document.createEle ment(\"option\"), x)')", "'any type allowed'");
236 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().remove(x)')", "'any ty pe allowed (but not omitted)'");
237
238 // HTMLSelectElement
239
240 shouldBe("nonNumericPolicy('createHTMLSelectElement().remove(x)')", "'any type a llowed'");
241 shouldBe("nonNumericPolicy('createHTMLSelectElement().item(x)')", "'any type all owed (but not omitted)'");
242
243 // HTMLTableElement
244
245 shouldBe("nonNumericPolicy('createHTMLTableElement().insertRow(x)')", "'any type allowed'");
246 shouldBe("nonNumericPolicy('createHTMLTableElement().deleteRow(x)')", "'any type allowed (but not omitted)'");
247
248 // HTMLTableRowElement
249
250 shouldBe("nonNumericPolicy('createHTMLTableRowElement().insertCell(x)')", "'any type allowed'");
251 shouldBe("nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)')", "'any type allowed (but not omitted)'");
252
253 // HTMLTableSectionElement
254
255 shouldBe("nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)')", "'a ny type allowed'");
256 shouldBe("nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)')", "'a ny type allowed (but not omitted)'");
257
258 // HTMLInputElement
259
260 shouldBe("nonNumericPolicy('document.createElement(\"textarea\").setSelectionRan ge(x, 0)')", "'any type allowed'");
261 shouldBe("nonNumericPolicy('document.createElement(\"textarea\").setSelectionRan ge(0, x)')", "'any type allowed'");
262
263 // HTMLCanvasElement
264
265 shouldBe("nonNumericPolicy('createCanvasElement().getContext(x)')", "'any type a llowed (but not omitted)'");
266
267 // KeyboardEvent
268
269 shouldBe("nonNumericPolicy('document.createEvent(\"KeyboardEvent\").initKeyboard Event(\"a\", false, false, null, \"b\", x, false, false, false, false, false)')" , "'any type allowed'");
270
271 // MediaList
272
273 shouldBe("nonNumericPolicy('createMediaList().item(x)')", "'any type allowed (bu t not omitted)'");
274
275 // MouseEvent
276
277 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, x, 0, 0, 0, 0, false, false, false, false, 0, null)') ", "'any type allowed'");
278 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, 0, x, 0, 0, 0, false, false, false, false, 0, null)') ", "'any type allowed'");
279 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, 0, 0, x, 0, 0, false, false, false, false, 0, null)') ", "'any type allowed'");
280 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, 0, 0, 0, x, 0, false, false, false, false, 0, null)') ", "'any type allowed'");
281 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, 0, 0, 0, 0, x, false, false, false, false, 0, null)') ", "'any type allowed'");
282 shouldBe("nonNumericPolicy('document.createEvent(\"MouseEvent\").initMouseEvent( \"a\", false, false, null, 0, 0, 0, 0, 0, false, false, false, false, x, null)') ", "'any type allowed'");
283
284 // NamedNodeMap
285
286 shouldBe("nonNumericPolicy('document.body.attributes.item(x)')", "'any type allo wed (but not omitted)'");
287
288 // NodeIterator
289
290 shouldBe("nonNumericPolicy('document.createNodeIterator(document, x, null, false )')", "'any type allowed'");
291
292 // NodeList
293
294 shouldBe("nonNumericPolicy('document.getElementsByTagName(\"div\").item(x)')", " 'any type allowed (but not omitted)'");
295
296 // Range
297
298 shouldBe("nonNumericPolicy('document.createRange().setStart(document, x)')", "'a ny type allowed (but not omitted)'");
299 shouldBe("nonNumericPolicy('document.createRange().setEnd(document, x)')", "'any type allowed (but not omitted)'");
300 shouldBe("nonNumericPolicy('document.createRange().comparePoint(document, x)')", "'any type allowed (but not omitted)'");
301 shouldBe("nonNumericPolicy('document.createRange().isPointInRange(document, x)') ", "'any type allowed (but not omitted)'");
302
303 // Selection
304
305 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type allowed'");
306 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, x, documen t, 0)')", "'any type allowed'");
307 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, documen t, x)')", "'any type allowed (but not omitted)'");
308 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type allowed'");
309 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type al lowed'");
310 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed (but not omitted)'");
311
312 // SQLResultSetRowList
313
314 // Not tested: item.
315
316 // StyleSheetList
317
318 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed (but not omitted)'");
319
320 // Text
321
322 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").splitText(x)')", "'an y type allowed (but not omitted)'");
323
324 // TimeRanges
325
326 // Not tested: start, end.
327
328 // TreeWalker
329
330 shouldBe("nonNumericPolicy('document.createTreeWalker(document, x, null, false)' )", "'any type allowed'");
331
332 // UIEvent
333
334 shouldBe("nonNumericPolicy('document.createEvent(\"UIEvent\").initUIEvent(\"a\", false, false, null, x)')", "'any type allowed'");
335
336 // Window
337
338 shouldBe("nonNumericPolicy('window.scrollBy(x, 0)')", "'any type allowed'");
339 shouldBe("nonNumericPolicy('window.scrollBy(0, x)')", "'any type allowed (but no t omitted)'");
340 shouldBe("nonNumericPolicy('window.scrollTo(x, 0)')", "'any type allowed'");
341 shouldBe("nonNumericPolicy('window.scrollTo(0, x)')", "'any type allowed (but no t omitted)'");
342 shouldBe("nonNumericPolicy('window.scroll(x, 0)')", "'any type allowed'");
343 shouldBe("nonNumericPolicy('window.scroll(0, x)')", "'any type allowed (but not omitted)'");
344 shouldBe("nonNumericPolicy('window.moveBy(x, 0)')", "'any type allowed'");
345 shouldBe("nonNumericPolicy('window.moveBy(0, x)')", "'any type allowed (but not omitted)'");
346 shouldBe("nonNumericPolicy('window.moveTo(x, 0)')", "'any type allowed'");
347 shouldBe("nonNumericPolicy('window.moveTo(0, x)')", "'any type allowed (but not omitted)'");
348 shouldBe("nonNumericPolicy('window.resizeBy(x, 0)')", "'any type allowed'");
349 shouldBe("nonNumericPolicy('window.resizeBy(0, x)')", "'any type allowed (but no t omitted)'");
350 shouldBe("nonNumericPolicy('window.resizeTo(x, 0)')", "'any type allowed'");
351 shouldBe("nonNumericPolicy('window.resizeTo(0, x)')", "'any type allowed (but no t omitted)'");
352 // Not tested: openDatabase.
353
354 window.resizeTo(10000, 10000);
355 document.body.removeChild(testElementContainer);
356
357 /*
358
359 Here are other examples of numeric types in function parameters and settable att ributes that we could test:
360
361 ../../../../WebCore/css/CSSPrimitiveValue.idl: in float floatValue)
362 ../../../../WebCore/html/CanvasGradient.idl: void addColorStop(in float o ffset, in DOMString color);
363 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void scale(in floa t sx, in float sy);
364 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void rotate(in flo at angle);
365 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void translate(in float tx, in float ty);
366 ../../../../WebCore/html/CanvasRenderingContext2D.idl: CanvasGradient cre ateLinearGradient(in float x0, in float y0, in float x1, in float y1);
367 ../../../../WebCore/html/CanvasRenderingContext2D.idl: CanvasGradient cre ateRadialGradient(in float x0, in float y0, in float r0, in float x1, in float y 1, in float r1);
368 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void clearRect(in float x, in float y, in float width, in float height)
369 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void fillRect(in f loat x, in float y, in float width, in float height)
370 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void moveTo(in flo at x, in float y);
371 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void lineTo(in flo at x, in float y);
372 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void quadraticCurv eTo(in float cpx, in float cpy, in float x, in float y);
373 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void bezierCurveTo (in float cp1x, in float cp1y, in float cp2x, in float cp2y, in float x, in floa t y);
374 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void arcTo(in floa t x1, in float y1, in float x2, in float y2, in float radius)
375 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void rect(in float x, in float y, in float width, in float height)
376 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void arc(in float x, in float y, in float radius, in float startAngle, in float endAngle, in boole an anticlockwise)
377 ../../../../WebCore/html/CanvasRenderingContext2D.idl: boolean isPointInP ath(in float x, in float y);
378 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setAlpha(in f loat alpha);
379 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setLineWidth( in float width);
380 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setMiterLimit (in float limit);
381
382 ../../../../WebCore/html/HTMLAnchorElement.idl: attribute long tabIndex;
383 ../../../../WebCore/html/HTMLAreaElement.idl: attribute long tabIndex;
384 ../../../../WebCore/html/HTMLBodyElement.idl: attribute long scr ollLeft;
385 ../../../../WebCore/html/HTMLBodyElement.idl: attribute long scr ollTop;
386 ../../../../WebCore/html/HTMLButtonElement.idl: attribute long tabIndex;
387 ../../../../WebCore/html/HTMLCanvasElement.idl: attribute long width;
388 ../../../../WebCore/html/HTMLCanvasElement.idl: attribute long height;
389 ../../../../WebCore/html/HTMLEmbedElement.idl: attribute [Conver tFromString] long height;
390 ../../../../WebCore/html/HTMLEmbedElement.idl: attribute [Conver tFromString] long width;
391 ../../../../WebCore/html/HTMLImageElement.idl: attribute long he ight;
392 ../../../../WebCore/html/HTMLImageElement.idl: attribute long hs pace;
393 ../../../../WebCore/html/HTMLImageElement.idl: attribute long vs pace;
394 ../../../../WebCore/html/HTMLImageElement.idl: attribute long wi dth;
395 ../../../../WebCore/html/HTMLInputElement.idl: attribute long maxLength;
396 ../../../../WebCore/html/HTMLInputElement.idl: attribute unsigne d long size; // Changed string -> long as part of DOM level 2
397 ../../../../WebCore/html/HTMLInputElement.idl: attribute long tabIndex;
398 ../../../../WebCore/html/HTMLInputElement.idl: attribute long selectionStart;
399 ../../../../WebCore/html/HTMLInputElement.idl: attribute long selectionEnd;
400 ../../../../WebCore/html/HTMLLIElement.idl: attribute long value;
401 ../../../../WebCore/html/HTMLMediaElement.idl: attribute unsigned long playCo unt
402 ../../../../WebCore/html/HTMLMediaElement.idl: attribute unsigned long curren tLoop;
403 ../../../../WebCore/html/HTMLObjectElement.idl: attribute long hspace;
404 ../../../../WebCore/html/HTMLObjectElement.idl: attribute long tabIndex;
405 ../../../../WebCore/html/HTMLObjectElement.idl: attribute long vspace;
406 ../../../../WebCore/html/HTMLOListElement.idl: attribute long start;
407 ../../../../WebCore/html/HTMLOptionsCollection.idl: attribute lo ng selectedIndex;
408 ../../../../WebCore/html/HTMLOptionsCollection.idl: attribute [C ustom] unsigned long length
409 ../../../../WebCore/html/HTMLPreElement.idl: attribute long width;
410 ../../../../WebCore/html/HTMLSelectElement.idl: attribute long selectedIndex;
411 ../../../../WebCore/html/HTMLSelectElement.idl: attribute unsign ed long length
412 ../../../../WebCore/html/HTMLSelectElement.idl: attribute long size;
413 ../../../../WebCore/html/HTMLSelectElement.idl: attribute long tabIndex;
414 ../../../../WebCore/html/HTMLTableCellElement.idl: attribute lon g colSpan;
415 ../../../../WebCore/html/HTMLTableCellElement.idl: attribute lon g rowSpan;
416 ../../../../WebCore/html/HTMLTableColElement.idl: attribute long span;
417 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute lon g cols;
418 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute lon g rows;
419 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute lon g tabIndex;
420 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute long selectionStart;
421 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute long selectionEnd;
422 ../../../../WebCore/html/HTMLVideoElement.idl: attribute long width;
423 ../../../../WebCore/html/HTMLVideoElement.idl: attribute long height;
424
425 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float gl obalAlpha;
426 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float li neWidth;
427 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float mi terLimit;
428 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float sh adowOffsetX;
429 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float sh adowOffsetY;
430 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float sh adowBlur;
431 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float currentTime
432 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float defaultPlaybac kRate
433 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float playbackRate
434 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float start;
435 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float end;
436 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float loopStart;
437 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float loopEnd;
438 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float volume
439
440 ../../../../WebCore/svg/SVGAnimatedInteger.idl: attribute long b aseVal
441 ../../../../WebCore/svg/SVGElementInstanceList.idl: SVGElementInstance it em(in unsigned long index);
442 ../../../../WebCore/svg/SVGLengthList.idl: SVGLength getItem(in unsigned long index)
443 ../../../../WebCore/svg/SVGLengthList.idl: SVGLength insertItemBefore(in SVGLength item, in unsigned long index)
444 ../../../../WebCore/svg/SVGLengthList.idl: SVGLength replaceItem(in SVGLe ngth item, in unsigned long index)
445 ../../../../WebCore/svg/SVGLengthList.idl: SVGLength removeItem(in unsign ed long index)
446 ../../../../WebCore/svg/SVGNumberList.idl: SVGNumber getItem(in unsigned long index)
447 ../../../../WebCore/svg/SVGNumberList.idl: SVGNumber insertItemBefore(in SVGNumber item, in unsigned long index)
448 ../../../../WebCore/svg/SVGNumberList.idl: SVGNumber replaceItem(in SVGNu mber item, in unsigned long index)
449 ../../../../WebCore/svg/SVGNumberList.idl: SVGNumber removeItem(in unsign ed long index)
450 ../../../../WebCore/svg/SVGPathElement.idl: unsigned long getPathSegAtLen gth(in float distance);
451 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint getItem(in un signed long index)
452 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint insertItemBef ore(in SVGPoint item, in unsigned long index)
453 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint replaceItem(i n SVGPoint item, in unsigned long index)
454 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint removeItem(in unsigned long index)
455 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString getItem(in uns igned long index)
456 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString insertItemBefo re(in core::DOMString item, in unsigned long index)
457 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString replaceItem(in core::DOMString item, in unsigned long index)
458 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString removeItem(in unsigned long index)
459 ../../../../WebCore/svg/SVGSVGElement.idl: unsigned long suspendRedraw(in unsigned long maxWaitMilliseconds);
460 ../../../../WebCore/svg/SVGSVGElement.idl: void unsuspendRedraw(in unsign ed long suspendHandleId)
461 ../../../../WebCore/svg/SVGTextContentElement.idl: long getNumberOfChars( );
462 ../../../../WebCore/svg/SVGTextContentElement.idl: float getSubStringLeng th(in unsigned long offset,
463 ../../../../WebCore/svg/SVGTextContentElement.idl: in unsigned long length)
464 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGPoint getStartPosit ionOfChar(in unsigned long offset)
465 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGPoint getEndPositio nOfChar(in unsigned long offset)
466 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGRect getExtentOfCha r(in unsigned long offset)
467 ../../../../WebCore/svg/SVGTextContentElement.idl: float getRotationOfCha r(in unsigned long offset)
468 ../../../../WebCore/svg/SVGTextContentElement.idl: long getCharNumAtPosit ion(in SVGPoint point);
469 ../../../../WebCore/svg/SVGTextContentElement.idl: void selectSubString(i n unsigned long offset,
470 ../../../../WebCore/svg/SVGTextContentElement.idl: i n unsigned long length)
471 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform getIt em(in unsigned long index)
472 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform inser tItemBefore(in SVGTransform item, in unsigned long index)
473 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform repla ceItem(in SVGTransform item, in unsigned long index)
474 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform remov eItem(in unsigned long index)
475 ../../../../WebCore/xml/XPathResult.idl: Node snapshotItem(in unsigned lo ng index)
476
477 ../../../../WebCore/svg/SVGAngle.idl: in floa t valueInSpecifiedUnits);
478 ../../../../WebCore/svg/SVGAnimationElement.idl: float getStartTime();
479 ../../../../WebCore/svg/SVGAnimationElement.idl: float getCurrentTime();
480 ../../../../WebCore/svg/SVGAnimationElement.idl: float getSimpleDuration( )
481 ../../../../WebCore/svg/SVGFEGaussianBlurElement.idl: void setStdDeviatio n(in float stdDeviationX, in float stdDeviationY);
482 ../../../../WebCore/svg/SVGLength.idl: in flo at valueInSpecifiedUnits);
483 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix translate(in fl oat x, in float y);
484 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix scale(in float scaleFactor);
485 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix scaleNonUniform (in float scaleFactorX, in float scaleFactorY);
486 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix rotate(in float angle);
487 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix rotateFromVecto r(in float x, in float y)
488 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix skewX(in float angle);
489 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix skewY(in float angle);
490 ../../../../WebCore/svg/SVGNumber.idl: interface [Conditional=SVG, PODType=fl oat] SVGNumber {
491 ../../../../WebCore/svg/SVGPathElement.idl: float getTotalLength();
492 ../../../../WebCore/svg/SVGPathElement.idl: SVGPoint getPointAtLength(in float distance);
493 ../../../../WebCore/svg/SVGPathElement.idl: unsigned long getPathSegAtLen gth(in float distance);
494 ../../../../WebCore/svg/SVGSVGElement.idl: float getCurrentTime();
495 ../../../../WebCore/svg/SVGSVGElement.idl: void setCurrentTime(in float s econds);
496 ../../../../WebCore/svg/SVGTextContentElement.idl: float getComputedTextL ength();
497 ../../../../WebCore/svg/SVGTextContentElement.idl: float getSubStringLeng th(in unsigned long offset,
498 ../../../../WebCore/svg/SVGTextContentElement.idl: float getRotationOfCha r(in unsigned long offset)
499 ../../../../WebCore/svg/SVGTransform.idl: void setTranslate(in float tx, in float ty);
500 ../../../../WebCore/svg/SVGTransform.idl: void setScale(in float sx, in f loat sy);
501 ../../../../WebCore/svg/SVGTransform.idl: void setRotate(in float angle, in float cx, in float cy);
502 ../../../../WebCore/svg/SVGTransform.idl: void setSkewX(in float angle);
503 ../../../../WebCore/svg/SVGTransform.idl: void setSkewY(in float angle);
504
505 ../../../../WebCore/svg/SVGAngle.idl: attribute float v alue;
506 ../../../../WebCore/svg/SVGAngle.idl: attribute float v alueInSpecifiedUnits;
507 ../../../../WebCore/svg/SVGAnimatedNumber.idl: attribute float b aseVal
508 ../../../../WebCore/svg/SVGLength.idl: attribute float value;
509 ../../../../WebCore/svg/SVGLength.idl: attribute float valueInSpecifiedUnits;
510 ../../../../WebCore/svg/SVGNumber.idl: attribute float value
511 ../../../../WebCore/svg/SVGPoint.idl: attribute float x
512 ../../../../WebCore/svg/SVGPoint.idl: attribute float y
513 ../../../../WebCore/svg/SVGRect.idl: attribute float x
514 ../../../../WebCore/svg/SVGRect.idl: attribute float y
515 ../../../../WebCore/svg/SVGRect.idl: attribute float width
516 ../../../../WebCore/svg/SVGRect.idl: attribute float height
517 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre ntScale
518
519 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a;
520 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b;
521 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c;
522 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d;
523 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e;
524 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f;
525
526 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698