mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Improve implementation of DOMRect and implement DOMRectReadOnly
Passes most tests from test-css.
This commit is contained in:
parent
499a847141
commit
4c1c05fac6
11 changed files with 198 additions and 184 deletions
|
@ -1,53 +1,14 @@
|
|||
[DOMRect-001.htm]
|
||||
type: testharness
|
||||
[testConstructor0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidth]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidthHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal2]
|
||||
expected: FAIL
|
||||
|
||||
[testSetReadOnlyAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testSetAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
[testReadOnlyConstructorUndefined1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,53 +1,11 @@
|
|||
[DOMRect-001.xht]
|
||||
type: testharness
|
||||
[testConstructor0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidth]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidthHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal2]
|
||||
expected: FAIL
|
||||
|
||||
[testSetReadOnlyAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testSetAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,53 +1,11 @@
|
|||
[DOMRect-001.xht]
|
||||
type: testharness
|
||||
[testConstructor0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidth]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorNegativeWidthHeight]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorString2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal2]
|
||||
expected: FAIL
|
||||
|
||||
[testSetReadOnlyAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testSetAttributes]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ var interfaceNamesInGlobalScope = [
|
|||
"DOMPoint",
|
||||
"DOMPointReadOnly",
|
||||
"DOMRect",
|
||||
"DOMRectReadOnly",
|
||||
"Comment",
|
||||
"Console",
|
||||
"CustomEvent",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue