mirror of
https://github.com/servo/servo.git
synced 2025-09-10 23:18:20 +01:00
Update web-platform-tests to revision 132d12daea699ce266324e79eecbe59b10e56502
This commit is contained in:
parent
527d874bc1
commit
fe00a63040
1004 changed files with 18598 additions and 92770 deletions
|
@ -36,32 +36,14 @@
|
|||
checkDOMPoint(new DOMPoint(1, 2, 3, 4, 5), {x:1, y:2, z:3, w:4});
|
||||
},'testConstructor5');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({}), {x:0, y:0, z:0, w:1});
|
||||
checkDOMPoint(new DOMPoint({}), {x:NaN, y:0, z:0, w:1});
|
||||
},'testConstructorDictionary0');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1}), {x:1, y:0, z:0, w:1});
|
||||
checkDOMPoint(new DOMPoint({x:1}), {x:NaN, y:0, z:0, w:1});
|
||||
},'testConstructorDictionary1');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, y:2}), {x:1, y:2, z:0, w:1});
|
||||
checkDOMPoint(new DOMPoint({x:1, y:2}), {x:NaN, y:0, z:0, w:1});
|
||||
},'testConstructorDictionary2');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, y:2, z:3}), {x:1, y:2, z:3, w:1});
|
||||
},'testConstructorDictionary3');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, y:2, z:3, w:4}), {x:1, y:2, z:3, w:4});
|
||||
},'testConstructorDictionary4');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, y:2, z:3, w:4, v:5}), {x:1, y:2, z:3, w:4});
|
||||
},'testConstructorDictionary5');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, z:3}), {x:1, y:0, z:3, w:1});
|
||||
},'testConstructorDictionary2irregular');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, y: undefined, z:3}), {x:1, y:0, z:3, w:1});
|
||||
},'testConstructorDictionary2undefined');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:1, z:3}), {x:1, y:0, z:3, w:1});
|
||||
},'testConstructorDOMPoint');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint(1, undefined), {x:1, y:0, z:0, w:1});
|
||||
},'testConstructor2undefined');
|
||||
|
@ -69,7 +51,7 @@
|
|||
checkDOMPoint(new DOMPoint("a", "b"), {x:NaN, y:NaN, z:0, w:1});
|
||||
},'testConstructorUndefined1');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPoint({x:"a", y:"b"}), {x:NaN, y:NaN, z:0, w:1});
|
||||
checkDOMPoint(new DOMPoint({x:"a", y:"b"}), {x:NaN, y:0, z:0, w:1});
|
||||
},'testConstructorUndefined2');
|
||||
test(function() {
|
||||
checkDOMPoint(new DOMPointReadOnly(), {x:0, y:0, z:0, w:1});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue