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