Auto merge of #7411 - servo:update-css, r=Ms2ger

Update CSS tests to revision accc6c63beb15671e7e97f812cd11ba2ac34a447



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7411)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-27 13:16:15 -06:00
commit 856fda7f2e
10 changed files with 50 additions and 14 deletions

View file

@ -26,13 +26,16 @@
{ x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 });
},'testConstructor0');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1); });
checkDOMRect(new DOMRect(1),
{ x: 1, y: 0, width: 0, height: 0, top: 0, right: 1, bottom: 0, left: 1 });
},'testConstructor1');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2); });
checkDOMRect(new DOMRect(1, 2),
{ x: 1, y: 2, width: 0, height: 0, top: 2, right: 1, bottom: 2, left: 1 });
},'testConstructor2');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2, 3); });
checkDOMRect(new DOMRect(1, 2, 3),
{ x: 1, y: 2, width: 3, height: 0, top: 2, right: 4, bottom: 2, left: 1 });
},'testConstructor3');
test(function() {
checkDOMRect(new DOMRect(1, 2, 3, 4),

View file

@ -9,5 +9,5 @@ html/dompoint-001.htm 4eab429b2c693c8262acc9c9e4b8fe388ccefe7d ?
xhtml1/dompoint-001.xht 4eab429b2c693c8262acc9c9e4b8fe388ccefe7d ?
html/domquad-001.htm 55abae26ff2b8b770ae585a4373ca850270f920b ?
xhtml1/domquad-001.xht 55abae26ff2b8b770ae585a4373ca850270f920b ?
html/domrect-001.htm 1e80e3a9f2498b6395bad44875ad8ecb31fb76e4 ?
xhtml1/domrect-001.xht 1e80e3a9f2498b6395bad44875ad8ecb31fb76e4 ?
html/domrect-001.htm a5a47b5f64f9f0148de72d0093892bdbc64b3c63 ?
xhtml1/domrect-001.xht a5a47b5f64f9f0148de72d0093892bdbc64b3c63 ?

View file

@ -2,4 +2,4 @@ id references title flags links revision credits assertion
DOMMatrix-001 Geometry Interfaces: DOMMatrix and DOMMatrixReadOnly constructors script http://www.w3.org/TR/geometry-1/#DOMMatrix,http://www.w3.org/TR/geometry-1/#dommatrix-constructors,http://www.w3.org/TR/geometry-1/#dom-dommatrix-dommatrix 9ef5062544554f66a8c941d084bf9fd707277436 `Dirk Schulze`<mailto:dschulze@adobe.com>
DOMPoint-001 Geometry Interfaces: DOMPoint and DOMPointReadOnly interface tests script http://www.w3.org/TR/geometry-1/#DOMPoint,http://www.w3.org/TR/geometry-1/#dictdef-dompointinit,http://www.w3.org/TR/geometry-1/#dom-dompoint-dompoint,http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-x,http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-y,http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-z,http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-w 4eab429b2c693c8262acc9c9e4b8fe388ccefe7d `Dirk Schulze`<mailto:dschulze@adobe.com>
DOMQuad-001 Geometry Interfaces: DOMQuad interface tests script http://www.w3.org/TR/geometry-1/#DOMQuad,http://www.w3.org/TR/geometry-1/#dom-domquad-domquad,http://www.w3.org/TR/geometry-1/#dom-domquad-p1,http://www.w3.org/TR/geometry-1/#dom-domquad-p2,http://www.w3.org/TR/geometry-1/#dom-domquad-p3,http://www.w3.org/TR/geometry-1/#dom-domquad-p4,http://www.w3.org/TR/geometry-1/#dom-domquad-bounds 55abae26ff2b8b770ae585a4373ca850270f920b `Dirk Schulze`<mailto:dschulze@adobe.com>
DOMRect-001 Geometry Interfaces: DOMRect and DOMRectReadOnly interface tests script http://www.w3.org/TR/geometry-1/#DOMRect,http://www.w3.org/TR/geometry-1/#dom-domrect,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly,http://www.w3.org/TR/geometry-1/#dom-domrect-domrect,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-x,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-y,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-width,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-height,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-top,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-left,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-right,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-bottom 1e80e3a9f2498b6395bad44875ad8ecb31fb76e4 `Dirk Schulze`<mailto:dschulze@adobe.com>
DOMRect-001 Geometry Interfaces: DOMRect and DOMRectReadOnly interface tests script http://www.w3.org/TR/geometry-1/#DOMRect,http://www.w3.org/TR/geometry-1/#dom-domrect,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly,http://www.w3.org/TR/geometry-1/#dom-domrect-domrect,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-x,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-y,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-width,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-height,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-top,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-left,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-right,http://www.w3.org/TR/geometry-1/#dom-domrectreadonly-domrect-bottom a5a47b5f64f9f0148de72d0093892bdbc64b3c63 `Dirk Schulze`<mailto:dschulze@adobe.com>

View file

@ -26,13 +26,16 @@
{ x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 });
},'testConstructor0');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1); });
checkDOMRect(new DOMRect(1),
{ x: 1, y: 0, width: 0, height: 0, top: 0, right: 1, bottom: 0, left: 1 });
},'testConstructor1');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2); });
checkDOMRect(new DOMRect(1, 2),
{ x: 1, y: 2, width: 0, height: 0, top: 2, right: 1, bottom: 2, left: 1 });
},'testConstructor2');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2, 3); });
checkDOMRect(new DOMRect(1, 2, 3),
{ x: 1, y: 2, width: 3, height: 0, top: 2, right: 4, bottom: 2, left: 1 });
},'testConstructor3');
test(function() {
checkDOMRect(new DOMRect(1, 2, 3, 4),

View file

@ -26,13 +26,16 @@
{ x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 });
},'testConstructor0');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1); });
checkDOMRect(new DOMRect(1),
{ x: 1, y: 0, width: 0, height: 0, top: 0, right: 1, bottom: 0, left: 1 });
},'testConstructor1');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2); });
checkDOMRect(new DOMRect(1, 2),
{ x: 1, y: 2, width: 0, height: 0, top: 2, right: 1, bottom: 2, left: 1 });
},'testConstructor2');
test(function() {
assert_throws(new TypeError(), function() { new DOMRect(1, 2, 3); });
checkDOMRect(new DOMRect(1, 2, 3),
{ x: 1, y: 2, width: 3, height: 0, top: 2, right: 4, bottom: 2, left: 1 });
},'testConstructor3');
test(function() {
checkDOMRect(new DOMRect(1, 2, 3, 4),

View file

@ -1 +1 @@
fc8dab92f6e0d169ecae0bde2ef3a98dd27f6db2
e48df0d080e5df9bf62d2ef6b48db1196cd0378d

View file

@ -671387,7 +671387,7 @@
}
]
},
"rev": "2a5740eaf7fa99181681a89bc6789dbf5b839995",
"rev": "accc6c63beb15671e7e97f812cd11ba2ac34a447",
"url_base": "/",
"version": 2
}

View file

@ -42,3 +42,12 @@
[testSetAttributes]
expected: FAIL
[testConstructor1]
expected: FAIL
[testConstructor2]
expected: FAIL
[testConstructor3]
expected: FAIL

View file

@ -42,3 +42,12 @@
[testSetAttributes]
expected: FAIL
[testConstructor1]
expected: FAIL
[testConstructor2]
expected: FAIL
[testConstructor3]
expected: FAIL

View file

@ -42,3 +42,12 @@
[testSetAttributes]
expected: FAIL
[testConstructor1]
expected: FAIL
[testConstructor2]
expected: FAIL
[testConstructor3]
expected: FAIL