Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / script-tests / non-numeric-values-numeric-parameters.js
blobb30512893f4b9f292082054c7e017ef5b11e3a2a
1 description(
2 'This tests the behavior of non-numeric values in contexts where the DOM has a numeric parameter.'
3 );
5 function nonNumericPolicy(template)
7 var x = 0;
8 try {
9 eval(template);
10 } catch (e) {
11 return e;
14 var nullAllowed = 1;
15 x = null;
16 try {
17 eval(template);
18 } catch (e) {
19 nullAllowed = 0;
22 var undefinedAllowed = 1;
23 x = undefined;
24 try {
25 eval(template);
26 } catch (e) {
27 undefinedAllowed = 0;
30 var stringAllowed = 1;
31 x = "string";
32 try {
33 eval(template);
34 } catch (e) {
35 stringAllowed = 0;
38 var documentAllowed = 1;
39 x = document;
40 try {
41 eval(template);
42 } catch (e) {
43 documentAllowed = 0;
46 var nonIntegerAllowed = 1;
47 x = 0.1;
48 try {
49 eval(template);
50 } catch (e) {
51 nonIntegerAllowed = 0;
54 var infinityAllowed = 1;
55 x = Infinity;
56 try {
57 eval(template);
58 } catch (e) {
59 infinityAllowed = 0;
62 var nanAllowed = 1;
63 x = NaN;
64 try {
65 eval(template);
66 } catch (e) {
67 nanAllowed = 0;
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;
81 var expectOmitAllowed = navigator.userAgent.match("Gecko/") != "Gecko/";
83 if (nullAllowed && undefinedAllowed && stringAllowed && documentAllowed && nonIntegerAllowed && 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)";
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";
96 var selector = "a";
97 var styleText = "font-size: smaller";
98 var ruleText = selector + " { " + styleText + " }";
100 var testElementContainer = document.createElement("div");
101 document.body.appendChild(testElementContainer);
103 function createFromMarkup(markup)
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;
114 function createCSSStyleSheet()
116 return createFromMarkup("<style>" + ruleText + "</style>").sheet;
119 function createCSSRuleList()
121 return createCSSStyleSheet().cssRules;
124 function createCSSStyleDeclaration()
126 return createCSSRuleList().item(0).style;
129 function createCSSMediaRule()
131 var rule = createFromMarkup("<style>@media screen { a { text-weight: bold } }</style>").sheet.cssRules.item(0);
132 rule.insertRule(ruleText, 0);
133 return rule;
136 function createMediaList()
138 return createCSSMediaRule().media;
141 function createHTMLSelectElement()
143 var select = document.createElement("select");
144 select.options.add(document.createElement("option"));
145 return select;
148 function createHTMLOptionsCollection()
150 return createHTMLSelectElement().options;
153 function createHTMLTableElement()
155 var table = document.createElement("table");
156 table.insertRow(0);
157 return table;
160 function createHTMLTableSectionElement()
162 var table = document.createElement("table");
163 table.insertRow(0);
164 return table.tBodies[0];
167 function createHTMLTableRowElement()
169 var table = document.createElement("table");
170 var row = table.insertRow(0);
171 row.insertCell(0);
172 return row;
175 function createCanvasElement()
177 return document.createElement("canvas");
180 // CharacterData
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'");
190 // CSSMediaRule
192 shouldBe("nonNumericPolicy('createCSSMediaRule().insertRule(ruleText, x)')", "'any type allowed (but not omitted)'");
193 shouldBe("nonNumericPolicy('createCSSMediaRule().deleteRule(x)')", "'any type allowed (but not omitted)'");
195 // CSSRuleList
197 shouldBe("nonNumericPolicy('createCSSRuleList().item(x)')", "'any type allowed (but not omitted)'");
199 // CSSStyleDeclaration
201 shouldBe("nonNumericPolicy('createCSSStyleDeclaration().item(x)')", "'any type allowed (but not omitted)'");
203 // CSSStyleSheet
205 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "'any type allowed'");
206 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type allowed (but not omitted)'");
207 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x)')", "'any type allowed'");
208 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type allowed'");
210 // Document
212 shouldBe("nonNumericPolicy('document.elementFromPoint(x, 0)')", "'any type allowed'");
213 shouldBe("nonNumericPolicy('document.elementFromPoint(0, x)')", "'any type allowed (but not omitted)'");
215 // Element
217 shouldBe("nonNumericPolicy('document.body.scrollLeft = x')", "'any type allowed'");
218 shouldBe("nonNumericPolicy('document.body.scrollTop = x')", "'any type allowed'");
220 // History
222 // Not tested: go.
224 // HTMLCollection
226 shouldBe("nonNumericPolicy('document.images.item(x)')", "'any type allowed (but not omitted)'");
228 // HTMLInputElement
230 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange(x, 0)')", "'any type allowed'");
231 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange(0, x)')", "'any type allowed'");
233 // HTMLOptionsCollection
235 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().add(document.createElement(\"option\"), x)')", "'any type allowed'");
236 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().remove(x)')", "'any type allowed (but not omitted)'");
238 // HTMLSelectElement
240 shouldBe("nonNumericPolicy('createHTMLSelectElement().remove(x)')", "'any type allowed'");
241 shouldBe("nonNumericPolicy('createHTMLSelectElement().item(x)')", "'any type allowed (but not omitted)'");
243 // HTMLTableElement
245 shouldBe("nonNumericPolicy('createHTMLTableElement().insertRow(x)')", "'any type allowed'");
246 shouldBe("nonNumericPolicy('createHTMLTableElement().deleteRow(x)')", "'any type allowed (but not omitted)'");
248 // HTMLTableRowElement
250 shouldBe("nonNumericPolicy('createHTMLTableRowElement().insertCell(x)')", "'any type allowed'");
251 shouldBe("nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)')", "'any type allowed (but not omitted)'");
253 // HTMLTableSectionElement
255 shouldBe("nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)')", "'any type allowed'");
256 shouldBe("nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)')", "'any type allowed (but not omitted)'");
258 // HTMLInputElement
260 shouldBe("nonNumericPolicy('document.createElement(\"textarea\").setSelectionRange(x, 0)')", "'any type allowed'");
261 shouldBe("nonNumericPolicy('document.createElement(\"textarea\").setSelectionRange(0, x)')", "'any type allowed'");
263 // HTMLCanvasElement
265 shouldBe("nonNumericPolicy('createCanvasElement().getContext(x)')", "'any type allowed (but not omitted)'");
267 // KeyboardEvent
269 shouldBe("nonNumericPolicy('document.createEvent(\"KeyboardEvent\").initKeyboardEvent(\"a\", false, false, null, \"b\", x, false, false, false, false, false)')", "'any type allowed'");
271 // MediaList
273 shouldBe("nonNumericPolicy('createMediaList().item(x)')", "'any type allowed (but not omitted)'");
275 // MouseEvent
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'");
284 // NamedNodeMap
286 shouldBe("nonNumericPolicy('document.body.attributes.item(x)')", "'any type allowed (but not omitted)'");
288 // NodeIterator
290 shouldBe("nonNumericPolicy('document.createNodeIterator(document, x, null, false)')", "'any type allowed'");
292 // NodeList
294 shouldBe("nonNumericPolicy('document.getElementsByTagName(\"div\").item(x)')", "'any type allowed (but not omitted)'");
296 // Range
298 shouldBe("nonNumericPolicy('document.createRange().setStart(document, x)')", "'any 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)'");
303 // Selection
305 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type allowed'");
306 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, x, document, 0)')", "'any type allowed'");
307 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, document, x)')", "'any type allowed'");
308 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type allowed'");
309 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type allowed'");
310 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed (but not omitted)'");
312 // SQLResultSetRowList
314 // Not tested: item.
316 // StyleSheetList
318 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed (but not omitted)'");
320 // Text
322 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").splitText(x)')", "'any type allowed (but not omitted)'");
324 // TimeRanges
326 // Not tested: start, end.
328 // TreeWalker
330 shouldBe("nonNumericPolicy('document.createTreeWalker(document, x, null, false)')", "'any type allowed'");
332 // UIEvent
334 shouldBe("nonNumericPolicy('document.createEvent(\"UIEvent\").initUIEvent(\"a\", false, false, null, x)')", "'any type allowed'");
336 // Window
338 shouldBe("nonNumericPolicy('window.scrollBy(x, 0)')", "'any type allowed'");
339 shouldBe("nonNumericPolicy('window.scrollBy(0, x)')", "'any type allowed (but not omitted)'");
340 shouldBe("nonNumericPolicy('window.scrollTo(x, 0)')", "'any type allowed'");
341 shouldBe("nonNumericPolicy('window.scrollTo(0, x)')", "'any type allowed (but not 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 not omitted)'");
350 shouldBe("nonNumericPolicy('window.resizeTo(x, 0)')", "'any type allowed'");
351 shouldBe("nonNumericPolicy('window.resizeTo(0, x)')", "'any type allowed (but not omitted)'");
352 // Not tested: openDatabase.
354 window.resizeTo(10000, 10000);
355 document.body.removeChild(testElementContainer);
359 Here are other examples of numeric types in function parameters and settable attributes that we could test:
361 ../../../../WebCore/css/CSSPrimitiveValue.idl: in float floatValue)
362 ../../../../WebCore/html/CanvasGradient.idl: void addColorStop(in float offset, in DOMString color);
363 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void scale(in float sx, in float sy);
364 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void rotate(in float angle);
365 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void translate(in float tx, in float ty);
366 ../../../../WebCore/html/CanvasRenderingContext2D.idl: CanvasGradient createLinearGradient(in float x0, in float y0, in float x1, in float y1);
367 ../../../../WebCore/html/CanvasRenderingContext2D.idl: CanvasGradient createRadialGradient(in float x0, in float y0, in float r0, in float x1, in float y1, 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 float x, in float y, in float width, in float height)
370 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void moveTo(in float x, in float y);
371 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void lineTo(in float x, in float y);
372 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void quadraticCurveTo(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 float y);
374 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void arcTo(in float 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 boolean anticlockwise)
377 ../../../../WebCore/html/CanvasRenderingContext2D.idl: boolean isPointInPath(in float x, in float y);
378 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setAlpha(in float alpha);
379 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setLineWidth(in float width);
380 ../../../../WebCore/html/CanvasRenderingContext2D.idl: void setMiterLimit(in float limit);
382 ../../../../WebCore/html/HTMLAnchorElement.idl: attribute long tabIndex;
383 ../../../../WebCore/html/HTMLAreaElement.idl: attribute long tabIndex;
384 ../../../../WebCore/html/HTMLBodyElement.idl: attribute long scrollLeft;
385 ../../../../WebCore/html/HTMLBodyElement.idl: attribute long scrollTop;
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 [ConvertFromString] long height;
390 ../../../../WebCore/html/HTMLEmbedElement.idl: attribute [ConvertFromString] long width;
391 ../../../../WebCore/html/HTMLImageElement.idl: attribute long height;
392 ../../../../WebCore/html/HTMLImageElement.idl: attribute long hspace;
393 ../../../../WebCore/html/HTMLImageElement.idl: attribute long vspace;
394 ../../../../WebCore/html/HTMLImageElement.idl: attribute long width;
395 ../../../../WebCore/html/HTMLInputElement.idl: attribute long maxLength;
396 ../../../../WebCore/html/HTMLInputElement.idl: attribute unsigned 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 playCount
402 ../../../../WebCore/html/HTMLMediaElement.idl: attribute unsigned long currentLoop;
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 long selectedIndex;
408 ../../../../WebCore/html/HTMLOptionsCollection.idl: attribute [Custom] 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 unsigned long length
412 ../../../../WebCore/html/HTMLSelectElement.idl: attribute long size;
413 ../../../../WebCore/html/HTMLSelectElement.idl: attribute long tabIndex;
414 ../../../../WebCore/html/HTMLTableCellElement.idl: attribute long colSpan;
415 ../../../../WebCore/html/HTMLTableCellElement.idl: attribute long rowSpan;
416 ../../../../WebCore/html/HTMLTableColElement.idl: attribute long span;
417 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute long cols;
418 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute long rows;
419 ../../../../WebCore/html/HTMLTextAreaElement.idl: attribute long 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;
425 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float globalAlpha;
426 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float lineWidth;
427 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float miterLimit;
428 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float shadowOffsetX;
429 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float shadowOffsetY;
430 ../../../../WebCore/html/CanvasRenderingContext2D.idl: attribute float shadowBlur;
431 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float currentTime
432 ../../../../WebCore/html/HTMLMediaElement.idl: attribute float defaultPlaybackRate
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
440 ../../../../WebCore/svg/SVGAnimatedInteger.idl: attribute long baseVal
441 ../../../../WebCore/svg/SVGElementInstanceList.idl: SVGElementInstance item(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 SVGLength item, in unsigned long index)
445 ../../../../WebCore/svg/SVGLengthList.idl: SVGLength removeItem(in unsigned 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 SVGNumber item, in unsigned long index)
449 ../../../../WebCore/svg/SVGNumberList.idl: SVGNumber removeItem(in unsigned long index)
450 ../../../../WebCore/svg/SVGPathElement.idl: unsigned long getPathSegAtLength(in float distance);
451 ../../../../WebCore/svg/SVGPathSegList.idl: [Custom] SVGPathSeg getItem(in unsigned long index)
452 ../../../../WebCore/svg/SVGPathSegList.idl: [Custom] SVGPathSeg insertItemBefore(in SVGPathSeg newItem, in unsigned long index)
453 ../../../../WebCore/svg/SVGPathSegList.idl: [Custom] SVGPathSeg replaceItem(in SVGPathSeg newItem, in unsigned long index)
454 ../../../../WebCore/svg/SVGPathSegList.idl: [Custom] SVGPathSeg removeItem(in unsigned long index)
455 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint getItem(in unsigned long index)
456 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint insertItemBefore(in SVGPoint item, in unsigned long index)
457 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint replaceItem(in SVGPoint item, in unsigned long index)
458 ../../../../WebCore/svg/SVGPointList.idl: [Custom] SVGPoint removeItem(in unsigned long index)
459 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString getItem(in unsigned long index)
460 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString insertItemBefore(in core::DOMString item, in unsigned long index)
461 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString replaceItem(in core::DOMString item, in unsigned long index)
462 ../../../../WebCore/svg/SVGStringList.idl: core::DOMString removeItem(in unsigned long index)
463 ../../../../WebCore/svg/SVGSVGElement.idl: unsigned long suspendRedraw(in unsigned long maxWaitMilliseconds);
464 ../../../../WebCore/svg/SVGSVGElement.idl: void unsuspendRedraw(in unsigned long suspendHandleId)
465 ../../../../WebCore/svg/SVGTextContentElement.idl: long getNumberOfChars();
466 ../../../../WebCore/svg/SVGTextContentElement.idl: float getSubStringLength(in unsigned long offset,
467 ../../../../WebCore/svg/SVGTextContentElement.idl: in unsigned long length)
468 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGPoint getStartPositionOfChar(in unsigned long offset)
469 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGPoint getEndPositionOfChar(in unsigned long offset)
470 ../../../../WebCore/svg/SVGTextContentElement.idl: SVGRect getExtentOfChar(in unsigned long offset)
471 ../../../../WebCore/svg/SVGTextContentElement.idl: float getRotationOfChar(in unsigned long offset)
472 ../../../../WebCore/svg/SVGTextContentElement.idl: long getCharNumAtPosition(in SVGPoint point);
473 ../../../../WebCore/svg/SVGTextContentElement.idl: void selectSubString(in unsigned long offset,
474 ../../../../WebCore/svg/SVGTextContentElement.idl: in unsigned long length)
475 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform getItem(in unsigned long index)
476 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform insertItemBefore(in SVGTransform item, in unsigned long index)
477 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform replaceItem(in SVGTransform item, in unsigned long index)
478 ../../../../WebCore/svg/SVGTransformList.idl: [Custom] SVGTransform removeItem(in unsigned long index)
479 ../../../../WebCore/xml/XPathResult.idl: Node snapshotItem(in unsigned long index)
481 ../../../../WebCore/svg/SVGAngle.idl: in float valueInSpecifiedUnits);
482 ../../../../WebCore/svg/SVGAnimationElement.idl: float getStartTime();
483 ../../../../WebCore/svg/SVGAnimationElement.idl: float getCurrentTime();
484 ../../../../WebCore/svg/SVGAnimationElement.idl: float getSimpleDuration()
485 ../../../../WebCore/svg/SVGFEGaussianBlurElement.idl: void setStdDeviation(in float stdDeviationX, in float stdDeviationY);
486 ../../../../WebCore/svg/SVGLength.idl: in float valueInSpecifiedUnits);
487 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix translate(in float x, in float y);
488 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix scale(in float scaleFactor);
489 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix scaleNonUniform(in float scaleFactorX, in float scaleFactorY);
490 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix rotate(in float angle);
491 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix rotateFromVector(in float x, in float y)
492 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix skewX(in float angle);
493 ../../../../WebCore/svg/SVGMatrix.idl: [Custom] SVGMatrix skewY(in float angle);
494 ../../../../WebCore/svg/SVGNumber.idl: interface [Conditional=SVG, PODType=float] SVGNumber {
495 ../../../../WebCore/svg/SVGPathElement.idl: float getTotalLength();
496 ../../../../WebCore/svg/SVGPathElement.idl: SVGPoint getPointAtLength(in float distance);
497 ../../../../WebCore/svg/SVGPathElement.idl: unsigned long getPathSegAtLength(in float distance);
498 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in float x,
499 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
500 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegMovetoRel createSVGPathSegMovetoRel(in float x,
501 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
502 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in float x,
503 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
504 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoRel createSVGPathSegLinetoRel(in float x,
505 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
506 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in float x,
507 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
508 ../../../../WebCore/svg/SVGPathElement.idl: in float x1,
509 ../../../../WebCore/svg/SVGPathElement.idl: in float y1,
510 ../../../../WebCore/svg/SVGPathElement.idl: in float x2,
511 ../../../../WebCore/svg/SVGPathElement.idl: in float y2);
512 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in float x,
513 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
514 ../../../../WebCore/svg/SVGPathElement.idl: in float x1,
515 ../../../../WebCore/svg/SVGPathElement.idl: in float y1,
516 ../../../../WebCore/svg/SVGPathElement.idl: in float x2,
517 ../../../../WebCore/svg/SVGPathElement.idl: in float y2);
518 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in float x,
519 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
520 ../../../../WebCore/svg/SVGPathElement.idl: in float x1,
521 ../../../../WebCore/svg/SVGPathElement.idl: in float y1);
522 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in float x,
523 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
524 ../../../../WebCore/svg/SVGPathElement.idl: in float x1,
525 ../../../../WebCore/svg/SVGPathElement.idl: in float y1);
526 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegArcAbs createSVGPathSegArcAbs(in float x,
527 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
528 ../../../../WebCore/svg/SVGPathElement.idl: in float r1,
529 ../../../../WebCore/svg/SVGPathElement.idl: in float r2,
530 ../../../../WebCore/svg/SVGPathElement.idl: in float angle,
531 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegArcRel createSVGPathSegArcRel(in float x,
532 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
533 ../../../../WebCore/svg/SVGPathElement.idl: in float r1,
534 ../../../../WebCore/svg/SVGPathElement.idl: in float r2,
535 ../../../../WebCore/svg/SVGPathElement.idl: in float angle,
536 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in float x);
537 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in float x);
538 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in float y);
539 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in float y);
540 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in float x,
541 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
542 ../../../../WebCore/svg/SVGPathElement.idl: in float x2,
543 ../../../../WebCore/svg/SVGPathElement.idl: in float y2);
544 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in float x,
545 ../../../../WebCore/svg/SVGPathElement.idl: in float y,
546 ../../../../WebCore/svg/SVGPathElement.idl: in float x2,
547 ../../../../WebCore/svg/SVGPathElement.idl: in float y2);
548 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in float x,
549 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
550 ../../../../WebCore/svg/SVGPathElement.idl: SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in float x,
551 ../../../../WebCore/svg/SVGPathElement.idl: in float y);
552 ../../../../WebCore/svg/SVGSVGElement.idl: float getCurrentTime();
553 ../../../../WebCore/svg/SVGSVGElement.idl: void setCurrentTime(in float seconds);
554 ../../../../WebCore/svg/SVGTextContentElement.idl: float getComputedTextLength();
555 ../../../../WebCore/svg/SVGTextContentElement.idl: float getSubStringLength(in unsigned long offset,
556 ../../../../WebCore/svg/SVGTextContentElement.idl: float getRotationOfChar(in unsigned long offset)
557 ../../../../WebCore/svg/SVGTransform.idl: void setTranslate(in float tx, in float ty);
558 ../../../../WebCore/svg/SVGTransform.idl: void setScale(in float sx, in float sy);
559 ../../../../WebCore/svg/SVGTransform.idl: void setRotate(in float angle, in float cx, in float cy);
560 ../../../../WebCore/svg/SVGTransform.idl: void setSkewX(in float angle);
561 ../../../../WebCore/svg/SVGTransform.idl: void setSkewY(in float angle);
563 ../../../../WebCore/svg/SVGAngle.idl: attribute float value;
564 ../../../../WebCore/svg/SVGAngle.idl: attribute float valueInSpecifiedUnits;
565 ../../../../WebCore/svg/SVGAnimatedNumber.idl: attribute float baseVal
566 ../../../../WebCore/svg/SVGLength.idl: attribute float value;
567 ../../../../WebCore/svg/SVGLength.idl: attribute float valueInSpecifiedUnits;
568 ../../../../WebCore/svg/SVGNumber.idl: attribute float value
569 ../../../../WebCore/svg/SVGPathSegArcAbs.idl: attribute float x
570 ../../../../WebCore/svg/SVGPathSegArcAbs.idl: attribute float y
571 ../../../../WebCore/svg/SVGPathSegArcAbs.idl: attribute float r1
572 ../../../../WebCore/svg/SVGPathSegArcAbs.idl: attribute float r2
573 ../../../../WebCore/svg/SVGPathSegArcAbs.idl: attribute float angle
574 ../../../../WebCore/svg/SVGPathSegArcRel.idl: attribute float x
575 ../../../../WebCore/svg/SVGPathSegArcRel.idl: attribute float y
576 ../../../../WebCore/svg/SVGPathSegArcRel.idl: attribute float r1
577 ../../../../WebCore/svg/SVGPathSegArcRel.idl: attribute float r2
578 ../../../../WebCore/svg/SVGPathSegArcRel.idl: attribute float angle
579 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float x
580 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float y
581 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float x1
582 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float y1
583 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float x2
584 ../../../../WebCore/svg/SVGPathSegCurvetoCubicAbs.idl: attribute float y2
585 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float x
586 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float y
587 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float x1
588 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float y1
589 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float x2
590 ../../../../WebCore/svg/SVGPathSegCurvetoCubicRel.idl: attribute float y2
591 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: attribute float x
592 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: attribute float y
593 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: attribute float x2
594 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: attribute float y2
595 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl: attribute float x
596 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl: attribute float y
597 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl: attribute float x2
598 ../../../../WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl: attribute float y2
599 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl: attribute float x
600 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl: attribute float y
601 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl: attribute float x1
602 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl: attribute float y1
603 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl: attribute float x
604 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl: attribute float y
605 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl: attribute float x1
606 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl: attribute float y1
607 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: attribute float x
608 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: attribute float y
609 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: attribute float x
610 ../../../../WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: attribute float y
611 ../../../../WebCore/svg/SVGPathSegLinetoAbs.idl: attribute float x
612 ../../../../WebCore/svg/SVGPathSegLinetoAbs.idl: attribute float y
613 ../../../../WebCore/svg/SVGPathSegLinetoHorizontalAbs.idl: attribute float x
614 ../../../../WebCore/svg/SVGPathSegLinetoHorizontalRel.idl: attribute float x
615 ../../../../WebCore/svg/SVGPathSegLinetoRel.idl: attribute float x
616 ../../../../WebCore/svg/SVGPathSegLinetoRel.idl: attribute float y
617 ../../../../WebCore/svg/SVGPathSegLinetoVerticalAbs.idl: attribute float y
618 ../../../../WebCore/svg/SVGPathSegLinetoVerticalRel.idl: attribute float y
619 ../../../../WebCore/svg/SVGPathSegMovetoAbs.idl: attribute float x
620 ../../../../WebCore/svg/SVGPathSegMovetoAbs.idl: attribute float y
621 ../../../../WebCore/svg/SVGPathSegMovetoRel.idl: attribute float x
622 ../../../../WebCore/svg/SVGPathSegMovetoRel.idl: attribute float y
623 ../../../../WebCore/svg/SVGPoint.idl: attribute float x
624 ../../../../WebCore/svg/SVGPoint.idl: attribute float y
625 ../../../../WebCore/svg/SVGRect.idl: attribute float x
626 ../../../../WebCore/svg/SVGRect.idl: attribute float y
627 ../../../../WebCore/svg/SVGRect.idl: attribute float width
628 ../../../../WebCore/svg/SVGRect.idl: attribute float height
629 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float currentScale
631 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a;
632 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b;
633 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c;
634 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d;
635 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e;
636 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f;