mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement DOMPoint and DOMPointReadOnly
Passes some but not all WPT tests. One failure is caused by an issue in codegen for the `DOMPointInit` dictionary, the others by outdated tests: Gecko implements an old version of the spec that overloaded the `DOMPoint` constructor to optionally take an object as the first argument, and made `DOMPointReadOnly` non-constructible.
This commit is contained in:
parent
3a5e4335d7
commit
b692187ca2
47 changed files with 855 additions and 28 deletions
|
@ -0,0 +1,53 @@
|
|||
[DOMMatrix-001.xht]
|
||||
type: testharness
|
||||
[testConstructor0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor6]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor7]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor8]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor9]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor10]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor11]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor12]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor13]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal2]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
[DOMPoint-001.xht]
|
||||
type: testharness
|
||||
[testConstructorDictionary2undefined]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary3]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDictionary2irregular]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorDOMPoint]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorUndefined2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal2]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
[DOMQuad-001.xht]
|
||||
type: testharness
|
||||
[testConstructor0]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor4]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor6]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor7]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor8]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor9]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor10]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor11]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor12]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor13]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor14]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor15]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor16]
|
||||
expected: FAIL
|
||||
|
||||
[p1Top4Attributes0]
|
||||
expected: FAIL
|
||||
|
||||
[p1Top4Attributes1]
|
||||
expected: FAIL
|
||||
|
||||
[boundsAttribute0]
|
||||
expected: FAIL
|
||||
|
||||
[boundsAttribute1]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
[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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue