| Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html
|
| index 432ef6c9d1c977c19852aded1ff407206413721a..a9989a3fd15f6b7e1895a68f388482e7b4aefe24 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html
|
| @@ -52,6 +52,26 @@ test(() => {
|
| }, 'DOMRect setter');
|
|
|
| test(() => {
|
| + var rect = new DOMRectReadOnly();
|
| + assert_dom_rect_equals(rect, [0, 0, 0, 0, 0, 0, 0, 0]);
|
| +}, 'DOMRectReadOnly constructor without parameter');
|
| +
|
| +test(() => {
|
| + var rect = new DOMRectReadOnly(10);
|
| + assert_dom_rect_equals(rect, [10, 0, 0, 0, 0, 10, 0, 10]);
|
| +}, 'DOMRectReadOnly constructor with x parameter');
|
| +
|
| +test(() => {
|
| + var rect = new DOMRectReadOnly(10, 20);
|
| + assert_dom_rect_equals(rect, [10, 20, 0, 0, 20, 10, 20, 10]);
|
| +}, 'DOMRectReadOnly constructor with x, y parameters');
|
| +
|
| +test(() => {
|
| + var rect = new DOMRectReadOnly(10, 20, 80);
|
| + assert_dom_rect_equals(rect, [10, 20, 80, 0, 20, 90, 20, 10]);
|
| +}, 'DOMRectReadOnly constructor with x, y, width parameters');
|
| +
|
| +test(() => {
|
| var rect = new DOMRectReadOnly(10, 20, 80, 50);
|
| assert_dom_rect_equals(rect, [10, 20, 80, 50, 20, 90, 70, 10]);
|
| }, 'DOMRectReadOnly constructor with x, y, width, height parameters');
|
|
|