WebKit Bugzilla
Attachment 348765 Details for
Bug 189241
: Remove duplicate directory web-platform-tests/cssom-view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-189241-20180903124157.patch (text/plain), 341.44 KB, created by
Frédéric Wang (:fredw)
on 2018-09-03 03:42:01 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Frédéric Wang (:fredw)
Created:
2018-09-03 03:42:01 PDT
Size:
341.44 KB
patch
obsolete
>Subversion Revision: 235590 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 22914b3aec5d9f14e53eab7426303741d0f50055..f0e2545776f44294ad4dd12d54612ceea601d677 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,20 @@ >+2018-09-03 Frederic Wang <fwang@free.fr> >+ >+ Remove duplicate directory web-platform-tests/cssom-view >+ https://bugs.webkit.org/show_bug.cgi?id=189241 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ cssom-view tests were moved into web-platform-tests/css at revision #232903 but the old >+ directory and expectation were left. This patch finishes the migration. >+ >+ * TestExpectations: >+ * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt: Removed. >+ * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Removed. >+ * platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt: Removed. >+ * platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt: Removed. >+ * platform/ios/TestExpectations: >+ > 2018-09-02 Zalan Bujtas <zalan@apple.com> > > REGRESSION (r191336): RenderFlexibleBox::adjustChildSizeForMinAndMax crashes in std::optional<>::value() >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index 17011ac7723749e549a69570fdd3b065e5c6a866..776cb8f3e59af0e7575e7e149b7f0aff5bd3468a 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,171 @@ >+2018-09-03 Frederic Wang <fwang@igalia.com> >+ >+ Remove duplicate directory web-platform-tests/cssom-view >+ https://bugs.webkit.org/show_bug.cgi?id=189241 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ cssom-view tests were moved into web-platform-tests/css at revision #232903 but the old >+ directory and expectation were left. This patch finishes the migration. >+ >+ * resources/import-expectations.json: >+ * web-platform-tests/css/cssom-view/scrollingElement-expected.txt: Removed. >+ * web-platform-tests/cssom-view/CaretPosition-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/CaretPosition-001.html: Removed. >+ * web-platform-tests/cssom-view/DOMRectList-expected.txt: Removed. >+ * web-platform-tests/cssom-view/DOMRectList.html: Removed. >+ * web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode-expected.txt: Removed. >+ * web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html: Removed. >+ * web-platform-tests/cssom-view/MediaQueryList-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/MediaQueryList-001.html: Removed. >+ * web-platform-tests/cssom-view/MediaQueryList-with-empty-string-expected.txt: Removed. >+ * web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html: Removed. >+ * web-platform-tests/cssom-view/OWNERS: Removed. >+ * web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html: Removed. >+ * web-platform-tests/cssom-view/cssom-getBoundingClientRect-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html: Removed. >+ * web-platform-tests/cssom-view/cssom-getBoundingClientRect-002-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html: Removed. >+ * web-platform-tests/cssom-view/cssom-getClientRects-002-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-getClientRects-002.html: Removed. >+ * web-platform-tests/cssom-view/cssom-getClientRects-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-getClientRects.html: Removed. >+ * web-platform-tests/cssom-view/cssom-view-img-attributes-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-view-img-attributes-001.html: Removed. >+ * web-platform-tests/cssom-view/cssom-view-window-screen-interface-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-view-window-screen-interface.html: Removed. >+ * web-platform-tests/cssom-view/cssom-view/media-query-list-interface-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht: Removed. >+ * web-platform-tests/cssom-view/cssom-view/w3c-import.log: Removed. >+ * web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt: Removed. >+ * web-platform-tests/cssom-view/cssom-view/window-interface.xht: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-001.html: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-002-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-002.html: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-003-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-003.html: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementFromPoint.html: Removed. >+ * web-platform-tests/cssom-view/elementFromPosition-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementFromPosition.html: Removed. >+ * web-platform-tests/cssom-view/elementScroll-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementScroll.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-iframes-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-iframes.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-invalid-cases-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-invalid-cases.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-shadowroot-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-shadowroot.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-simple-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-simple.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-svg-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-svg.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-table-expected.txt: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint-table.html: Removed. >+ * web-platform-tests/cssom-view/elementsFromPoint.html: Removed. >+ * web-platform-tests/cssom-view/historical-expected.txt: Removed. >+ * web-platform-tests/cssom-view/historical.html: Removed. >+ * web-platform-tests/cssom-view/htmlelement-offset-width-001-expected.txt: Removed. >+ * web-platform-tests/cssom-view/htmlelement-offset-width-001.html: Removed. >+ * web-platform-tests/cssom-view/iframe.html: Removed. >+ * web-platform-tests/cssom-view/interfaces-expected.txt: Removed. >+ * web-platform-tests/cssom-view/interfaces.html: Removed. >+ * web-platform-tests/cssom-view/matchMedia-expected.txt: Removed. >+ * web-platform-tests/cssom-view/matchMedia.xht: Removed. >+ * web-platform-tests/cssom-view/matchMediaAddListener-expected.txt: Removed. >+ * web-platform-tests/cssom-view/matchMediaAddListener.html: Removed. >+ * web-platform-tests/cssom-view/mouseEvent-expected.txt: Removed. >+ * web-platform-tests/cssom-view/mouseEvent.html: Removed. >+ * web-platform-tests/cssom-view/negativeMargins-expected.txt: Removed. >+ * web-platform-tests/cssom-view/negativeMargins.html: Removed. >+ * web-platform-tests/cssom-view/offsetParent_element_test-expected.txt: Removed. >+ * web-platform-tests/cssom-view/offsetParent_element_test.html: Removed. >+ * web-platform-tests/cssom-view/offsetTopLeftInScrollableParent-expected.txt: Removed. >+ * web-platform-tests/cssom-view/offsetTopLeftInScrollableParent.html: Removed. >+ * web-platform-tests/cssom-view/resources/elementsFromPoint.js: Removed. >+ * web-platform-tests/cssom-view/resources/iframe1.html: Removed. >+ * web-platform-tests/cssom-view/resources/iframe2.html: Removed. >+ * web-platform-tests/cssom-view/resources/w3c-import.log: Removed. >+ * web-platform-tests/cssom-view/scrollIntoView-shadow-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrollIntoView-shadow.html: Removed. >+ * web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrollIntoView-smooth.html: Removed. >+ * web-platform-tests/cssom-view/scrollWidthHeight-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrollWidthHeight.xht: Removed. >+ * web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht: Removed. >+ * web-platform-tests/cssom-view/scrolling-no-browsing-context-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrolling-no-browsing-context.html: Removed. >+ * web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html: Removed. >+ * web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001-expected.html: Removed. >+ * web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html: Removed. >+ * web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002-expected.html: Removed. >+ * web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html: Removed. >+ * web-platform-tests/cssom-view/scrollingElement.html: Removed. >+ * web-platform-tests/cssom-view/scrollintoview-expected.txt: Removed. >+ * web-platform-tests/cssom-view/scrollintoview.html: Removed. >+ * web-platform-tests/cssom-view/support/1x1-green.png: Removed. >+ * web-platform-tests/cssom-view/support/1x1-lime.png: Removed. >+ * web-platform-tests/cssom-view/support/1x1-maroon.png: Removed. >+ * web-platform-tests/cssom-view/support/1x1-navy.png: Removed. >+ * web-platform-tests/cssom-view/support/1x1-red.png: Removed. >+ * web-platform-tests/cssom-view/support/1x1-white.png: Removed. >+ * web-platform-tests/cssom-view/support/60x60-gg-rr.png: Removed. >+ * web-platform-tests/cssom-view/support/60x60-green.png: Removed. >+ * web-platform-tests/cssom-view/support/60x60-red.png: Removed. >+ * web-platform-tests/cssom-view/support/README: Removed. >+ * web-platform-tests/cssom-view/support/a-green.css: Removed. >+ * web-platform-tests/cssom-view/support/b-green.css: Removed. >+ * web-platform-tests/cssom-view/support/c-red.css: Removed. >+ * web-platform-tests/cssom-view/support/cat.png: Removed. >+ * web-platform-tests/cssom-view/support/import-green.css: Removed. >+ * web-platform-tests/cssom-view/support/import-red.css: Removed. >+ * web-platform-tests/cssom-view/support/pattern-grg-rgr-grg.png: Removed. >+ * web-platform-tests/cssom-view/support/pattern-grg-rrg-rgg.png: Removed. >+ * web-platform-tests/cssom-view/support/pattern-rgr-grg-rgr.png: Removed. >+ * web-platform-tests/cssom-view/support/pattern-tr.png: Removed. >+ * web-platform-tests/cssom-view/support/ruler-h-50%.png: Removed. >+ * web-platform-tests/cssom-view/support/ruler-h-50px.png: Removed. >+ * web-platform-tests/cssom-view/support/ruler-v-100px.png: Removed. >+ * web-platform-tests/cssom-view/support/ruler-v-50px.png: Removed. >+ * web-platform-tests/cssom-view/support/square-purple.png: Removed. >+ * web-platform-tests/cssom-view/support/square-teal.png: Removed. >+ * web-platform-tests/cssom-view/support/square-white.png: Removed. >+ * web-platform-tests/cssom-view/support/support/README: Removed. >+ * web-platform-tests/cssom-view/support/support/swatch-green.png: Removed. >+ * web-platform-tests/cssom-view/support/support/swatch-red.png: Removed. >+ * web-platform-tests/cssom-view/support/support/w3c-import.log: Removed. >+ * web-platform-tests/cssom-view/support/swatch-blue.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-green.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-lime.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-orange.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-red.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-teal.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-white.png: Removed. >+ * web-platform-tests/cssom-view/support/swatch-yellow.png: Removed. >+ * web-platform-tests/cssom-view/support/test-bl.png: Removed. >+ * web-platform-tests/cssom-view/support/test-br.png: Removed. >+ * web-platform-tests/cssom-view/support/test-inner-half-size.png: Removed. >+ * web-platform-tests/cssom-view/support/test-outer.png: Removed. >+ * web-platform-tests/cssom-view/support/test-tl.png: Removed. >+ * web-platform-tests/cssom-view/support/test-tr.png: Removed. >+ * web-platform-tests/cssom-view/support/w3c-import.log: Removed. >+ * web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length-expected.txt: Removed. >+ * web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html: Removed. >+ * web-platform-tests/cssom-view/w3c-import.log: Removed. >+ * web-platform-tests/cssom-view/window-screen-height-expected.txt: Removed. >+ * web-platform-tests/cssom-view/window-screen-height-immutable-expected.txt: Removed. >+ * web-platform-tests/cssom-view/window-screen-height-immutable.html: Removed. >+ * web-platform-tests/cssom-view/window-screen-height.html: Removed. >+ * web-platform-tests/cssom-view/window-screen-width-expected.txt: Removed. >+ * web-platform-tests/cssom-view/window-screen-width-immutable-expected.txt: Removed. >+ * web-platform-tests/cssom-view/window-screen-width-immutable.html: Removed. >+ * web-platform-tests/cssom-view/window-screen-width.html: Removed. >+ > 2018-08-30 Ryosuke Niwa <rniwa@webkit.org> > > Add assignedElements to HTMLSlotElement >diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations >index 3193ba318f7c2e78767641b59922e8c4c6805e2e..94e6c887fae9203efa17395f187b9c358e11ceaf 100644 >--- a/LayoutTests/TestExpectations >+++ b/LayoutTests/TestExpectations >@@ -327,10 +327,9 @@ imported/w3c/web-platform-tests/IndexedDB/nested-cloning-large-multiple.html [ S > imported/w3c/web-platform-tests/IndexedDB/nested-cloning-large.html [ Skip ] > imported/w3c/web-platform-tests/IndexedDB/nested-cloning-small.html [ Skip ] > imported/w3c/web-platform-tests/css/cssom/interfaces.html [ Pass Timeout ] >-imported/w3c/web-platform-tests/cssom-view/interfaces.html [ Pass Timeout ] > [ Debug ] imported/w3c/web-platform-tests/css/cssom-view/interfaces.html [ Skip ] >-webkit.org/b/182292 imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html [ ImageOnlyFailure ] >-webkit.org/b/182292 imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html [ ImageOnlyFailure ] >+webkit.org/b/182292 imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-quirks-dynamic-001.html [ ImageOnlyFailure ] >+webkit.org/b/182292 imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-quirks-dynamic-002.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-ui/text-overflow-010.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-ui/text-overflow-012.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-ui/text-overflow-015.html [ ImageOnlyFailure ] >@@ -1890,7 +1889,7 @@ fast/table/colspanMinWidth-vertical.html [ Skip ] > fast/forms/range/range-remove-on-drag.html [ Skip ] > > # CSSOM View module >-webkit.org/b/5991 imported/w3c/web-platform-tests/cssom-view/scrollingElement.html [ Skip ] >+webkit.org/b/5991 imported/w3c/web-platform-tests/css/cssom-view/scrollingElement.html [ Skip ] > > # FileAPI > webkit.org/b/172099 imported/w3c/web-platform-tests/FileAPI/url/url_xmlhttprequest_img.html [ ImageOnlyFailure ] >@@ -2127,10 +2126,8 @@ imported/w3c/web-platform-tests/css/css-display/run-in/run-in-run-in-between-007 > imported/w3c/web-platform-tests/css/css-text-decor/text-emphasis-style-007.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-display/run-in/run-in-basic-007.xht [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-grid/grid-items/percentage-size-replaced-subitems-001.html [ ImageOnlyFailure ] >-imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-quirks-dynamic-002.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-text-decor/text-emphasis-position-above-right-002.xht [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-display/run-in/run-in-contains-abspos-001.xht [ ImageOnlyFailure ] >-imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-quirks-dynamic-001.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-multicol/zero-column-width-layout.html [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-display/run-in/run-in-abspos-between-001.xht [ ImageOnlyFailure ] > imported/w3c/web-platform-tests/css/css-display/run-in/run-in-contains-table-cell-001.xht [ ImageOnlyFailure ] >diff --git a/LayoutTests/imported/w3c/resources/import-expectations.json b/LayoutTests/imported/w3c/resources/import-expectations.json >index 8e738cd58b8796548624d029b2c3d5583a31d6bc..20036f0e1d19bcc59f04fcaaadc728d6acf6a5e5 100644 >--- a/LayoutTests/imported/w3c/resources/import-expectations.json >+++ b/LayoutTests/imported/w3c/resources/import-expectations.json >@@ -81,7 +81,6 @@ > "web-platform-tests/css/resources": "import", > "web-platform-tests/css/selectors": "import", > "web-platform-tests/css/support": "import", >- "web-platform-tests/cssom-view": "import", > "web-platform-tests/custom-elements": "import", > "web-platform-tests/custom-elements/v0": "skip", > "web-platform-tests/dom": "import", >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-expected.txt >deleted file mode 100644 >index 829097649eeabb130d7d89e8690e5a5bb6b6dc1d..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollingElement-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >- >-FAIL scrollingElement in quirks mode assert_equals: scrollingElement in quirks mode should be null if overflow of body and root element isn't visible. expected null but got Element node <body style="overflow: scroll;"></body> >-FAIL scrollingElement in no-quirks mode assert_equals: scrollingElement in standards mode should be the document element. expected Element node <html><head></head><body></body></html> but got Element node <body></body> >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001-expected.txt >deleted file mode 100644 >index 6f640568ee73b4ed8dada12afbbc769367d61764..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >- >-PASS Element at (400, 100) >-PASS Element at (400, 900) >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html >deleted file mode 100644 >index d8e97a92342cb8ba7e7a185132849ae60485c329..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html >+++ /dev/null >@@ -1,44 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >-<title>CSSOM View Module test:CaretPosition</title> >-<link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" /> >-<link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-document-elementfrompoint"> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style type="text/css"> >-.box{ >- position: absolute; >- top : 100px; >- left : 400px; >- width: 100px; >- height: 100px; >- background-color: #000; >-} >-</style> >-</head> >-<body> >-<div id="box" class="box"></div> >-<div class="box"></div> >-<div class="box"></div> >-<div class="box"></div> >-<div class="box"></div> >-<div class="box"></div> >-<div id="box2" class="box"></div> >-<div id="box3" class="box" style="left: 405px;background:red;"></div> >-<div id="log"></div> >-<script> >-test(function(){ >- assert_equals(document.elementFromPoint(400, 100), >- document.getElementById('box2'), >- "Expected value for element id is 'box2'"); >-}, 'Element at (400, 100)'); >- >-test(function(){ >- assert_equals(document.elementFromPoint(400, 900), >- null, >- "Expected value for element id is 'box2'"); >-}, 'Element at (400, 900)'); >-</script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList-expected.txt >deleted file mode 100644 >index 1c8c846128826bd8e606d0055056627e19e009eb..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-x >- >-PASS Element getClientRects() >-PASS Range getClientRects() >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList.html >deleted file mode 100644 >index dafced99478580ac45a8a7cc79d405d5f260b862..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList.html >+++ /dev/null >@@ -1,24 +0,0 @@ >-<!DOCTYPE html> >-<title>CSSOM View APIs that return a DOMRectList</title> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<div id=x>x</div> >-<script> >-setup(() => { >- window.element = document.getElementById('x'); >-}); >- >-test(() => { >- const domRectList = element.getClientRects(); >- assert_class_string(domRectList, 'DOMRectList'); >- assert_class_string(domRectList.item(0), 'DOMRect'); >-}, 'Element getClientRects()'); >- >-test(() => { >- const range = new Range(); >- range.selectNodeContents(element); >- const domRectList = range.getClientRects(); >- assert_class_string(domRectList, 'DOMRectList'); >- assert_class_string(domRectList.item(0), 'DOMRect'); >-}, 'Range getClientRects()'); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode-expected.txt >deleted file mode 100644 >index 45e53bb0b4c2b5519ba3773c083013ba6ab47410..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode-expected.txt >+++ /dev/null >@@ -1,13 +0,0 @@ >- >-PASS Ensure that body element is loaded. >-PASS Ensure that style.overflowY can be set properly. >-PASS document.compatMode should be BackCompat in quirks. >-PASS document.scrollingElement should be body element in quirks. >-FAIL scrollingElement in quirks should be null when body is potentially scrollable. assert_equals: In quirks, we would expect null here (because of potentially scrollable body) expected null but got Element node <body id="thebody" style="overflow-y: scroll;"> >- <div ... >-PASS scrollingElement in quirks should be body if any of document and body has a visible overflow. >-FAIL When body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks. assert_not_equals: got disallowed value 600 >-PASS When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, scroll) >-PASS When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. scroll, visible) >-PASS When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, visible) >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html >deleted file mode 100644 >index 8255d130345897de077b27c900109e1217e6ce63..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html >+++ /dev/null >@@ -1,145 +0,0 @@ >-<html> >-<script src="/resources/testharness.js" type="text/javascript"></script> >-<script src="/resources/testharnessreport.js" type="text/javascript"></script> >-<style type="text/css"> >- body { >- border:1px solid black; >- width:200px; >- height:40px; >- >- padding-bottom:50px; >- padding-right:40px; >- } >- #elemSimple { >- background:yellow; >- width:60px; >- height:30px; >- } >- #elemOverflow { >- background:yellow; >- width:250px; >- height:150px; >- } >-</style> >-<body id="thebody"> >- <div id="thediv"></div> >-</body> >-<script> >-// Testing for html body element's scroll- x, y, width, height behaviour in quirks mode >-// https://drafts.csswg.org/cssom-view/#potentially-scrollable >-// https://drafts.csswg.org/cssom-view/#dom-element-scrollheight >-test(function() { >- // can i get the div element? >- var thediv = document.getElementById("thediv"); >- assert_equals(thediv.id, "thediv"); >- // can i get the body element? >- var thebody = document.getElementById("thebody"); >- assert_equals(thebody.id, "thebody"); >-}, "Ensure that body element is loaded.") >- >-test(function() { >- document.body.style.overflowY = "hidden"; >- assert_equals(document.body.style.overflowY, "hidden", "Could not set document.body.style.overflowY to 'hidden'."); >- document.body.style.overflowY = "scroll"; >- assert_equals(document.body.style.overflowY, "scroll", "Could not set document.body.style.overflowY to 'scroll'."); >- document.documentElement.style.overflowY = "scroll"; >- assert_equals(document.documentElement.style.overflowY, "scroll", "Could not set document.documentElement.style.overflow to 'scroll'."); >- document.documentElement.style.overflowY = ""; >- document.body.style.overflowY = ""; >-}, "Ensure that style.overflowY can be set properly.") >- >-test(function() { >- assert_equals(document.compatMode, "BackCompat", "Should be in quirks mode."); >-}, "document.compatMode should be BackCompat in quirks.") >- >-test(function() { >- var thebody = document.getElementById("thebody"); >- assert_equals(thebody.id, "thebody"); >- assert_equals(document.scrollingElement, thebody, >- "scrollingElement in quirks mode should default to body element."); >-}, "document.scrollingElement should be body element in quirks.") >- >-test(function() { >- document.documentElement.style.overflowY = "scroll"; >- assert_equals(document.documentElement.style.overflowY, "scroll", "Could not set document.documentElement.style.overflowY to 'scroll'."); >- >- var thebody = document.getElementById("thebody"); >- assert_equals(thebody.id, "thebody"); >- thebody.style.overflowY="scroll"; >- assert_equals(document.body.style.overflowY, "scroll", "Could not set document.body.style.overflowY to 'scroll'."); >- // Body and document now both have overflow != visible >- // => body `potentially scrollable` >- >- // In quirks, when body is not `potentially scrollable` >- // document.scrollingElment returns the body, otherwise null >- // https://drafts.csswg.org/cssom-view/#dom-document-scrollingelement >- assert_equals(document.scrollingElement, null, >- "In quirks, we would expect null here (because of potentially scrollable body)"); >-}, "scrollingElement in quirks should be null when body is potentially scrollable.") >- >-test(function() { >- document.documentElement.style.overflowY = "visible"; >- assert_equals(document.documentElement.style.overflowY, "visible"); >- assert_equals(document.scrollingElement, document.body); >- >- document.documentElement.style.overflowY = "scroll"; >- assert_equals(document.documentElement.style.overflowY, "scroll"); >- document.body.style.overflowY = "visible"; >- assert_equals(document.body.style.overflowY, "visible"); >- assert_equals(document.scrollingElement, document.body); >- >- document.documentElement.style.overflowY = "visible"; >- assert_equals(document.documentElement.style.overflowY, "visible"); >- assert_equals(document.scrollingElement, document.body); >-}, "scrollingElement in quirks should be body if any of document and body has a visible overflow.") >- >-// no overflow property set to `visible` => pot. scrollable >-test(function() { >- document.body.style.overflowY = "scroll"; >- assert_equals(document.body.style.overflowY, "scroll"); >- document.documentElement.style.overflowY = "scroll"; >- assert_equals(document.documentElement.style.overflowY, "scroll"); >- >- assert_greater_than(window.innerHeight, 400, "Window not large enough for valid test run."); >- assert_not_equals(document.body.scrollHeight, window.innerHeight); >- >- var elem = document.getElementById("thediv"); >- elem.style.height = "170px"; >- assert_equals(elem.style.height, "170px"); >- >- oldScrollHeight = document.body.scrollHeight; >- elem.style.height = "190px"; >- assert_equals(elem.style.height, "190px"); >- assert_equals(document.body.scrollHeight, oldScrollHeight+20); >-}, "When body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks.") >- >-// any use of `visible` => not potentially scrollable >-function testNotPotScrollable (document_overflow, body_overflow) { >- document.body.style.overflowY = body_overflow; >- assert_equals(document.body.style.overflowY, body_overflow); >- document.documentElement.style.overflowY = document_overflow; >- assert_equals(document.documentElement.style.overflowY, document_overflow); >- >- assert_greater_than(window.innerHeight, 400, "Window not large enough for valid test run."); >- assert_equals(document.body.scrollHeight, window.innerHeight); >- >- var elem = document.getElementById("thediv"); >- elem.style.height = "170px"; >- assert_equals(elem.style.height, "170px"); >- assert_equals(window.innerHeight, document.body.scrollHeight); >- >- oldScrollHeight = document.body.scrollHeight; >- elem.style.height = "190px"; >- assert_equals(elem.style.height, "190px"); >- assert_equals(window.innerHeight, document.body.scrollHeight); >- assert_equals(document.body.scrollHeight, oldScrollHeight); >-} >- >-tests = [["visible", "scroll"], ["scroll", "visible"], ["visible", "visible"]]; >-for (var i = 0; i < tests.length; i++) { >- test( function () { >- testNotPotScrollable (tests[i][0], tests[i][1]); >- }, "When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. "+tests[i][0]+", "+tests[i][1]+")") >-} >-</script> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001-expected.txt >deleted file mode 100644 >index 477d0a973d6b2e6f716088419aaccca50db5b75f..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-This case tests the MediaQueryList >- >- >-PASS matchMedia >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001.html >deleted file mode 100644 >index 06c81d5de4c67efaba23f18abcbf8532257a54eb..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001.html >+++ /dev/null >@@ -1,21 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View Module test:MediaQueryList</title> >- <link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <style type="text/css"> >- </style> >-</head> >-<body> >- <p>This case tests the MediaQueryList</p> >- <div id="log"></div> >- <script> >- test(function(){ >- assert_equals(window.matchMedia('(min-width: 1px)').matches, true, "Expected any device to match min-width: 1px"); >- },'matchMedia'); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string-expected.txt >deleted file mode 100644 >index 8c504d3a3fe2467f0e28e7c2fb9ec0fd4ef765fe..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS cssom-view - MediaQueryList with empty string >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html >deleted file mode 100644 >index 3d5a5316566411c49895e845d8dd0df8e7553a1e..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html >+++ /dev/null >@@ -1,12 +0,0 @@ >-<!doctype html> >-<meta charset="utf-8"> >-<title>cssom-view - MediaQueryList with empty string</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script> >-test(function () { >- var mql = window.matchMedia(''); >- assert_equals(mql.media, '', "This should be an empty media query list"); >- assert_equals(mql.matches, true, "Empty media query list should evaluate to true"); >-}); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/OWNERS b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/OWNERS >deleted file mode 100644 >index 5e0cb233944bd24a5ce9c39d983c70ed601e2261..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/OWNERS >+++ /dev/null >@@ -1,2 +0,0 @@ >-@AutomatedTester >-@plinss >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt >deleted file mode 100644 >index 5c22a2208311abd38a87a22ac5ba1b1ef349da3c..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt >+++ /dev/null >@@ -1,8 +0,0 @@ >-This case tests the Screen pixelDepth and colorDepth >- >-The test passes if the value is 24 >- >- >-PASS testColorDepth >-PASS testPixelDepth >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html >deleted file mode 100644 >index 2a8d5b5b4928a5782a61174834bb547f094f2553..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html >+++ /dev/null >@@ -1,33 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View Module test:Screen-pixelDepth,Screen-colorDepth</title> >- <link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <style type="text/css"> >- </style> >-</head> >-<body> >- <p>This case tests the Screen pixelDepth and colorDepth</p> >- <p>The test passes if the value is 24</p> >- <div id="log"></div> >- <script> >- test(function(){ >- assert_equals(testColorDepth(), 24, "Expected value for colorDepth is 24"); >- },'testColorDepth'); >- test(function(){ >- assert_equals(testPixelDepth(), 24, "Expected value for pixelDepth is 24"); >- },'testPixelDepth'); >- function testColorDepth(){ >- var colorDepth = window.screen.colorDepth; >- return colorDepth; >- } >- function testPixelDepth(){ >- var pixelDepth = window.screen.pixelDepth; >- return pixelDepth; >- } >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001-expected.txt >deleted file mode 100644 >index d71ed63489c783f880b9b9ba050ce18c5d129080..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-test item >- >-PASS getBoundingClientRect() should return a DOMRect where height=bottom-top >-PASS getBoundingClientRect() should return a DOMRect where width=right-left >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html >deleted file mode 100644 >index 7d96540adfe95205a770c232473e0c1268e609e2..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html >+++ /dev/null >@@ -1,41 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 6.1 - getBoundingClientRect tests</title> >- <meta charset="utf-8"> >- <link rel="author" title="Chris Wu" href="mailto:pwx.frontend@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect"> >- <meta name="flags" content="dom"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <style type="text/css"> >- #testItem { >- width: 279px; >- height: 188px; >- margin: 100px 0 0 178px; >- background-color: purple; >- font-size: 26px; >- font-weight: bold; >- text-align: center; >- line-height: 188px; >- } >- </style> >-</head> >-<body> >- <div id="testItem">test item</div> >- <div id="log"></div> >- <script> >- var titem = document.getElementById('testItem').getBoundingClientRect(); >- test( >- function(){ >- assert_equals(titem.bottom - titem.top, titem.height, "height should equal bottom minus top") >- }, "getBoundingClientRect() should return a DOMRect where height=bottom-top" >- ); >- test( >- function(){ >- assert_equals(titem.right - titem.left, titem.width, "width should equal right minus left") >- }, "getBoundingClientRect() should return a DOMRect where width=right-left" >- ) >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002-expected.txt >deleted file mode 100644 >index a8a81614d72e386c221f5be63f1e6da2582040c6..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS getBoundingClientRect on a newly-created Element not yet inserted into the DOM should return an all-zeroes DOMRect >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html >deleted file mode 100644 >index a7c3568969a77903d9b49f6b09d70046ba2b98b7..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html >+++ /dev/null >@@ -1,27 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <meta charset="utf-8"> >- <title>CSS Test (CSSOM View): getBoundingClientRect of element outside DOM</title> >- <link rel="author" title="Chris Rebert" href="http://chrisrebert.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-getclientrects"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="Calling getBoundingClientRect on an element that is outside of the DOM (and therefore does not have an associated layout box) should result in an all-zeroes DOMRect and should definitely not throw an error."> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <script> >- test( >- function () { >- var rect = document.createElement('div').getBoundingClientRect(); >- assert_equals(rect.x, 0, "DOMRect's x should be zero"); >- assert_equals(rect.y, 0, "DOMRect's y should be zero"); >- assert_equals(rect.width, 0, "DOMRect's width should be zero"); >- assert_equals(rect.height, 0, "DOMRect's height should be zero"); >- }, >- "getBoundingClientRect on a newly-created Element not yet inserted into the DOM should return an all-zeroes DOMRect" >- ); >- </script> >-</head> >-<body></body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002-expected.txt >deleted file mode 100644 >index 1ec3ab0360682dbff73636b8e8658d6e7c3ebc6b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-test test >-test test >- >-FAIL CSSOM View - GetClientRects().length is the same regardless source new lines assert_equals: count2 expected 1 but got 2 >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002.html >deleted file mode 100644 >index 9fd791d5db7b195acf24ae0c8d60323ff6e33131..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002.html >+++ /dev/null >@@ -1,26 +0,0 @@ >-<!DOCTYPE html> >-<html> >- <head> >- <title>CSSOM View - GetClientRects().length is the same regardless source new lines</title> >- <link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-element-getclientrects"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- </head> >- <body> >- <span id="single"> >- test test >- </span><br/> >- <span id="multiple"> >- test >- test >- </span> >- <script> >- test(function () { >- const count = document.querySelector("#single").getClientRects().length; >- const count2 = document.querySelector("#multiple").getClientRects().length; >- assert_equals(count, 1, "count"); >- assert_equals(count2, 1, "count2"); >- }); >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-expected.txt >deleted file mode 100644 >index 19c2e3fd8de882c5c6e080721a001f3fa6ac0217..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS getClientRects on a newly-created Element not yet inserted into the DOM should return an empty DOMRectList >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects.html >deleted file mode 100644 >index 36559eb116a62f0ad86564b4cd76c6b28f6a12eb..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects.html >+++ /dev/null >@@ -1,23 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <meta charset="utf-8"> >- <title>CSS Test (CSSOM View): getClientRects of element outside DOM</title> >- <link rel="author" title="Chris Rebert" href="http://chrisrebert.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-getclientrects"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="Calling getClientRects on an element that is outside of the DOM (and therefore does not have an associated layout box) should result in an empty DOMRectList and should definitely not throw an error."> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <script> >- test( >- function () { >- var rectList = document.createElement('div').getClientRects(); >- assert_equals(rectList.length, 0, "DOMRectList should be empty"); >- }, >- "getClientRects on a newly-created Element not yet inserted into the DOM should return an empty DOMRectList" >- ); >- </script> >-</head> >-<body></body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001-expected.txt >deleted file mode 100644 >index 0f9fa61c8b59f54ddbd5fca64533ab7350fea017..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-PASS test x with display false >-PASS test y with display false >-PASS test x with display true >-PASS test y with display true >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001.html >deleted file mode 100644 >index 2f42288104150cf8417bb5b12b07e88c4d20ef4b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001.html >+++ /dev/null >@@ -1,46 +0,0 @@ >-<!DOCTYPE html> >-<html> >- <head> >- <title>CSS Test: HTMLImageElement x and y attributes</title> >- <link rel="author" title="Adobe" href="http://html.adobe.com/"> >- <link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com"> >- <link rel="reviewer" title="" href=""> >- <link rel="help" href="https://drafts.csswg.org/cssom-view/#excensions-to-the-htmlimageelement-interface"> >- <meta name="assert" content="HTMLImageElement attributes give x and y position of CSS layout box"> >- <meta name="flags" content="dom"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- </head> >- <body> >- <div id="log"></div> >- <script type="text/javascript"> >- >- function testIMGAttributes(attribute_name, display_none) { >- var element = document.createElement("img"); >- document.body.appendChild(element); >- element.style.setProperty("position", "absolute"); >- element.style.setProperty("left", "10px"); >- element.style.setProperty("top", "10px"); >- if (display_none) { >- element.style.setProperty("display", "none"); >- } >- var attributeValue = element[attribute_name]; >- document.body.removeChild(element); >- return attributeValue; >- } >- >- var imgAttributes = [ >- ["x", false, 10], >- ["y", false, 10], >- ["x", true, 0], >- ["y", true, 0], >- ]; >- >- imgAttributes.forEach(function(test_data) { >- test (function() { assert_equals(testIMGAttributes(test_data[0], test_data[1]), test_data[2])}, >- "test " + test_data[0] + " with display " + test_data[1]) >- } >- ); >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface-expected.txt >deleted file mode 100644 >index eb395f56010264276780a25b431d92b1e254416d..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface-expected.txt >+++ /dev/null >@@ -1,14 +0,0 @@ >- >-PASS Screen.availWidth is readonly >-PASS Screen.availHeight is readonly >-PASS Screen.width is readonly >-PASS Screen.height is readonly >-PASS Screen.colorDepth is readonly >-PASS Screen.pixelDepth is readonly >-PASS window.screen.width >= 0 && window.screen.width < 6000000 >-PASS window.screen.height >= 0 && window.screen.height < 6000000 >-PASS window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width >-PASS window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height >-PASS window.screen.colorDepth == 0 || window.screen.colorDepth == 16 || window.screen.colorDepth == 24 || window.screen.colorDepth == 32 >-PASS window.screen.pixelDepth must return the value returned by window.screen.colorDepth >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface.html >deleted file mode 100644 >index 7abd2e591e98940e2ac26df7e89c0bd18b94decc..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface.html >+++ /dev/null >@@ -1,40 +0,0 @@ >-<!DOCTYPE html> >-<html> >- <head> >- <title>CSS Test: cssom view window screen attribute</title> >- <link rel="author" title="jingke" href="mailto:jingkewhu@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="window screen interface"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- </head> >- <body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <script> >- /*test readonly*/ >- test(function(){assert_readonly(window.screen, "availWidth");}, "Screen.availWidth is readonly"); >- test(function(){assert_readonly(window.screen, "availHeight");}, "Screen.availHeight is readonly"); >- test(function(){assert_readonly(window.screen, "width");}, "Screen.width is readonly"); >- test(function(){assert_readonly(window.screen, "height");}, "Screen.height is readonly"); >- test(function(){assert_readonly(window.screen, "colorDepth");}, "Screen.colorDepth is readonly"); >- test(function(){assert_readonly(window.screen, "pixelDepth");}, "Screen.pixelDepth is readonly"); >- >- >- test(function(){assert_true(window.screen.width >= 0 && window.screen.width < 6000000);}, >- "window.screen.width >= 0 && window.screen.width < 6000000"); >- test(function(){assert_true(window.screen.height >= 0 && window.screen.height < 6000000);}, >- "window.screen.height >= 0 && window.screen.height < 6000000"); >- test(function(){assert_true(window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width);}, >- "window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width"); >- test(function(){assert_true(window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height);}, >- "window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height"); >- test(function(){assert_in_array(window.screen.colorDepth, [0, 16, 24, 32]);}, >- "window.screen.colorDepth == 0 || window.screen.colorDepth == 16 || window.screen.colorDepth == 24 || window.screen.colorDepth == 32"); >- test(function(){assert_equals(window.screen.pixelDepth, window.screen.colorDepth);}, >- "window.screen.pixelDepth must return the value returned by window.screen.colorDepth"); >- </script> >- >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface-expected.txt >deleted file mode 100644 >index 6e041627b3ed90e61091285409804e2066afa499..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface-expected.txt >+++ /dev/null >@@ -1,7 +0,0 @@ >- >-PASS window_exposes_matchmedia >-PASS mediaquerylist_inherited_functions >-PASS mediaquerylist_functions >-PASS mediaquerylist_properties >-PASS mediaquerylist_properties_readonly >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht >deleted file mode 100644 >index 98bdaae6ec40bdf1c32f131f6a7dfbf730effc73..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht >+++ /dev/null >@@ -1,70 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >-<html xmlns="http://www.w3.org/1999/xhtml"> >- <head> >- <title>CSSOM MediaQueryList Test: Properties and Functions</title> >- <link rel="author" title="Joe Balancio" href="mailto:jlbalancio@gmail.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#extensions-to-the-window-interface" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface" /> >- <meta name="flags" content="dom" /> >- <meta name="assert" content="All properties exist and are readonly. All functions exist and are instances of Function" /> >- <script src="/resources/testharness.js" type="text/javascript" /> >- <script src="/resources/testharnessreport.js" type="text/javascript" /> >- </head> >- <body> >- <noscript>Test not run - javascript required.</noscript> >- <div id="log" /> >- <script type="text/javascript"><![CDATA[ >- var mediaQueryList; >- test( >- function(){ >- assert_own_property(window, "matchMedia"); >- mediaQueryList = window.matchMedia('foo'); >- }, 'window_exposes_matchmedia', { >- assert: ['window.matchMedia is exposed by window. If this fails, the rest of the test fails.'] >- } >- ); >- /* >- MediaQueryList Functions >- */ >- test( >- function(){ >- assert_inherits(mediaQueryList, "addListener"); >- assert_inherits(mediaQueryList, "removeListener"); >- }, 'mediaquerylist_inherited_functions', { >- assert: ['MediaQueryList functions are inherited'] >- } >- ); >- >- test( >- function(){ >- assert_true(mediaQueryList.addListener instanceof Function); >- assert_true(mediaQueryList.removeListener instanceof Function); >- }, 'mediaquerylist_functions', { >- assert: ['MediaQueryList functions are instances of Function'] >- } >- ); >- >- /* >- MediaQueryList Properties >- */ >- test( >- function() { >- assert_inherits(mediaQueryList, 'media'); >- assert_inherits(mediaQueryList, 'matches'); >- }, 'mediaquerylist_properties', { >- assert: ['MediaQueryList properties are inherited'] >- } >- ); >- test( >- function() { >- assert_readonly(mediaQueryList, 'media'); >- assert_readonly(mediaQueryList, 'matches'); >- }, 'mediaquerylist_properties_readonly', { >- assert: ['MediaQueryList properties are readonly'] >- } >- ); >- ]]> >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/w3c-import.log >deleted file mode 100644 >index 5f26b5e6426a497856705e49fa841b227eeaee27..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/w3c-import.log >+++ /dev/null >@@ -1,18 +0,0 @@ >-The tests in this directory were imported from the W3C repository. >-Do NOT modify these tests directly in WebKit. >-Instead, create a pull request on the WPT github: >- https://github.com/w3c/web-platform-tests >- >-Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport >- >-Do NOT modify or remove this file. >- >------------------------------------------------------------------------- >-Properties requiring vendor prefixes: >-None >-Property values requiring vendor prefixes: >-None >------------------------------------------------------------------------- >-List of files: >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface.xht >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt >deleted file mode 100644 >index f2304e08c57e022d6e6e8e8b1948fe1d7ba38a59..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-PASS window_exposed_functions >-PASS window_functions >-PASS window_properties >-FAIL window_properties_readonly assert_readonly: changing property "screen" succeeded >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface.xht b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface.xht >deleted file mode 100644 >index 2ed64cba6e6cf4d8607d271eb43393b5a3abbb23..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view/window-interface.xht >+++ /dev/null >@@ -1,98 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >-<html xmlns="http://www.w3.org/1999/xhtml"> >- <head> >- <title>CSSOM Window Test: Properties and Functions</title> >- <link rel="author" title="Joe Balancio" href="mailto:jlbalancio@gmail.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#extensions-to-the-window-interface" /> >- <meta name="flags" content="dom" /> >- <meta name="assert" content="All properties exist and are readonly. All functions exist and are instances of Function" /> >- <script src="/resources/testharness.js" type="text/javascript" /> >- <script src="/resources/testharnessreport.js" type="text/javascript" /> >- </head> >- <body> >- <noscript>Test not run - javascript required.</noscript> >- <div id="log" /> >- <script id="metadata_cache">/* >- { >- "window_exposed_functions": { >- "assert": ["window functions are exposed"] >- }, >- "window_functions": { >- "assert": ["window functions are instances of Function"] >- }, >- "window_properties": { >- "assert": ["window properties are owned by window"] >- }, >- "window_properties_readonly": { >- "assert": ["window properties are readonly"] >- } >- } >- */</script> >- <script type="text/javascript"><![CDATA[ >- /* >- Window Functions >- */ >- test( >- function(){ >- assert_own_property(window, "matchMedia"); >- assert_own_property(window, "scroll"); >- assert_own_property(window, "scrollTo"); >- assert_own_property(window, "scrollBy"); >- }, 'window_exposed_functions', { >- assert: ['window functions are exposed'] >- } >- ); >- >- test( >- function(){ >- assert_true(window.matchMedia instanceof Function); >- assert_true(window.scroll instanceof Function); >- assert_true(window.scrollTo instanceof Function); >- assert_true(window.scrollBy instanceof Function); >- }, 'window_functions', { >- assert: ['window functions are instances of Function'] >- } >- ); >- >- /* >- Window Properties >- */ >- test( >- function() { >- assert_own_property(window, 'screen'); >- assert_own_property(window, 'innerWidth'); >- assert_own_property(window, 'innerHeight'); >- assert_own_property(window, 'scrollX'); >- assert_own_property(window, 'pageXOffset'); >- assert_own_property(window, 'scrollY'); >- assert_own_property(window, 'pageYOffset'); >- assert_own_property(window, 'screenX'); >- assert_own_property(window, 'screenY'); >- assert_own_property(window, 'outerWidth'); >- assert_own_property(window, 'outerHeight'); >- }, 'window_properties', { >- assert: ['window properties are owned by window'] >- } >- ); >- test( >- function() { >- assert_readonly(window, 'screen'); >- assert_readonly(window, 'innerWidth'); >- assert_readonly(window, 'innerHeight'); >- assert_readonly(window, 'scrollX'); >- assert_readonly(window, 'pageXOffset'); >- assert_readonly(window, 'scrollY'); >- assert_readonly(window, 'pageYOffset'); >- assert_readonly(window, 'screenX'); >- assert_readonly(window, 'screenY'); >- assert_readonly(window, 'outerWidth'); >- assert_readonly(window, 'outerHeight'); >- }, 'window_properties_readonly', { >- assert: ['window properties are readonly'] >- } >- ); >- ]]> >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001-expected.txt >deleted file mode 100644 >index 400e4b871acb49b3167b9383e77d129fdc729f7e..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS CSSOM View - 5 - extensions to the Document interface >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001.html >deleted file mode 100644 >index c2fcc42c530cf21ac3307eca16b5e78d5eb07b9d..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001.html >+++ /dev/null >@@ -1,34 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 5 - extensions to the Document interface</title> >- <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="elementFromPoint returns correct element"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- <style> >- #targetDiv { >- position: absolute; >- top: 10; >- left: 10; >- height: 100px; >- width: 100px; >- } >- </style> >-</head> >-<body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <div id="targetDiv"> >- </div> >- <script> >- var element = document.elementFromPoint(15, 15); >- >- test ( function() { >- assert_equals(element.id, "targetDiv", "elementFromPoint didn't return the correct element"); >- }); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002-expected.txt >deleted file mode 100644 >index 68fdb9835dd79638c0f2474a7db918393d5c0354..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >- >-FAIL Checking whether dynamic changes to visibility interact correctly with >- table anonymous boxes assert_equals: Should hit the overlay first. expected Element node <div id="overlay"><div></div></div> but got Element node <div id="target">Some text</div> >-Some text >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002.html >deleted file mode 100644 >index ebab52feada4cb346f2a68c53a0357232271a334..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002.html >+++ /dev/null >@@ -1,40 +0,0 @@ >-<!doctype html> >-<meta charset=utf-8> >-<title>Checking whether dynamic changes to visibility interact correctly with >- table anonymous boxes</title> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<style> >-#overlay { >- display: table; >- position: absolute; >- top: 0; >- left: 0; >- width: 100%; >- height: 100%; >- background: white; >- z-index: 999 >-} >- >-#wrapper { position: relative; } >-</style> >-<div id=log></div> >-<div id="wrapper"> >- <div id="overlay"><div></div></div> >- <div id="target">Some text</div> >-</div> >-<script> >- test(function() { >- var t = document.querySelector("#target"); >- var rect = t.getBoundingClientRect(); >- var hit = document.elementFromPoint(rect.x + rect.width/2, >- rect.y + rect.height/2); >- assert_equals(hit, t.previousElementSibling, >- "Should hit the overlay first."); >- t.previousElementSibling.style.visibility = "hidden"; >- hit = document.elementFromPoint(rect.x + rect.width/2, >- rect.y + rect.height/2); >- assert_equals(hit, t, >- "Should hit our target now that the overlay is hidden."); >- }); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003-expected.txt >deleted file mode 100644 >index 9ca393ce41495b217cf990b5f64ce3b419d40178..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >- >-FAIL Checking whether dynamic changes to visibility interact correctly with >- table anonymous boxes assert_equals: Should hit the overlay first. expected Element node <div id="overlay"><div></div><div></div></div> but got Element node <div id="target">Some text</div> >-Some text >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003.html >deleted file mode 100644 >index 0a1ac40e7223ba3d717810cd179b770ca09d7081..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003.html >+++ /dev/null >@@ -1,48 +0,0 @@ >-<!doctype html> >-<meta charset=utf-8> >-<title>Checking whether dynamic changes to visibility interact correctly with >- table anonymous boxes</title> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<style> >-#overlay { >- display: table; >- position: absolute; >- top: 0; >- left: 0; >- width: 100%; >- height: 100%; >- background: white; >- z-index: 999 >-} >- >-#wrapper { position: relative; } >-</style> >-<div id=log></div> >-<div id="wrapper"> >- <div id="overlay"><div></div></div> >- <div id="target">Some text</div> >-</div> >-<script> >- test(function() { >- // Make sure we have boxes constructed already. >- document.body.offsetWidth; >- var overlay = document.querySelector("#overlay"); >- overlay.insertBefore(document.createElement("div"), overlay.firstChild); >- overlay.appendChild(document.createElement("div")); >- // Make sure we have boxes constructed for those inserts/appends >- document.body.offsetWidth; >- overlay.firstChild.nextSibling.remove(); >- var t = document.querySelector("#target"); >- var rect = t.getBoundingClientRect(); >- var hit = document.elementFromPoint(rect.x + rect.width/2, >- rect.y + rect.height/2); >- assert_equals(hit, t.previousElementSibling, >- "Should hit the overlay first."); >- t.previousElementSibling.style.visibility = "hidden"; >- hit = document.elementFromPoint(rect.x + rect.width/2, >- rect.y + rect.height/2); >- assert_equals(hit, t, >- "Should hit our target now that the overlay is hidden."); >- }); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt >deleted file mode 100644 >index b6e56682b9b84f8e7580d407bf6edc8e6154d7b1..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt >+++ /dev/null >@@ -1,21 +0,0 @@ >- >- >- >-Hello! >- >-Another teal >- >- >-PASS Negative co-ordinates >-PASS co-ordinates larger than the viewport >-PASS co-ordinates larger than the viewport from in iframe >-PASS Return first element that is the target for hit testing >-PASS First element to get mouse events with pointer-events css >-PASS SVG element at x,y >-PASS transformed element at x,y >-PASS no hit target at x,y >-PASS No viewport available >-FAIL Image Maps assert_equals: Should have returned the area element expected Element node <area id="rectG" shape="rect" coords="0,0,90,100" href="#... but got Element node <html><head><title>cssom-view - elementFromPoint</title> >-... >-PASS Fieldsets >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint.html >deleted file mode 100644 >index 33de41e90f6586c28a8d61635f7af2f307d62138..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint.html >+++ /dev/null >@@ -1,206 +0,0 @@ >-<!DOCTYPE html> >-<title>cssom-view - elementFromPoint</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style> >- .size { >- width:60px; >- height:60px; >- } >- .overlay { >- position:absolute; >- top:69px; >- pointer-events:none; >- } >- .purple { >- background-color: rebeccapurple; >- } >- .yellow { >- background-color: yellow; >- } >- .teal { >- background-color: teal; >- } >- .pink { >- background-color: pink; >- } >-</style> >-<body> >- <div id='purple' class="size purple" > </div> >- <div id='yellow' class="size yellow"> </div> >- <div id='teal' class="size overlay teal"> </div> >- <iframe id=iframe-1 src="iframe.html" style='display:none;position:absolute; left:300px;'></iframe> >- <iframe id=iframe-2 src="iframe.html" width="" height=""></iframe> >- <iframe id=iframe-3 width="" height=""></iframe> >- <svg id=squiggle xmlns="http://www.w3.org/2000/svg" height="98" width="500" viewBox="0 0 581 98"> >- <path stroke-dashoffset="0.00" stroke-dasharray="" d="M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1" stroke="#000" stroke-width="4.3" fill="none"> >- </path> >- </svg> >- <svg id=svg-transform width="180" height="140" >- xmlns="http://www.w3.org/2000/svg" >- xmlns:xlink="http://www.w3.org/1999/xlink"> >- >- <!-- Now we add a text element and apply rotate and translate to both --> >- <rect x="50" y="50" height="60" width="60" style="stroke:#000; fill: #0086B2" transform="translate(30) rotate(45 50 50)"></rect> >- <text x="60" y="105" transform="translate(30) rotate(45 50 50)"> Hello! </text> >- >-</svg> >- <div id='pink' class='size pink' style='transform: translate(10px)'> </div> >- <div id='anotherteal' class='size teal' style='pointer-events:none'>Another teal</div> >- <img id="dinos" src="/images/blue-area.png" usemap="#dinos_map" border="0" width="364" height="40"/> >- <map id="dinos_map" name="dinos_map"> >- <area id="rectG" shape="rect" coords="0,0,90,100" href="#" alt="area 1"/> >- <area id="circleO" shape="circle" coords="120,60,30" href="#" alt="area 2"/> >- <area id="polyLE" shape="poly" coords="280,0,310,0,360,30,360,90,280,90" href="#" alt="area 3"/> >- </map> >- <!-- Test for fieldsets not doing weird things. Use a 200x200 div to hold >- all the bits for this test. Also, place it top/right, so it is not below >- the bottom edge of the viewport. --> >- <div style="position: absolute; width: 200px; height: 200px; right: 0; top: 0"> >- <div id="fieldset-div" >- class="size" style="position: absolute; top: 0; left: 0"> >- </div> >- <fieldset id="fieldset" >- class="size" >- style="position: absolute; top: 100px; left: 100px; border-radius: 100px"> >- <!-- Place the child span so the overflow area of the fieldset overlaps >- the div --> >- <span style="position: absolute; top: -100px; left: -100px; height: 1px; width: 1px"></span> >- </fieldset> >- </div> >- <script> >- setup({explicit_done:true}); >- window.onload = function () { >- test(function () { >- assert_equals(document.elementFromPoint(-1, -1), null, >- "both co-ordinates passed in are negative so should have returned a null"); >- assert_equals(document.elementFromPoint(-1, -1), null, >- "x co-ordinates passed in are negative so should have returned a null"); >- assert_equals(document.elementFromPoint(-1, -1), null, >- "y co-ordinates passed in are negative so should have returned a null"); >- }, "Negative co-ordinates"); >- >- test(function () { >- var viewportX = window.innerWidth; >- var viewportY = window.innerHeight; >- assert_equals(document.elementFromPoint(viewportX + 100, 10), null, >- "X co-ordinates larger than viewport"); >- assert_equals(document.elementFromPoint(10, viewportY + 100), null, >- "Y co-ordinates larger than viewport"); >- assert_equals(document.elementFromPoint(viewportX + 100, viewportY + 100), null, >- "X, Y co-ordinates larger than viewport"); >- }, "co-ordinates larger than the viewport"); >- >- test(function () { >- var viewportX = window.frames[1].innerWidth; >- var viewportY = window.frames[1].innerHeight; >- var iframeRect = document.getElementById('iframe-2').getBoundingClientRect(); >- assert_equals(null, window.frames[1].document.elementFromPoint(iframeRect.right + viewportX + 100, 10), >- "X co-ordinates larger than viewport"); >- assert_equals(null, window.frames[1].document.elementFromPoint(10, iframeRect.bottom + viewportY + 100), >- "Y co-ordinates larger than viewport"); >- assert_equals(null, window.frames[1].document.elementFromPoint(iframeRect.right + viewportX + 100, >- iframeRect.bottom + viewportY + 100), >- "X, Y co-ordinates larger than viewport"); >- }, "co-ordinates larger than the viewport from in iframe"); >- >- test(function () { >- assert_equals(document.elementFromPoint(10, 10), document.getElementById('purple'), >- "Should have returned the element with id `purple`"); >- }, "Return first element that is the target for hit testing"); >- >- test(function () { >- assert_equals(document.elementFromPoint(10, 80), document.getElementById('yellow'), >- "Should have returned the element with id `yellow` as element with `teal` has `pointer-events:none`"); >- }, "First element to get mouse events with pointer-events css"); >- >- test(function () { >- var svg = document.getElementById('squiggle'); >- svg.scrollIntoView(); >- var svgRect = svg.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(svgRect.left + Math.round(svgRect.width/2), >- svgRect.top + Math.round(svgRect.height/2)), >- svg, >- "Should have returned the line SVG"); >- }, "SVG element at x,y"); >- >- test(function () { >- var svg = document.getElementById('svg-transform'); >- svg.scrollIntoView(); >- var svgRect = svg.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(svgRect.left + Math.round(svgRect.width/2), >- svgRect.top + Math.round(svgRect.height/2)), >- svg.querySelector("rect"), >- "Should have returned SVG with Hello WPT! that has a transform"); >- >- var pink = document.getElementById('pink'); >- pink.scrollIntoView(); >- var pinkRect = pink.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(pinkRect.left + Math.round(pinkRect.width/2), >- pinkRect.top + Math.round(pinkRect.height/2)), >- pink, >- "Should have returned pink element that has a transform"); >- >- }, "transformed element at x,y"); >- >- test(function () { >- var anotherteal = document.getElementById('anotherteal'); >- anotherteal.scrollIntoView(); >- var anothertealRect = anotherteal.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(anothertealRect.left + Math.round(anothertealRect.width/2), >- anothertealRect.top + Math.round(anothertealRect.height/2)), >- document.body, >- "Should have returned the root as it has pointer-events:none"); >- >- var doc = frames[2].document; >- doc.removeChild(doc.documentElement); >- assert_equals(doc.elementFromPoint(0, 0), null, >- "Should have returned null as no root element"); >- }, "no hit target at x,y"); >- >- test(function () { >- var doc = document.implementation.createHTMLDocument('foo'); >- assert_equals(doc.elementFromPoint(0, 0), null, >- "Should have returned the documentElement for the document") >- }, "No viewport available"); >- >- test(function () { >- // HTML says: >- // Pointing device interaction with an image associated with a set of layered shapes per >- // the above algorithm must result in the relevant user interaction events being first >- // fired to the top-most shape covering the point that the pointing device indicated, if >- // any, or to the image element itself, if there is no shape covering that point. >- // https://html.spec.whatwg.org/multipage/embedded-content.html#image-map-processing-model >- var area = document.getElementById('rectG'); >- var image = document.getElementById('dinos'); >- area.scrollIntoView(); >- var areaRect = area.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(areaRect.left + Math.round(areaRect.width/2), >- areaRect.top + Math.round(areaRect.height/2)), >- area, >- "Should have returned the area element"); >- assert_equals(document.elementFromPoint(areaRect.left + 92, >- areaRect.top + 2), >- image, >- "Should have returned the image element"); >- }, "Image Maps"); >- >- test(function(){ >- var fieldsetDiv = document.getElementById("fieldset-div"); >- var divRect = fieldsetDiv.getBoundingClientRect(); >- assert_equals(document.elementFromPoint(divRect.left + divRect.width/2, >- divRect.top + divRect.height/2), >- fieldsetDiv, >- "The fieldset should not cover up the div it doesn't even overlap"); >- >- var fieldset = document.getElementById("fieldset"); >- var rect = fieldset.getBoundingClientRect(); >- // A point 5px in from topleft will be outside the rounded border. >- assert_not_equals(document.elementFromPoint(rect.left + 5, >- rect.top + 5), >- fieldset, >- "The fieldset should not be hit by hit-tests outside its rounded border"); >- }, "Fieldsets"); >- done(); >- } >- </script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition-expected.txt >deleted file mode 100644 >index 4d34fc2bba21e17866b7dfb7723de8f5fb86b6d5..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition-expected.txt >+++ /dev/null >@@ -1,18 +0,0 @@ >- >-PASS document.elementFromPoint >-PASS document.elementFromPoint is a Function >-PASS test some point of the element: top left corner >-PASS test some point of the element: top line >-FAIL test some point of the element: top right corner assert_equals: expected true but got false >-PASS test some point of the element: left line >-PASS test some point of the element: inside >-FAIL test some point of the element: right line assert_equals: expected true but got false >-FAIL test some point of the element: bottom left corner assert_equals: expected true but got false >-FAIL test some point of the element: bottom line assert_equals: expected true but got false >-FAIL test some point of the element: bottom right corner assert_equals: expected true but got false >-PASS Point (0, 0), return root element(HTML) >-PASS test negative x >-PASS test negative y >-PASS test outside of viewport >-PASS test the top of layer >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition.html >deleted file mode 100644 >index d4da36ff1f7094b32d7812fd83e01748a9abb7ac..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition.html >+++ /dev/null >@@ -1,143 +0,0 @@ >-<!DOCTYPE HTML> >-<html lang="en-US"> >-<head> >- <title>CSS Test: CSSOM View elementFromPoint</title> >- <meta charset="UTF-8"> >- <link rel="author" title="Chris" href="mailto:pwx.frontend@gmail.com" /> >- <link rel="help" href="https://www.w3.org/TR/cssom-view/#dom-document-elementfrompoint" /> >- <meta name="flags" content="dom" /> >- <script src="/resources/testharness.js" type="text/javascript"></script> >- <script src="/resources/testharnessreport.js" type="text/javascript"></script> >- <script id="metadata_cache">/* >-{ >- "document.elementFromPoint": {}, >- "document.elementFromPoint is a Function": {}, >- "test some point of the element: top left corner": {}, >- "test some point of the element: top line": {}, >- "test some point of the element: top right corner": {}, >- "test some point of the element: left line": {}, >- "test some point of the element: inside": {}, >- "test some point of the element: right line": {}, >- "test some point of the element: bottom left corner": {}, >- "test some point of the element: bottom line": {}, >- "test some point of the element: bottom right corner": {}, >- "Point (0, 0), return root element(HTML)": {}, >- " test negative x ": {}, >- " test negative y ": {}, >- "test outside of viewport": {}, >- "test the top of layer": {} >-} >- */</script> >-</head> >-<body> >- <noscript>Test not run - JavaScript required!</noscript> >- <div id="log"></div> >- <script type="text/javascript"> >- >- var body = document.getElementsByTagName( 'body' )[0]; >- function createElement( id ) { >- var elem = document.createElement( 'div' ); >- if ( id && typeof id == 'string' ) { >- elem.id = id; >- } >- body.appendChild( elem ); >- return elem; >- } >- >- function setPosition( config ) { >- var target = config.target; >- target.style.position = 'absolute'; >- target.style.left = config.left + 'px'; >- target.style.top = config.top + 'px'; >- target.style.width = config.width + 'px'; >- target.style.height = config.height + 'px'; >- if ( config['z-index'] ) { >- target.style.zIndex = config['z-index']; >- } >- } >- >- var target = createElement( 'dom-1' ); >- setPosition( { >- width: 100, >- height: 100, >- left: 10, >- top: 10, >- target: target >- }); >- >- test( function () { >- assert_inherits( document, 'elementFromPoint' ); >- }, 'document.elementFromPoint'); >- >- test( function () { >- assert_true( document.elementFromPoint instanceof Function ); >- }, 'document.elementFromPoint is a Function'); >- (function(){ >- var wrap = [ >- // å·¦ä¸è§. >- {x: 10, y: 10, r: 'top left corner'}, >- // ä¸è¾¹çº¿ >- {x: 50, y: 10, r: 'top line'}, >- // å³ä¸è§ >- {x: 110, y: 10, r: 'top right corner'}, >- // 左边线 >- {x: 10, y: 50, r: 'left line'}, >- // å ç´ èå´å >- {x: 50, y: 50, r: 'inside'}, >- // å³è¾¹çº¿ >- {x: 110, y: 50, r: 'right line'}, >- // å·¦ä¸è§ >- {x: 10, y: 110, r: 'bottom left corner'}, >- // ä¸è¾¹çº¿ >- {x: 50, y: 110, r: 'bottom line'}, >- // å³ä¸è§ >- {x: 110, y: 110, r: 'bottom right corner'} >- ]; >- var i = 0, len = wrap.length, item; >- for ( ; i < len; i++ ) { >- item = wrap[ i ]; >- test( function () { >- assert_equals( document.elementFromPoint( item.x, item.y).id == 'dom-1', true ); >- }, 'test some point of the element: ' + item.r); >- } >- })(); >- test( function () { >- var elem = document.elementFromPoint( 0, 0 ); >- assert_true( elem.nodeName == 'HTML' ); >- }, 'Point (0, 0), return root element(HTML)' ); >- >- test( function () { >- var elem = document.elementFromPoint( -1000, 0 ); >- assert_true( elem == null, 'negative x, return null' ); >- }, ' test negative x '); >- >- test( function () { >- var elem = document.elementFromPoint( 0, -1000 ); >- assert_true( elem == null, 'negative y, return null' ); >- }, ' test negative y '); >- >- test( function () { >- var elem = document.elementFromPoint( 100000, 0 ); >- assert_true( elem == null ); >- }, 'test outside of viewport'); >- >- test( function () { >- var config = { >- width: 100, >- height: 100, >- left: 5, >- top: 5 >- }; >- var target2 = createElement( 'dom-2' ); >- config.target = target2; >- setPosition( config ); >- >- var elem = document.elementFromPoint( 10, 10 ); >- var elem2 = document.elementFromPoint( 10, 10 ); >- assert_equals( elem.id, elem2.id ); >- }, 'test the top of layer'); >- </script> >-</body> >-</html> >- >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll-expected.txt >deleted file mode 100644 >index 51fdec5dd938ab5d5076ac90586355244e221421..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll-expected.txt >+++ /dev/null >@@ -1,10 +0,0 @@ >- >-PASS Element scrollTop/Left getter/setter test >-PASS Element scroll test (two arguments) >-PASS Element scroll test (one argument) >-PASS Element scrollTo test (two arguments) >-PASS Element scrollTo test (one argument) >-PASS Element scrollBy test (two arguments) >-PASS Element scrollBy test (one argument) >-PASS Element scroll maximum test >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll.html >deleted file mode 100644 >index 2ef76e9d64fa2036dadb26c7a809dab6bfaad1fc..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll.html >+++ /dev/null >@@ -1,173 +0,0 @@ >-<!DOCTYPE html> >-<meta charset=utf-8> >-<title>cssom-view - elementScroll</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style> >- #section { >- width: 300px; >- height: 500px; >- /*position: absolute;*/ >- top: 16px; >- left: 16px; >- border: inset gray 3px; >- overflow: hidden; >- background: white; >- } >- >- #scrollable { >- width: 400px; >- height: 700px; >- background: linear-gradient(135deg, red, blue); >- } >- >-</style> >- >-<section id="section"> >- <div id="scrollable"></div> >- <div id="unrelated"></div> >-</section> >- >-<script> >- setup({explicit_done:true}); >- window.onload = function () { >- var section = document.getElementById("section"); >- var unrelated = document.getElementById("unrelated"); >- >- test(function () { >- assert_equals(section.scrollTop, 0, "initial scrollTop should be 0"); >- assert_equals(section.scrollLeft, 0, "initial scrollLeft should be 0"); >- >- section.scrollTop = 30; >- section.scrollLeft = 40; >- >- assert_equals(section.scrollTop, 30, "changed scrollTop should be 40"); >- assert_equals(section.scrollLeft, 40, "changed scrollLeft should be 40"); >- assert_equals(unrelated.scrollTop, 0, "unrelated element should not scroll"); >- assert_equals(unrelated.scrollLeft, 0, "unrelated element should not scroll"); >- }, "Element scrollTop/Left getter/setter test"); >- >- test(function () { >- section.scroll(50, 60); >- >- assert_equals(section.scrollLeft, 50, "changed scrollLeft should be 50"); >- assert_equals(section.scrollTop, 60, "changed scrollTop should be 60"); >- }, "Element scroll test (two arguments)"); >- >- test(function () { >- section.scroll({left: 55, top: 65}); >- >- assert_equals(section.scrollLeft, 55, "changed scrollLeft should be 55"); >- assert_equals(section.scrollTop, 65, "changed scrollTop should be 65"); >- >- section.scroll({left: 85}); >- >- assert_equals(section.scrollLeft, 85, "changed scrollLeft should be 85"); >- assert_equals(section.scrollTop, 65, "scrollTop should stay at 65"); >- >- section.scroll({top: 75}); >- >- assert_equals(section.scrollLeft, 85, "scrollLeft should stay at 85"); >- assert_equals(section.scrollTop, 75, "changed scrollTop should be 75"); >- >- section.scroll({}); >- >- assert_equals(section.scrollLeft, 85, "scrollLeft should stay at 85"); >- assert_equals(section.scrollTop, 75, "scrollTop should stay at 75"); >- >- section.scroll(); >- >- assert_equals(section.scrollLeft, 85, "scrollLeft should stay at 85"); >- assert_equals(section.scrollTop, 75, "scrollTop should stay at 75"); >- }, "Element scroll test (one argument)"); >- >- test(function () { >- section.scrollTo(80, 70); >- >- assert_equals(section.scrollLeft, 80, "changed scrollLeft should be 70"); >- assert_equals(section.scrollTop, 70, "changed scrollTop should be 80"); >- }, "Element scrollTo test (two arguments)"); >- >- test(function () { >- section.scrollTo({left: 75, top: 85}); >- >- assert_equals(section.scrollLeft, 75, "changed scrollLeft should be 75"); >- assert_equals(section.scrollTop, 85, "changed scrollTop should be 85"); >- >- section.scrollTo({left: 65}); >- >- assert_equals(section.scrollLeft, 65, "changed scrollLeft should be 65"); >- assert_equals(section.scrollTop, 85, "scrollTop should stay at 85"); >- >- section.scrollTo({top: 55}); >- >- assert_equals(section.scrollLeft, 65, "scrollLeft should stay at 65"); >- assert_equals(section.scrollTop, 55, "changed scrollTop should be 55"); >- >- section.scrollTo({}); >- >- assert_equals(section.scrollLeft, 65, "scrollLeft should stay at 65"); >- assert_equals(section.scrollTop, 55, "scrollTop should stay at 55"); >- >- section.scrollTo(); >- >- assert_equals(section.scrollLeft, 65, "scrollLeft should stay at 55"); >- assert_equals(section.scrollTop, 55, "scrollTop should stay at 55"); >- }, "Element scrollTo test (one argument)"); >- >- test(function () { >- var left = section.scrollLeft; >- var top = section.scrollTop; >- >- section.scrollBy(10, 20); >- >- assert_equals(section.scrollLeft, left + 10, "increment of scrollLeft should be 10") >- assert_equals(section.scrollTop, top + 20, "increment of scrollTop should be 20") >- }, "Element scrollBy test (two arguments)"); >- >- test(function () { >- var left = section.scrollLeft; >- var top = section.scrollTop; >- >- section.scrollBy({left: 5, top: 15}); >- left += 5 >- top += 15 >- >- assert_equals(section.scrollLeft, left, "increment of scrollLeft should be 5") >- assert_equals(section.scrollTop, top, "increment of scrollTop should be 15") >- >- section.scrollBy({left: -15}); >- left -= 15 >- >- assert_equals(section.scrollLeft, left, "decrement of scrollLeft should be 15") >- assert_equals(section.scrollTop, top, "scrollTop should not be modified") >- >- section.scrollBy({top: -5}); >- top -= 5; >- >- assert_equals(section.scrollLeft, left, "scrollLeft should not be modified") >- assert_equals(section.scrollTop, top, "decrement of scrollTop should be 5") >- >- section.scrollBy({}); >- >- assert_equals(section.scrollLeft, left, "scrollLeft should not be modified") >- assert_equals(section.scrollTop, top, "scrollTop should not be modified") >- >- section.scrollBy(); >- >- assert_equals(section.scrollLeft, left, "scrollLeft should not be modified") >- assert_equals(section.scrollTop, top, "scrollTop should not be modified") >- }, "Element scrollBy test (one argument)"); >- >- test(function () { >- section.scrollTop = 1000; >- section.scrollLeft = 1000; >- >- assert_equals(section.scrollTop, 700 - 500, "changed scrollTop should be 200"); >- assert_equals(section.scrollLeft, 400 - 300, "changed scrollLeft should be 100"); >- >- }, "Element scroll maximum test"); >- >- done(); >- }; >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-expected.txt >deleted file mode 100644 >index d66e8dcb816a86640c24989a80947eefadcecfcd..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-expected.txt >+++ /dev/null >@@ -1,17 +0,0 @@ >- >- >- >-Hello! >- >-Another teal >- >-PASS Negative co-ordinates >-PASS co-ordinates larger than the viewport >-PASS co-ordinates larger than the viewport from in iframe >-PASS Return first element that is the target for hit testing >-PASS First element to get mouse events with pointer-events css >-PASS SVG element at x,y >-PASS transformed element at x,y >-PASS no hit target at x,y >-PASS No viewport available >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes-expected.txt >deleted file mode 100644 >index 886f6bf3f2cfe63c7902ac676cf5cfc80226b457..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >- >-PASS elementsFromPoint on the root document for points in iframe elements >-PASS elementsFromPoint on inner documents >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes.html >deleted file mode 100644 >index 3bba161b47d1ff3424b331b69444051af1300d71..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes.html >+++ /dev/null >@@ -1,83 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<script> >-var loadedFrameCount = 0; >-var t1 = async_test('elementsFromPoint on the root document for points in iframe elements'); >-var t2 = async_test('elementsFromPoint on inner documents'); >- >-function onFrameLoaded() { >- loadedFrameCount++; >- if (loadedFrameCount < 2) >- return; >- >- var body = document.body; >- var html = document.documentElement; >- var iframe = document.getElementById('iframe'); >- var scrollableIframe = document.getElementById('scrollableIframe'); >- t1.step(function() { >- checkElementsFromPointFourCorners('document', 'iframe', >- [iframe, body, html], >- [iframe, body, html], >- [iframe, body, html], >- [scrollableIframe, iframe, body, html]); >- >- checkElementsFromPointFourCorners('document', 'scrollableIframe', >- [scrollableIframe, iframe, body, html], >- [scrollableIframe, iframe, body, html], >- [scrollableIframe, iframe, body, html], >- [scrollableIframe, iframe, body, html]); >- }); >- t1.done(); >- >- t2.step(function() { >- var iframeDocument = document.getElementById('iframe').contentDocument; >- var iframeRoot = iframeDocument.documentElement; >- var iframeBody = iframeDocument.body; >- var iframeDiv = iframeDocument.getElementById('div'); >- checkElementsFromPointFourCorners('document.getElementById(\'iframe\').contentDocument', 'div', >- [iframeDiv, iframeBody, iframeRoot], >- [iframeDiv, iframeBody, iframeRoot], >- [iframeDiv, iframeBody, iframeRoot], >- [iframeDiv, iframeBody, iframeRoot]); >- >- var iframeDocument2 = document.getElementById('scrollableIframe').contentDocument; >- var iframeRoot2 = iframeDocument2.documentElement; >- var iframeBody2 = iframeDocument2.body; >- var iframeSmallDiv = iframeDocument2.getElementById('small'); >- var iframeBigDiv = iframeDocument2.getElementById('big'); >- checkElementsFromPointFourCorners('document.getElementById(\'scrollableIframe\').contentDocument', 'big', >- [iframeSmallDiv, iframeBigDiv, iframeBody2, iframeRoot2], >- [iframeBigDiv, iframeBody2, iframeRoot2], >- [], >- []); >- }); >- t2.done(); >-} >-</script> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-body { >- height: 500px; >-} >-#iframe { >- width: 200px; >- height: 200px; >-} >-#scrollableIframe { >- position: absolute; >- top: 0; >- left: 0; >- transform: translate(50px, 50px); >- width: 150px; >- height: 150px; >- overflow-y: scroll; >- overflow-x: scroll; >-} >-</style> >-<iframe id="iframe" src="resources/iframe1.html"></iframe> >-<iframe id="scrollableIframe" src="resources/iframe2.html"></iframe> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases-expected.txt >deleted file mode 100644 >index efef29b0ca7eb50725f5f86846f99a68f37528a9..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >-PASS The root element is the last element returned for otherwise empty queries within the viewport >-PASS The root element is the last element returned for valid queries >-PASS An empty sequence is returned for queries outside the viewport >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases.html >deleted file mode 100644 >index 369cffcd31ad9ef8a2946a9974f4030a5798bfed..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases.html >+++ /dev/null >@@ -1,56 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<style> >-html { >- overflow-y: scroll; >- overflow-x: scroll; >-} >-html, body { >- margin: 0; >- padding: 0; >-} >-body { >- width: 100%; >- height: 100%; >-} >-#simpleDiv { >- width: 200px; >- height: 200px; >- background-color: rgba(0,255,0,0.5); >-} >-#beyondTopLeft { >- position: absolute; >- transform: translate3d(-100px, -100px, 10px); >- left: 0; >- top: 0; >- width: 100px; >- height: 100px; >- background-color: rgba(0,0,0,0.1); >-} >-</style> >-<body> >-<div id="beyondTopLeft"></div> >-<div id="simpleDiv"></div> >-<script> >-test(function() { >- assertElementsFromPoint('document', 300, 300, [document.documentElement]); >-}, "The root element is the last element returned for otherwise empty queries within the viewport"); >- >-test(function() { >- var simpleDiv = document.getElementById('simpleDiv'); >- var simpleRect = simpleDiv.getBoundingClientRect(); >- var simpleCoords = (simpleRect.right - 1) + ', ' + (simpleRect.bottom - 1); >- assertElementsFromPoint('document', simpleRect.right - 1, simpleRect.bottom - 1, >- [simpleDiv, document.body, document.documentElement]); >-}, "The root element is the last element returned for valid queries"); >- >-test(function() { >- assertElementsFromPoint('document', window.innerWidth + 1, window.innerHeight + 1, []); >- assertElementsFromPoint('document', -1, -1, []); >- assertElementsFromPoint('document', 1, -1, []); >- assertElementsFromPoint('document', -1, 1, []); >-}, "An empty sequence is returned for queries outside the viewport"); >-</script> >-</body> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot-expected.txt >deleted file mode 100644 >index 9875d333118b9aa3a43640e34b5724436a5fcc27..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >- >-PASS elementsFromPoint on the document root should not return elements in shadow trees >-PASS elementsFromPoint on a shadow root should include elements in that shadow tree >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot.html >deleted file mode 100644 >index b3e0c6db269f468be4185618ffd6c4f32beae83d..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot.html >+++ /dev/null >@@ -1,87 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-body { >- height: 500px; >-} >-</style> >-<body> >-<div id="host"></div> >-<div id="blockHost"></div> >-<span id="inlineBlockHost" style="display:inline-block;"></span> >-<input type="submit" id="submit"> >-<script> >-function assertElementsFromPoint(doc, x, y, expected) { >- var query = doc + '.elementsFromPoint(' + x + ',' + y + ')'; >- var sequence = eval(query); >- assert_equals(nodeListToString(sequence), nodeListToString(expected), query); >-} >- >-function createBox(id) { >- var div = document.createElement('div'); >- div.id = id; >- div.style.width = '100px'; >- div.style.height = '10px'; >- return div; >-} >- >-function centerX(element) { >- return element.offsetLeft + element.offsetWidth / 2; >-} >- >-function centerY(element) { >- return element.offsetTop + element.offsetHeight / 2; >-} >- >-var shadowRoot = host.attachShadow({mode: 'closed'}); >-var box11 = createBox('box11'); >-var box12 = createBox('box12'); >-var box13 = createBox('box13'); >-shadowRoot.appendChild(box11); >-shadowRoot.appendChild(box12); >-shadowRoot.appendChild(box13); >- >-var nestedHost = document.createElement('div'); >-var nestedShadowRoot = nestedHost.attachShadow({mode: 'closed'}); >-var box21 = createBox('box21'); >-var box22 = createBox('box22'); >-var box23 = createBox('box23'); >-nestedShadowRoot.appendChild(box21); >-nestedShadowRoot.appendChild(box22); >-nestedShadowRoot.appendChild(box23); >- >-shadowRoot.appendChild(nestedHost); >- >-var x12 = centerX(box12); >-var y12 = centerY(box12); >-var x22 = centerX(box22); >-var y22 = centerY(box22); >- >-var root3 = blockHost.attachShadow({mode: 'closed'}); >-root3.appendChild(document.createTextNode('text1')); >-var root4 = inlineBlockHost.attachShadow({mode: 'closed'}); >-root4.appendChild(document.createTextNode('text2')); >- >-test(function() { >- assertElementsFromPoint('document', x22, y22, [host, document.body, document.documentElement]); >- assertElementsFromPoint('document', centerX(blockHost), centerY(blockHost), >- [blockHost, document.body, document.documentElement]); >- assertElementsFromPoint('document', centerX(inlineBlockHost), centerY(inlineBlockHost), >- [inlineBlockHost, document.body, document.documentElement]); >- assertElementsFromPoint('document', centerX(submit), centerY(submit), >- [submit, document.body, document.documentElement]); >-}, 'elementsFromPoint on the document root should not return elements in shadow trees'); >- >-test(function() { >- assert_not_equals(shadowRoot.elementsFromPoint(x12, y12).indexOf(box12), -1); >- assert_not_equals(shadowRoot.elementsFromPoint(x22, y22).indexOf(nestedHost), -1); >- assert_not_equals(nestedShadowRoot.elementsFromPoint(x22, y22).indexOf(box22), -1); >-}, 'elementsFromPoint on a shadow root should include elements in that shadow tree'); >-</script> >-</body> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple-expected.txt >deleted file mode 100644 >index 5d6ef83b05ee7737c8a7c2ce1a24afcd0b687f53..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple-expected.txt >+++ /dev/null >@@ -1,8 +0,0 @@ >- >-PASS elementsFromPoint for each corner of a simple div >-PASS elementsFromPoint for each corner of a div that has a pseudo-element >-PASS elementsFromPoint for each corner of a div that is between another div and its pseudo-element >-PASS elementsFromPoint for each corner of a div that has a margin >-PASS elementsFromPoint for each corner of a div with pointer-events:none >-PASS elementsFromPoint for each corner of a div with a 3d transform >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple.html >deleted file mode 100644 >index 4973121d7db5ad4b36d4eaac0446186f7cbe5fbc..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple.html >+++ /dev/null >@@ -1,131 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-body { >- height: 500px; >-} >-#simpleDiv { >- width: 200px; >- height: 200px; >- background-color: rgba(0,0,255,0.5); >-} >-#divWithPseudo { >- position: absolute; >- left: 50px; >- top: 50px; >- width: 100px; >- height: 100px; >- background-color: rgba(255,0,0,0.5); >-} >-#divWithPseudo::before { >- position: absolute; >- left: 20px; >- top: 20px; >- width: 100px; >- height: 100px; >- content: "::before"; >- background-color: rgba(255,0,0,0.5); >- z-index: 9999; >-} >-#divBetweenPseudo { >- position: absolute; >- left: 100px; >- top: 100px; >- width: 100px; >- height: 100px; >- background-color: rgba(0,255,0,0.5); >-} >-#withMargin { >- margin-top: -15px; >- width: 200px; >- height: 200px; >- background-color: rgba(0,0,0,0.5); >-} >-#inlineSpan { >- float: right; >- background-color: yellow; >- width: 100px; >- height: 1em; >-} >-#noPointerEvents { >- position: absolute; >- left: 50px; >- top: 50px; >- width: 100px; >- height: 300px; >- background-color: rgba(0,0,0,0.1); >- pointer-events: none; >-} >-#threeD { >- position: absolute; >- transform: translate3d(-100px, -100px, 10px); >- left: 140px; >- top: 140px; >- width: 200px; >- height: 50px; >- background-color: rgba(255,255,255,0.5); >-} >-</style> >-<div id="simpleDiv"></div> >-<div id="divWithPseudo"></div> >-<div id="divBetweenPseudo"></div> >-<div id="withMargin"><span id="inlineSpan"></span></div> >-<div id="noPointerEvents"></div> >-<div id="threeD"></div> >-<script> >-var body = document.body; >-var html = document.documentElement; >-test(function() { >- checkElementsFromPointFourCorners('document', 'simpleDiv', >- [simpleDiv, body, html], >- [simpleDiv, body, html], >- [withMargin, simpleDiv, body, html], >- [divBetweenPseudo, inlineSpan, withMargin, simpleDiv, body, html]); >-}, "elementsFromPoint for each corner of a simple div"); >- >-test(function() { >- checkElementsFromPointFourCorners('document', 'divWithPseudo', >- [threeD, divWithPseudo, simpleDiv, body, html], >- [threeD, divWithPseudo, simpleDiv, body, html], >- [divWithPseudo, simpleDiv, body, html], >- [divWithPseudo, divBetweenPseudo, divWithPseudo, simpleDiv, body, html]); >-}, "elementsFromPoint for each corner of a div that has a pseudo-element"); >- >-test(function() { >- checkElementsFromPointFourCorners('document', 'divBetweenPseudo', >- [divWithPseudo, divBetweenPseudo, divWithPseudo, simpleDiv, body, html], >- [divBetweenPseudo, simpleDiv, body, html], >- [divBetweenPseudo, inlineSpan, withMargin, simpleDiv, body, html], >- [divBetweenPseudo, inlineSpan, withMargin, simpleDiv, body, html]); >-}, "elementsFromPoint for each corner of a div that is between another div and its pseudo-element"); >- >-test(function() { >- checkElementsFromPointFourCorners('document', 'withMargin', >- [withMargin, simpleDiv, body, html], >- [divBetweenPseudo, inlineSpan, withMargin, simpleDiv, body, html], >- [withMargin, body, html], >- [withMargin, body, html]); >-}, "elementsFromPoint for each corner of a div that has a margin"); >- >-test(function() { >- checkElementsFromPointFourCorners('document', 'noPointerEvents', >- [threeD, divWithPseudo, simpleDiv, body, html], >- [threeD, divWithPseudo, simpleDiv, body, html], >- [withMargin, body, html], >- [withMargin, body, html]); >-}, "elementsFromPoint for each corner of a div with pointer-events:none"); >- >-test(function() { >- checkElementsFromPointFourCorners('document', 'threeD', >- [threeD, simpleDiv, body, html], >- [threeD, body, html], >- [threeD, simpleDiv, body, html], >- [threeD, body, html]); >-}, "elementsFromPoint for each corner of a div with a 3d transform"); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg-expected.txt >deleted file mode 100644 >index 1321de61d735c41e5f42bc9e0a1339255bf32dc7..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-PASS elementsFromPoint for a point inside two rects >-PASS elementsFromPoint for a point inside two rects that are inside a <g> >-PASS elementsFromPoint for a point inside two images >-PASS elementsFromPoint for a point inside transformed rects and <g> >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg.html >deleted file mode 100644 >index 8535228ababb0cf5f271b0d3cc01c3c4d7106a61..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg.html >+++ /dev/null >@@ -1,67 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-#svg { >- margin: 100px; >- background-color: rgba(0,180,0,0.2); >-} >-rect { >- fill: rgba(180,0,0,0.2); >-} >-#topLeftRect2NoHitTest { >- pointer-events: none; >-} >-</style> >-<div id='sandbox'> >- <svg id='svg' width='300' height='300'> >- <rect id='topLeftRect1' x='5' y='5' width='90' height='90'/> >- <rect id='topLeftRect2NoHitTest' x='10' y='10' width='80' height='80'/> >- <rect id='topLeftRect3' x='15' y='15' width='70' height='70'/> >- >- <g id='middleG1'> >- <g id='middleG2'> >- <rect id='middleRect1' x='105' y='105' width='90' height='90'/> >- <rect id='middleRect2' x='110' y='110' width='80' height='80'/> >- </g> >- </g> >- >- <g id='bottomLeftG'> >- <image id='bottomLeftImage1' x='5' y='205' width='90' height='90' xlink:href='data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="rgba(180,0,0,0.2)"/></svg>'/> >- <image id='bottomLeftImage2' x='10' y='210' width='80' height='80' xlink:href='data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="rgba(180,0,0,0.2)"/></svg>'/> >- </g> >- >- <g id='bottomRightG1' transform='translate(300, 300)'> >- <g id='bottomRightG2' transform='translate(-100, -100)'> >- <rect id='bottomRightRect1' x='5' y='5' width='90' height='90'/> >- <rect id='bottomRightRect2' x='110' y='110' width='80' height='80' transform='translate(-100, -100)'/> >- </g> >- </g> >- </svg> >-</div> >-<script> >-test(function() { >- assertElementsFromPoint('document', 125, 125, >- [topLeftRect3, topLeftRect1, svg, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for a point inside two rects'); >- >-test(function() { >- assertElementsFromPoint('document', 225, 225, >- [middleRect2, middleRect1, svg, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for a point inside two rects that are inside a <g>'); >- >-test(function() { >- assertElementsFromPoint('document', 125, 325, >- [bottomLeftImage2, bottomLeftImage1, svg, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for a point inside two images'); >- >-test(function() { >- assertElementsFromPoint('document', 325, 325, >- [bottomRightRect2, bottomRightRect1, svg, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for a point inside transformed rects and <g>'); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table-expected.txt >deleted file mode 100644 >index dee50a6389622465d62fc68e38b7acd80667ae99..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-PASS elementsFromPoint for points inside table cells >-PASS elementsFromPoint for points between table cells >-PASS elementsFromPoint for points inside cells in a right-to-left table >-PASS elementsFromPoint for points inside cells in a flipped (writing-mode:vertical-lr) table >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table.html >deleted file mode 100644 >index 9ecb614b6665bbaef61eab80226e521a0c18eb10..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table.html >+++ /dev/null >@@ -1,99 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script src="resources/elementsFromPoint.js"></script> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-#testtable { >- margin: 100px; >- width: 200px; >- height: 200px; >- background-color: rgba(0,180,0,0.2); >-} >-#testtable tr { >- background-color: rgba(180,0,0,0.2); >-} >-#testtable td { >- background-color: rgba(0,0,180,0.2); >-} >-.rtl { >- direction: rtl; >-} >-.tblr { >- writing-mode: vertical-lr; >-} >-</style> >-<div id='sandbox'> >- <table id='testtable'> >- <tr id='tr1'> >- <td id='td11'></td> >- <td id='td12'></td> >- <td id='td13'></td> >- <td id='td14'></td> >- </tr> >- <tr id='tr2'> >- <td id='td21'></td> >- <td id='td22'></td> >- <td id='td23'></td> >- <td id='td24'></td> >- </tr> >- <tr id='tr3'> >- <td id='td31'></td> >- <td id='td32'></td> >- <td id='td33'></td> >- <td id='td34'></td> >- </tr> >- <tr id='tr4'> >- <td id='td41'></td> >- <td id='td42'></td> >- <td id='td43'></td> >- <td id='td44'></td> >- </tr> >- </table> >-</div> >-<script> >-test(function() { >- assertElementsFromPoint('document', 125, 125, >- [td11, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 275, 125, >- [td14, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 175, 175, >- [td22, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 125, 275, >- [td41, testtable, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for points inside table cells'); >- >-test(function() { >- assertElementsFromPoint('document', 100, 100, >- [testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 199, 199, >- [testtable, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for points between table cells'); >- >-testtable.setAttribute('class', 'rtl'); >-test(function() { >- assertElementsFromPoint('document', 125, 125, >- [td14, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 275, 125, >- [td11, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 100, 100, >- [testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 199, 199, >- [testtable, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for points inside cells in a right-to-left table'); >- >-testtable.setAttribute('class', 'tblr'); >-test(function() { >- assertElementsFromPoint('document', 125, 275, >- [td14, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 275, 125, >- [td41, testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 100, 100, >- [testtable, sandbox, document.body, document.documentElement]); >- assertElementsFromPoint('document', 199, 199, >- [testtable, sandbox, document.body, document.documentElement]); >-}, 'elementsFromPoint for points inside cells in a flipped (writing-mode:vertical-lr) table'); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint.html >deleted file mode 100644 >index c48f321c8179a6698ebcfd7b097a90412a9c79ed..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint.html >+++ /dev/null >@@ -1,150 +0,0 @@ >-<!DOCTYPE html> >-<title>cssom-view - elementsFromPoint</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style> >- .size { >- width:60px; >- height:60px; >- } >- .overlay { >- position:absolute; >- top:69px; >- pointer-events:none; >- } >- .purple { >- background-color: rebeccapurple; >- } >- .yellow { >- background-color: yellow; >- } >- .teal { >- background-color: teal; >- } >- .pink { >- background-color: pink; >- } >-</style> >-<body> >- <div id='purple' class="size purple" > </div> >- <div id='yellow' class="size yellow"> </div> >- <div id='teal' class="size overlay teal"> </div> >- <iframe id=iframe-1 src="iframe.html" style='display:none;position:absolute; left:300px;'></iframe> >- <iframe id=iframe-2 src="iframe.html" width="" height=""></iframe> >- <iframe id=iframe-3 width="" height=""></iframe> >- <svg id=squiggle xmlns="http://www.w3.org/2000/svg" height="98" width="500" viewBox="0 0 581 98"> >- <path stroke-dashoffset="0.00" stroke-dasharray="" d="M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1" stroke="#000" stroke-width="4.3" fill="none"> >- </path> >- </svg> >- <svg id=svg-transform width="180" height="140" >- xmlns="http://www.w3.org/2000/svg" >- xmlns:xlink="http://www.w3.org/1999/xlink"> >- >- <!-- Now we add a text element and apply rotate and translate to both --> >- <rect x="50" y="50" height="60" width="60" style="stroke:#000; fill: #0086B2" transform="translate(30) rotate(45 50 50)"></rect> >- <text x="60" y="105" transform="translate(30) rotate(45 50 50)"> Hello! </text> >- >-</svg> >- <div id='pink' class='size pink' style='transform: translate(10px)'> </div> >- <div id='anotherteal' class='size teal' style='pointer-events:none'>Another teal</div> >- <script> >- setup({explicit_done:true}); >- window.onload = function () { >- test(function () { >- assert_array_equals(document.elementsFromPoint(-1, -1), [], >- "both co-ordinates passed in are negative so should have returned a []"); >- assert_array_equals(document.elementsFromPoint(-1, -1), [], >- "x co-ordinates passed in are negative so should have returned a []"); >- assert_array_equals(document.elementsFromPoint(-1, -1), [], >- "y co-ordinates passed in are negative so should have returned a []"); >- }, "Negative co-ordinates"); >- >- test(function () { >- var viewportX = window.innerWidth; >- var viewportY = window.innerHeight; >- assert_array_equals(document.elementsFromPoint(viewportX + 100, 10), [], >- "X co-ordinates larger than viewport so should have returned a []"); >- assert_array_equals(document.elementsFromPoint(10, viewportY + 100), [], >- "Y co-ordinates larger than viewport so should have returned a []"); >- assert_array_equals(document.elementsFromPoint(viewportX + 100, viewportY + 100), [], >- "X, Y co-ordinates larger than viewport so should have returned a []"); >- }, "co-ordinates larger than the viewport"); >- >- test(function () { >- var viewportX = window.frames[1].innerWidth; >- var viewportY = window.frames[1].innerHeight; >- var iframeRect = document.getElementById('iframe-2').getBoundingClientRect(); >- assert_array_equals([], window.frames[1].document.elementsFromPoint(iframeRect.right + viewportX + 100, 10), >- "X co-ordinates larger than viewport so should have returned a []"); >- assert_array_equals([], window.frames[1].document.elementsFromPoint(10, iframeRect.bottom + viewportY + 100), >- "Y co-ordinates larger than viewport so should have returned a []"); >- assert_array_equals([], window.frames[1].document.elementsFromPoint(iframeRect.right + viewportX + 100, >- iframeRect.bottom + viewportY + 100), >- "X, Y co-ordinates larger than viewport so should have returned a []"); >- }, "co-ordinates larger than the viewport from in iframe"); >- >- test(function () { >- assert_array_equals(document.elementsFromPoint(10, 10), >- [document.getElementById('purple'), document.body, document.querySelector('html')], >- "Should have returned a sequence with `[purple element, document.body, html]`"); >- }, "Return first element that is the target for hit testing"); >- >- test(function () { >- assert_array_equals(document.elementsFromPoint(10, 80), >- [document.getElementById('yellow'), document.body, document.querySelector('html')], >- "Should have returned a sequence with `[yellow element, document.body, html]`"); >- }, "First element to get mouse events with pointer-events css"); >- >- test(function () { >- var svg = document.getElementById('squiggle'); >- var svgRect = svg.getBoundingClientRect(); >- assert_array_equals(document.elementsFromPoint(svgRect.left + Math.round(svgRect.width/2), >- svgRect.top + Math.round(svgRect.height/2)), >- [svg, document.body, document.querySelector('html')], >- "Should have returned a sequence with [svg, body, html]"); >- }, "SVG element at x,y"); >- >- test(function () { >- var svg = document.getElementById('svg-transform'); >- var svgRect = svg.getBoundingClientRect(); >- assert_array_equals(document.elementsFromPoint(svgRect.left + Math.round(svgRect.width/2), >- svgRect.top + Math.round(svgRect.height/2)), >- [svg.querySelector("rect"), svg, document.body, document.querySelector('html')], >- "Should have returned [svg rect, svg, body, html]"); >- >- var pink = document.getElementById('pink'); >- var pinkRect = pink.getBoundingClientRect(); >- assert_array_equals(document.elementsFromPoint(pinkRect.left + Math.round(pinkRect.width/2), >- pinkRect.top + Math.round(pinkRect.height/2)), >- [pink, document.body, document.querySelector('html')], >- "Should have returned a sequence with [pink, body, html]"); >- >- }, "transformed element at x,y"); >- >- test(function () { >- var anotherteal = document.getElementById('anotherteal'); >- var anothertealRect = anotherteal.getBoundingClientRect(); >- assert_array_equals(document.elementsFromPoint(anothertealRect.left + Math.round(anothertealRect.width/2), >- anothertealRect.top + Math.round(anothertealRect.height/2)), >- [document.body, document.querySelector('html')], >- "Should have returned the sequence [body, html]"); >- >- var doc = frames[1].document; >- assert_array_equals([doc.querySelector('html')], doc.elementsFromPoint(0, 100), >- "Should have returned the sequence [html]") >- >- var doc = frames[2].document; >- doc.removeChild(doc.documentElement); >- assert_array_equals(doc.elementsFromPoint(0, 0), [], >- "Should have returned [] as no root element"); >- >- }, "no hit target at x,y"); >- >- test(function () { >- var doc = document.implementation.createHTMLDocument('foo'); >- assert_array_equals(doc.elementsFromPoint(0, 0), [], >- "Should have returned []") >- }, "No viewport available"); >- done(); >- } >- </script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical-expected.txt >deleted file mode 100644 >index f1f39c9311d7c779c4f867b1f7f872359b4d59c7..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >- >-PASS Support for ClientRectList >-PASS Support for ClientRect >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical.html >deleted file mode 100644 >index bf82eac1157aea5fa256861ef04f8da15e6ae89e..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical.html >+++ /dev/null >@@ -1,15 +0,0 @@ >-<!doctype html> >-<meta charset="utf-8"> >-<title>Historical features</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<div id="log"></div> >-<script> >-test(function() { >- assert_false("ClientRectList" in self); >-}, "Support for ClientRectList"); >- >-test(function() { >- assert_false("ClientRect" in self); >-}, "Support for ClientRect"); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001-expected.txt >deleted file mode 100644 >index 1300e10a338e347e4b59101c8e1c03df31e621ea..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >-... >- >-PASS CSSOM View - 7 - element.offsetWidth detatches correctly >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001.html >deleted file mode 100644 >index 9171997e2a9c59df4e4c1aaad58079593d496cf1..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001.html >+++ /dev/null >@@ -1,29 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 7 - element.offsetWidth detatches correctly</title> >- <link rel="author" title="Michael Howell" href="mailto:michael@notriddle.com"> >- <link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-htmlelement-offsetwidth"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="element.offsetWidth returns 0 when there is no documentElement."> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >-</head> >-<body> >- <div id="myDiv">...</div> >- <div id="log"></div> >- <script> >- test(function() { >- // These asserts need to be in this order to trigger a bug in Servo. >- var el = document.createElement("div"); >- el.appendChild(document.createTextNode("...")); >- assert_equals(el.offsetWidth, 0, "new element has offset width not equal to zero"); >- assert_not_equals(document.getElementById("myDiv"), 0, "element with content has offset width equal to zero"); >- var html = document.removeChild(document.documentElement); >- // Put back the root element, so that testharnessreport.js can append the result. >- this.add_cleanup(function() { document.appendChild(html); }); >- assert_equals(el.offsetWidth, 0, "new element has offset width not equal to zero after removing documentElement"); >- }); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/iframe.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/iframe.html >deleted file mode 100644 >index e4413a7388a7a0463264a002985ef2525ec6034b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/iframe.html >+++ /dev/null >@@ -1,4 +0,0 @@ >-<!DOCTYPE html> >-<style> >- html, body { padding:9px; border:1px solid } >-</style> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces-expected.txt >deleted file mode 100644 >index d72fcdaf8448dcb2e7dbec2c8d982fcb96a1804a..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces-expected.txt >+++ /dev/null >@@ -1,409 +0,0 @@ >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >-CONSOLE MESSAGE: line 331: callback not yet supported >- >-CSSOM View IDL tests >- >- >-PASS Test driver >-PASS HTMLElement interface: attribute offsetParent >-PASS Unscopable handled correctly for offsetParent property on HTMLElement >-PASS HTMLElement interface: attribute offsetTop >-PASS Unscopable handled correctly for offsetTop property on HTMLElement >-PASS HTMLElement interface: attribute offsetLeft >-PASS Unscopable handled correctly for offsetLeft property on HTMLElement >-PASS HTMLElement interface: attribute offsetWidth >-PASS Unscopable handled correctly for offsetWidth property on HTMLElement >-PASS HTMLElement interface: attribute offsetHeight >-PASS Unscopable handled correctly for offsetHeight property on HTMLElement >-PASS HTMLElement interface: document.createElement('div') must inherit property "offsetParent" with the proper type >-PASS HTMLElement interface: document.createElement('div') must inherit property "offsetTop" with the proper type >-PASS HTMLElement interface: document.createElement('div') must inherit property "offsetLeft" with the proper type >-PASS HTMLElement interface: document.createElement('div') must inherit property "offsetWidth" with the proper type >-PASS HTMLElement interface: document.createElement('div') must inherit property "offsetHeight" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "getClientRects()" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "getBoundingClientRect()" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type >-PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scroll(ScrollToOptions)" with the proper type >-PASS Element interface: calling scroll(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scrollTo(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scrollBy(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('div') must inherit property "scrollTop" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "scrollLeft" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "scrollWidth" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "scrollHeight" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "clientTop" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "clientLeft" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "clientWidth" with the proper type >-PASS Element interface: document.createElement('div') must inherit property "clientHeight" with the proper type >-FAIL Element interface: document.createElement('div') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: document.createElement('div') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: document.createElement('div') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: document.createElement('div') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain >-PASS HTMLImageElement interface: attribute x >-PASS Unscopable handled correctly for x property on HTMLImageElement >-PASS HTMLImageElement interface: attribute y >-PASS Unscopable handled correctly for y property on HTMLImageElement >-PASS HTMLImageElement interface: document.createElement('img') must inherit property "x" with the proper type >-PASS HTMLImageElement interface: document.createElement('img') must inherit property "y" with the proper type >-PASS HTMLElement interface: document.createElement('img') must inherit property "offsetParent" with the proper type >-PASS HTMLElement interface: document.createElement('img') must inherit property "offsetTop" with the proper type >-PASS HTMLElement interface: document.createElement('img') must inherit property "offsetLeft" with the proper type >-PASS HTMLElement interface: document.createElement('img') must inherit property "offsetWidth" with the proper type >-PASS HTMLElement interface: document.createElement('img') must inherit property "offsetHeight" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "getClientRects()" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "getBoundingClientRect()" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type >-PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scroll(ScrollToOptions)" with the proper type >-PASS Element interface: calling scroll(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scrollTo(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scrollBy(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError >-PASS Element interface: document.createElement('img') must inherit property "scrollTop" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "scrollLeft" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "scrollWidth" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "scrollHeight" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "clientTop" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "clientLeft" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "clientWidth" with the proper type >-PASS Element interface: document.createElement('img') must inherit property "clientHeight" with the proper type >-FAIL Element interface: document.createElement('img') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: document.createElement('img') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: document.createElement('img') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: document.createElement('img') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain >-PASS Window interface: operation matchMedia(CSSOMString) >-PASS Unscopable handled correctly for matchMedia(CSSOMString) on Window >-PASS Window interface: attribute screen >-PASS Unscopable handled correctly for screen property on Window >-FAIL Window interface: operation moveTo(long, long) assert_equals: property has wrong .length expected 2 but got 0 >-PASS Unscopable handled correctly for moveTo(long, long) on Window >-FAIL Window interface: operation moveBy(long, long) assert_equals: property has wrong .length expected 2 but got 0 >-PASS Unscopable handled correctly for moveBy(long, long) on Window >-FAIL Window interface: operation resizeTo(long, long) assert_equals: property has wrong .length expected 2 but got 0 >-PASS Unscopable handled correctly for resizeTo(long, long) on Window >-FAIL Window interface: operation resizeBy(long, long) assert_equals: property has wrong .length expected 2 but got 0 >-PASS Unscopable handled correctly for resizeBy(long, long) on Window >-PASS Window interface: attribute innerWidth >-PASS Unscopable handled correctly for innerWidth property on Window >-PASS Window interface: attribute innerHeight >-PASS Unscopable handled correctly for innerHeight property on Window >-PASS Window interface: attribute scrollX >-PASS Unscopable handled correctly for scrollX property on Window >-PASS Window interface: attribute pageXOffset >-PASS Unscopable handled correctly for pageXOffset property on Window >-PASS Window interface: attribute scrollY >-PASS Unscopable handled correctly for scrollY property on Window >-PASS Window interface: attribute pageYOffset >-PASS Unscopable handled correctly for pageYOffset property on Window >-PASS Window interface: operation scroll(ScrollToOptions) >-PASS Unscopable handled correctly for scroll(ScrollToOptions) on Window >-PASS Window interface: operation scroll(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scroll(unrestricted double, unrestricted double) on Window >-PASS Window interface: operation scrollTo(ScrollToOptions) >-PASS Unscopable handled correctly for scrollTo(ScrollToOptions) on Window >-PASS Window interface: operation scrollTo(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scrollTo(unrestricted double, unrestricted double) on Window >-PASS Window interface: operation scrollBy(ScrollToOptions) >-PASS Unscopable handled correctly for scrollBy(ScrollToOptions) on Window >-PASS Window interface: operation scrollBy(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scrollBy(unrestricted double, unrestricted double) on Window >-PASS Window interface: attribute screenX >-PASS Unscopable handled correctly for screenX property on Window >-PASS Window interface: attribute screenY >-PASS Unscopable handled correctly for screenY property on Window >-PASS Window interface: attribute outerWidth >-PASS Unscopable handled correctly for outerWidth property on Window >-PASS Window interface: attribute outerHeight >-PASS Unscopable handled correctly for outerHeight property on Window >-PASS Window interface: attribute devicePixelRatio >-PASS Unscopable handled correctly for devicePixelRatio property on Window >-PASS Window interface: window must inherit property "matchMedia(CSSOMString)" with the proper type >-PASS Window interface: calling matchMedia(CSSOMString) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "screen" with the proper type >-PASS Window interface: window must inherit property "moveTo(long, long)" with the proper type >-FAIL Window interface: calling moveTo(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-PASS Window interface: window must inherit property "moveBy(long, long)" with the proper type >-FAIL Window interface: calling moveBy(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-PASS Window interface: window must inherit property "resizeTo(long, long)" with the proper type >-FAIL Window interface: calling resizeTo(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-PASS Window interface: window must inherit property "resizeBy(long, long)" with the proper type >-FAIL Window interface: calling resizeBy(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-PASS Window interface: window must inherit property "innerWidth" with the proper type >-PASS Window interface: window must inherit property "innerHeight" with the proper type >-PASS Window interface: window must inherit property "scrollX" with the proper type >-PASS Window interface: window must inherit property "pageXOffset" with the proper type >-PASS Window interface: window must inherit property "scrollY" with the proper type >-PASS Window interface: window must inherit property "pageYOffset" with the proper type >-PASS Window interface: window must inherit property "scroll(ScrollToOptions)" with the proper type >-PASS Window interface: calling scroll(ScrollToOptions) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type >-PASS Window interface: calling scroll(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "scrollTo(ScrollToOptions)" with the proper type >-PASS Window interface: calling scrollTo(ScrollToOptions) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type >-PASS Window interface: calling scrollTo(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "scrollBy(ScrollToOptions)" with the proper type >-PASS Window interface: calling scrollBy(ScrollToOptions) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type >-PASS Window interface: calling scrollBy(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError >-PASS Window interface: window must inherit property "screenX" with the proper type >-PASS Window interface: window must inherit property "screenY" with the proper type >-PASS Window interface: window must inherit property "outerWidth" with the proper type >-PASS Window interface: window must inherit property "outerHeight" with the proper type >-PASS Window interface: window must inherit property "devicePixelRatio" with the proper type >-PASS WorkerGlobalScope interface: existence and properties of interface object >-PASS DedicatedWorkerGlobalScope interface: existence and properties of interface object >-PASS SharedWorkerGlobalScope interface: existence and properties of interface object >-PASS WorkerNavigator interface: existence and properties of interface object >-PASS WorkerLocation interface: existence and properties of interface object >-PASS Document interface: operation elementFromPoint(double, double) >-PASS Unscopable handled correctly for elementFromPoint(double, double) on Document >-PASS Document interface: operation elementsFromPoint(double, double) >-PASS Unscopable handled correctly for elementsFromPoint(double, double) on Document >-FAIL Document interface: operation caretPositionFromPoint(double, double) assert_own_property: interface prototype object missing non-static operation expected property "caretPositionFromPoint" missing >-PASS Unscopable handled correctly for caretPositionFromPoint(double, double) on Document >-PASS Document interface: attribute scrollingElement >-PASS Unscopable handled correctly for scrollingElement property on Document >-FAIL Document interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing >-PASS Unscopable handled correctly for getBoxQuads(BoxQuadOptions) on Document >-FAIL Document interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing >-PASS Unscopable handled correctly for convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on Document >-FAIL Document interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing >-PASS Unscopable handled correctly for convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on Document >-FAIL Document interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing >-PASS Unscopable handled correctly for convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on Document >-PASS Document interface: document must inherit property "elementFromPoint(double, double)" with the proper type >-PASS Document interface: calling elementFromPoint(double, double) on document with too few arguments must throw TypeError >-PASS Document interface: document must inherit property "elementsFromPoint(double, double)" with the proper type >-PASS Document interface: calling elementsFromPoint(double, double) on document with too few arguments must throw TypeError >-FAIL Document interface: document must inherit property "caretPositionFromPoint(double, double)" with the proper type assert_inherits: property "caretPositionFromPoint" not found in prototype chain >-FAIL Document interface: calling caretPositionFromPoint(double, double) on document with too few arguments must throw TypeError assert_inherits: property "caretPositionFromPoint" not found in prototype chain >-PASS Document interface: document must inherit property "scrollingElement" with the proper type >-FAIL Document interface: document must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Document interface: calling getBoxQuads(BoxQuadOptions) on document with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Document interface: document must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Document interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Document interface: document must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Document interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Document interface: document must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Document interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain >-PASS Element interface: operation getClientRects() >-PASS Unscopable handled correctly for getClientRects() on Element >-PASS Element interface: operation getBoundingClientRect() >-PASS Unscopable handled correctly for getBoundingClientRect() on Element >-PASS Element interface: operation scrollIntoView([object Object],[object Object]) >-PASS Unscopable handled correctly for scrollIntoView([object Object],[object Object]) on Element >-PASS Element interface: operation scroll(ScrollToOptions) >-PASS Unscopable handled correctly for scroll(ScrollToOptions) on Element >-PASS Element interface: operation scroll(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scroll(unrestricted double, unrestricted double) on Element >-PASS Element interface: operation scrollTo(ScrollToOptions) >-PASS Unscopable handled correctly for scrollTo(ScrollToOptions) on Element >-PASS Element interface: operation scrollTo(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scrollTo(unrestricted double, unrestricted double) on Element >-PASS Element interface: operation scrollBy(ScrollToOptions) >-PASS Unscopable handled correctly for scrollBy(ScrollToOptions) on Element >-PASS Element interface: operation scrollBy(unrestricted double, unrestricted double) >-PASS Unscopable handled correctly for scrollBy(unrestricted double, unrestricted double) on Element >-PASS Element interface: attribute scrollTop >-PASS Unscopable handled correctly for scrollTop property on Element >-PASS Element interface: attribute scrollLeft >-PASS Unscopable handled correctly for scrollLeft property on Element >-PASS Element interface: attribute scrollWidth >-PASS Unscopable handled correctly for scrollWidth property on Element >-PASS Element interface: attribute scrollHeight >-PASS Unscopable handled correctly for scrollHeight property on Element >-PASS Element interface: attribute clientTop >-PASS Unscopable handled correctly for clientTop property on Element >-PASS Element interface: attribute clientLeft >-PASS Unscopable handled correctly for clientLeft property on Element >-PASS Element interface: attribute clientWidth >-PASS Unscopable handled correctly for clientWidth property on Element >-PASS Element interface: attribute clientHeight >-PASS Unscopable handled correctly for clientHeight property on Element >-FAIL Element interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing >-PASS Unscopable handled correctly for getBoxQuads(BoxQuadOptions) on Element >-FAIL Element interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing >-PASS Unscopable handled correctly for convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on Element >-FAIL Element interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing >-PASS Unscopable handled correctly for convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on Element >-FAIL Element interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing >-PASS Unscopable handled correctly for convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on Element >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "getClientRects()" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "getBoundingClientRect()" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type >-PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scroll(ScrollToOptions)" with the proper type >-PASS Element interface: calling scroll(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTo(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollBy(ScrollToOptions)" with the proper type >-PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type >-PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTop" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollLeft" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollWidth" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollHeight" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientTop" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientLeft" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientWidth" with the proper type >-PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientHeight" with the proper type >-FAIL Element interface: document.createElementNS('x', 'y') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Text interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing >-PASS Unscopable handled correctly for getBoxQuads(BoxQuadOptions) on Text >-FAIL Text interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing >-PASS Unscopable handled correctly for convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on Text >-FAIL Text interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing >-PASS Unscopable handled correctly for convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on Text >-FAIL Text interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing >-PASS Unscopable handled correctly for convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on Text >-FAIL Text interface: document.createTextNode('x') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Text interface: calling getBoxQuads(BoxQuadOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain >-FAIL Text interface: document.createTextNode('x') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Text interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain >-FAIL Text interface: document.createTextNode('x') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Text interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain >-FAIL Text interface: document.createTextNode('x') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain >-FAIL Text interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain >-PASS Range interface: operation getClientRects() >-PASS Unscopable handled correctly for getClientRects() on Range >-PASS Range interface: operation getBoundingClientRect() >-PASS Unscopable handled correctly for getBoundingClientRect() on Range >-PASS Range interface: new Range() must inherit property "getClientRects()" with the proper type >-PASS Range interface: new Range() must inherit property "getBoundingClientRect()" with the proper type >-FAIL MediaQueryList interface: existence and properties of interface object assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface object length assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface object name assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-FAIL MediaQueryList interface: attribute media assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Unscopable handled correctly for media property on MediaQueryList >-FAIL MediaQueryList interface: attribute matches assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Unscopable handled correctly for matches property on MediaQueryList >-FAIL MediaQueryList interface: operation addListener(EventListener) assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Unscopable handled correctly for addListener(EventListener) on MediaQueryList >-FAIL MediaQueryList interface: operation removeListener(EventListener) assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Unscopable handled correctly for removeListener(EventListener) on MediaQueryList >-FAIL MediaQueryList interface: attribute onchange assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Unscopable handled correctly for onchange property on MediaQueryList >-FAIL MediaQueryList must be primary interface of matchMedia('all') assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing >-PASS Stringification of matchMedia('all') >-PASS MediaQueryList interface: matchMedia('all') must inherit property "media" with the proper type >-PASS MediaQueryList interface: matchMedia('all') must inherit property "matches" with the proper type >-PASS MediaQueryList interface: matchMedia('all') must inherit property "addListener(EventListener)" with the proper type >-FAIL MediaQueryList interface: calling addListener(EventListener) on matchMedia('all') with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-PASS MediaQueryList interface: matchMedia('all') must inherit property "removeListener(EventListener)" with the proper type >-FAIL MediaQueryList interface: calling removeListener(EventListener) on matchMedia('all') with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { >- fn.apply(obj, args); >- }" did not throw >-FAIL MediaQueryList interface: matchMedia('all') must inherit property "onchange" with the proper type assert_inherits: property "onchange" not found in prototype chain >-FAIL MediaQueryListEvent interface: existence and properties of interface object assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface object length assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface object name assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-FAIL MediaQueryListEvent interface: attribute media assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-PASS Unscopable handled correctly for media property on MediaQueryListEvent >-FAIL MediaQueryListEvent interface: attribute matches assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing >-PASS Unscopable handled correctly for matches property on MediaQueryListEvent >-FAIL MediaQueryListEvent must be primary interface of new MediaQueryListEvent('change') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" >-FAIL Stringification of new MediaQueryListEvent('change') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" >-FAIL MediaQueryListEvent interface: new MediaQueryListEvent('change') must inherit property "media" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" >-FAIL MediaQueryListEvent interface: new MediaQueryListEvent('change') must inherit property "matches" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" >-PASS Screen interface: existence and properties of interface object >-PASS Screen interface object length >-PASS Screen interface object name >-PASS Screen interface: existence and properties of interface prototype object >-PASS Screen interface: existence and properties of interface prototype object's "constructor" property >-PASS Screen interface: existence and properties of interface prototype object's @@unscopables property >-PASS Screen interface: attribute availWidth >-PASS Unscopable handled correctly for availWidth property on Screen >-PASS Screen interface: attribute availHeight >-PASS Unscopable handled correctly for availHeight property on Screen >-PASS Screen interface: attribute width >-PASS Unscopable handled correctly for width property on Screen >-PASS Screen interface: attribute height >-PASS Unscopable handled correctly for height property on Screen >-PASS Screen interface: attribute colorDepth >-PASS Unscopable handled correctly for colorDepth property on Screen >-PASS Screen interface: attribute pixelDepth >-PASS Unscopable handled correctly for pixelDepth property on Screen >-PASS Screen must be primary interface of screen >-PASS Stringification of screen >-PASS Screen interface: screen must inherit property "availWidth" with the proper type >-PASS Screen interface: screen must inherit property "availHeight" with the proper type >-PASS Screen interface: screen must inherit property "width" with the proper type >-PASS Screen interface: screen must inherit property "height" with the proper type >-PASS Screen interface: screen must inherit property "colorDepth" with the proper type >-PASS Screen interface: screen must inherit property "pixelDepth" with the proper type >-FAIL CaretPosition interface: existence and properties of interface object assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface object length assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface object name assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-FAIL CaretPosition interface: attribute offsetNode assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-PASS Unscopable handled correctly for offsetNode property on CaretPosition >-FAIL CaretPosition interface: attribute offset assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-PASS Unscopable handled correctly for offset property on CaretPosition >-FAIL CaretPosition interface: operation getClientRect() assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing >-PASS Unscopable handled correctly for getClientRect() on CaretPosition >-FAIL CaretPosition must be primary interface of document.caretPositionFromPoint(5, 5) assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" >-FAIL Stringification of document.caretPositionFromPoint(5, 5) assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" >-FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "offsetNode" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" >-FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "offset" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" >-FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "getClientRect()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces.html >deleted file mode 100644 >index 36738e4454491d4ebeba337f1f733f0c05947046..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces.html >+++ /dev/null >@@ -1,67 +0,0 @@ >-<!doctype html> >-<meta charset=utf-8> >-<!-- WARNING: These tests are preliminary and probably partly incorrect. --> >-<title>CSSOM View automated IDL tests</title> >-<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> >-<link rel="help" href="https://drafts.csswg.org/cssom-1/#idl-index"> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<script src=/resources/WebIDLParser.js></script> >-<script src=/resources/idlharness.js></script> >- >-<input id="caretPositionInput" style="position: absolute; top: 0; left: 0; border: 0;"> >- >-<h1>CSSOM View IDL tests</h1> >-<div id=log></div> >- >-<script> >-"use strict"; >- >-function doTest([html, dom, cssom, geometry, cssom_view]) { >- >- var idlArray = new IdlArray(); >- var svg = "interface SVGElement : Element {};"; >- idlArray.add_untested_idls(html + dom + svg + cssom + geometry); >- idlArray.add_idls(cssom_view); >- >- idlArray.add_objects({ >- "Window": ["window"], >- "MediaQueryList": ["matchMedia('all')"], >- "MediaQueryListEvent": ["new MediaQueryListEvent('change')"], >- "Screen": ["screen"], >- "Document": ["document"], >- "CaretPosition": ["document.caretPositionFromPoint(5, 5)"], >- "Element": ["document.createElementNS('x', 'y')"], >- "HTMLElement": ["document.createElement('div')"], >- "HTMLImageElement": ["document.createElement('img')"], >- "Range": ["new Range()"], >- // "MouseEvent": ["new MouseEvent('foo')"], >- "Text": ["document.createTextNode('x')"], >- // "CSSPseudoElement": [], >- "Document": ["document"], >- }); >- idlArray.test(); >-}; >- >-function fetchData(url) { >- return fetch(url).then((response) => response.text()); >-} >- >-function waitForLoad() { >- return new Promise(function(resolve) { >- addEventListener("load", resolve); >- }); >-} >- >-promise_test(function() { >- // Have to wait for onload >- return Promise.all([fetchData("/interfaces/html.idl"), >- fetchData("/interfaces/dom.idl"), >- fetchData("/interfaces/cssom.idl"), >- fetchData("/interfaces/geometry.idl"), >- fetchData("/interfaces/cssom-view.idl"), >- waitForLoad()]) >- .then(doTest); >-}, "Test driver"); >- >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia-expected.txt >deleted file mode 100644 >index 1fd6c0a8de3fcd6ef49ff1ba028090171d3d055f..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >- >-FAIL window.matchMedia exists assert_inherits: property "matchMedia" found on object expected in prototype chain >-PASS window.matchMedia is a Function >-FAIL window.matchMedia("all") Can't find variable: MediaQueryList >-PASS MediaQueryList.media exists >-PASS MediaQueryList.media is readonly >-PASS MediaQueryList.media for "all" >-PASS MediaQueryList.matches exists >-PASS MediaQueryList.matches is readonly >-PASS MediaQueryList.matches for "all" >-PASS MediaQueryList.addListener exists >-PASS MediaQueryList.addListener is a Function >-PASS MediaQueryList.removeListener exists >-PASS MediaQueryList.removeListener is a Function >-FAIL MediaQueryList.media syntax error Can't find variable: MediaQueryList >-PASS MediaQueryList.matches for "not all" >-PASS MediaQueryList.matches for "(max-width: 199px), all and (min-width: 200px)" >-PASS MediaQueryList.matches for "(min-aspect-ratio: 1/1)" >-PASS MediaQueryList.matches for "(width: 200px)" >-PASS MediaQueryList.matches for "(max-height: 50px)" >-PASS MediaQueryList.matches for "(min-width: 150px)" >-PASS Resize iframe from 200x100 to 200x50, then to 100x50 >-PASS Listeners are called in the order which they have been added >-PASS Listener added twice is only called once. >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia.xht b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia.xht >deleted file mode 100644 >index 7ac875c6aa967187d8171f0876a5de15adfe5249..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia.xht >+++ /dev/null >@@ -1,187 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >-<html xmlns="http://www.w3.org/1999/xhtml"> >- <head> >- <title>CSS Test: CSSOM View matchMedia and MediaQueryList</title> >- <link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-window-matchmedia" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-1/#serializing-media-queries" /> >- <meta name="flags" content="dom" /> >- <script src="/resources/testharness.js" type="text/javascript" /> >- <script src="/resources/testharnessreport.js" type="text/javascript" /> >- <style type="text/css"><![CDATA[ >- iframe { border: none; } >- ]]></style> >- </head> >- <body> >- <noscript>Test not run - javascript required.</noscript> >- <div id="log" /> >- <iframe width="200" height="100" /> >- <script type="text/javascript"><![CDATA[ >- function reflow(doc) { >- doc.body.offsetWidth; >- } >- >- var iframe = document.querySelector("iframe"); >- var iframe_window = window.frames[0]; >- >- reflow(iframe_window.document); >- >- test(function(){ >- assert_inherits(window, "matchMedia"); >- }, "window.matchMedia exists"); >- >- test(function(){ >- assert_true(window.matchMedia instanceof Function, "FATAL ERROR: The window.matchMedia function is not present. The rest of the testsuite will fail to run."); >- }, "window.matchMedia is a Function"); >- >- var mql, mql1, mql2, mql3; >- >- test(function(){ >- mql = window.matchMedia("all"); >- assert_true(mql instanceof MediaQueryList, "matchMedia(\"all\") returned MediaQueryList object."); >- }, "window.matchMedia(\"all\")"); >- >- test(function(){ >- assert_idl_attribute(mql, "media", "Check that MediaQueryList.media exists."); >- }, "MediaQueryList.media exists"); >- >- test(function(){ >- assert_readonly(mql, "media", "Check that MediaQueryList.media is readonly."); >- }, "MediaQueryList.media is readonly"); >- >- test(function(){ >- assert_equals(mql.media, "all"); >- }, "MediaQueryList.media for \"all\""); >- >- test(function(){ >- assert_idl_attribute(mql, "matches", "Check that MediaQueryList.matches exists."); >- }, "MediaQueryList.matches exists"); >- >- test(function(){ >- assert_readonly(mql, "matches", "Check that MediaQueryList.matches is readonly."); >- }, "MediaQueryList.matches is readonly"); >- >- test(function(){ >- assert_true(mql.matches); >- }, "MediaQueryList.matches for \"all\""); >- >- test(function(){ >- assert_inherits(mql, "addListener"); >- }, "MediaQueryList.addListener exists"); >- >- test(function(){ >- assert_true(mql.addListener instanceof Function); >- }, "MediaQueryList.addListener is a Function"); >- >- test(function(){ >- assert_inherits(mql, "removeListener"); >- }, "MediaQueryList.removeListener exists"); >- >- test(function(){ >- assert_true(mql.removeListener instanceof Function); >- }, "MediaQueryList.removeListener is a Function"); >- >- test(function(){ >- mql = window.matchMedia("::"); >- assert_true(mql instanceof MediaQueryList, "window.matchMedia(\"::\") returned MediaQueryList object."); >- assert_equals(mql.media, "not all", "MediaQueryList.media serialized as \"not all\" from original string with syntax error."); >- }, "MediaQueryList.media syntax error"); >- >- test(function(){ >- assert_false(mql.matches); >- }, "MediaQueryList.matches for \"not all\""); >- >- test(function(){ >- mql = iframe_window.matchMedia("(max-width: 199px), all and (min-width: 200px)"); >- assert_equals(mql.media, "(max-width: 199px), (min-width: 200px)"); >- assert_true(mql.matches); >- }, "MediaQueryList.matches for \"(max-width: 199px), all and (min-width: 200px)\"") >- >- test(function(){ >- mql = iframe_window.matchMedia("(min-aspect-ratio: 1/1)"); >- assert_true(mql.matches); >- }, "MediaQueryList.matches for \"(min-aspect-ratio: 1/1)\""); >- >- test(function(){ >- mql = iframe_window.matchMedia("(width: 200px)"); >- assert_true(mql.matches); >- }, "MediaQueryList.matches for \"(width: 200px)\""); >- >- test(function(){ >- mql1 = iframe_window.matchMedia("(max-height: 50px)"); >- assert_false(mql1.matches); >- }, "MediaQueryList.matches for \"(max-height: 50px)\""); >- >- test(function(){ >- mql2 = iframe_window.matchMedia("(min-width: 150px)"); >- assert_true(mql2.matches); >- }, "MediaQueryList.matches for \"(min-width: 150px)\""); >- >- var resizeTest = async_test("Resize iframe from 200x100 to 200x50, then to 100x50"); >- var listenerOrderTest = async_test("Listeners are called in the order which they have been added"); >- var duplicateListenerTest = async_test("Listener added twice is only called once."); >- >- window.onload = function(){ >- >- var rmListener = function(x){ >- resizeTest.step(function(){ >- assert_unreached("removeListener was not successful."); >- }); >- }; >- >- var dupListener = function(x){ >- duplicateListenerTest.step(function(){ >- assert_false(mql1.dupListenerCalled, "Check that this listener has not been called before."); >- mql1.dupListenerCalled = true; >- }); >- }; >- >- mql1.firstListenerCalled = false; >- mql1.dupListenerCalled = false; >- // Add listener twice and remove it below. Should not be called. >- mql1.addListener(rmListener); >- mql1.addListener(rmListener); >- // Add listener twice. Should only be called once. >- mql1.addListener(dupListener); >- mql1.addListener(dupListener); >- >- mql1.addListener(function(x){ >- resizeTest.step(function(){ >- assert_equals(x, mql1, "Check that the MediaQueryList passed to the handler is the same that addListener was invoked on."); >- assert_true(x.matches, "(max-height: 50px) should now pass."); >- assert_true(mql2.matches, "(min-width: 150px) should still pass."); >- iframe.width = "100"; >- }); >- >- listenerOrderTest.step(function(){ >- assert_false(mql1.firstListenerCalled, "Check that this listener is only called once."); >- mql1.firstListenerCalled = true; >- }); >- }); >- >- mql1.addListener(function(x){ >- listenerOrderTest.step(function(){ >- assert_true(mql1.firstListenerCalled, "Check that the listener added last is called last."); >- }); >- listenerOrderTest.done(); >- }); >- >- mql1.removeListener(rmListener); >- >- mql2.addListener(function(x){ >- duplicateListenerTest.done(); >- resizeTest.step(function(){ >- assert_equals(x, mql2, "Check that the MediaQueryList passed to the handler is the same that addListener was invoked on."); >- assert_true(mql1.matches, "(max-height: 50px) should still pass."); >- assert_false(x.matches, "(min-width: 150px) should now fail."); >- }); >- resizeTest.done(); >- }); >- >- iframe.height = "50"; >- };]]> >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener-expected.txt >deleted file mode 100644 >index f27a3d0299d347f3c92ce89c649754c3e4ddc93f..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS Check for the correct number of event triggers >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener.html >deleted file mode 100644 >index 7236be7febc985a9432e3127b78acf352bb91fa1..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener.html >+++ /dev/null >@@ -1,65 +0,0 @@ >-<!DOCTYPE html> >-<html> >- <head> >- <title>CSS Test: CSSOM View matchMedia addListener</title> >- <link rel="author" title="Chris Wu" href="mailto:pwx.frontend@gmail.com" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface" /> >- <meta name="flags" content="dom" /> >- <script src="/resources/testharness.js" type="text/javascript"></script> >- <script src="/resources/testharnessreport.js" type="text/javascript"></script> >- <style type="text/css"> >- iframe { border: none; } >- </style> >- </head> >- <body> >- <div id="log"></div> >- <iframe width="200" height="100" id="iframe1"></iframe> >- <script> >- function reflow(doc) { >- doc.body.offsetWidth; >- } >- >- var iframe = document.querySelector("iframe"); >- var iframe_window = window.frames[0]; >- var iframe1 = document.getElementById("iframe1"); >- reflow(iframe_window.document); >- >- var i = 0; >- var totalCount = 10; >- var count = 0; >- var divineCount = 10; >- var width_list = [201,199]; >- var mq1 = iframe_window.matchMedia("(max-width:200px)"); >- mq1.addListener(function(mql){ >- >- count = count + 1; >- >- }); >- >- var equalAssert = async_test("Check for the correct number of event triggers"); >- >- var changeFrameWidth = function(iWidth) { >- iframe1.style.width = iWidth + "px"; >- i = (i === 0) ? 1 : 0; >- totalCount = totalCount - 1; >- if(totalCount > 0) >- { >- step_timeout(function(){ >- changeFrameWidth(width_list[i]); >- }, 100); >- } >- else >- { >- step_timeout(function(){ >- equalAssert.step(function(){ >- assert_equals(divineCount, count, "this will be 10 times of event triggers by change width"); >- }); >- equalAssert.done(); >- }, 100); >- } >- }; >- >- changeFrameWidth(width_list[0]); >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent-expected.txt >deleted file mode 100644 >index 0f43300e6653008e2cc61557f83b2c4380461964..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS MouseEvent's x and y must be equal to clientX and clientY. >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent.html >deleted file mode 100644 >index 907a2b405e442ba09ae623327d6f7de5492d3a80..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent.html >+++ /dev/null >@@ -1,17 +0,0 @@ >-<!doctype html> >-<meta charset=utf-8> >-<head> >-<title>CSSOM MouseEvent tests</title> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<script> >-test(function () { >- var mouseEvent = new MouseEvent('mousedown', {clientX: 10, clientY: 20}); >- assert_equals(mouseEvent.x, 10); >- assert_equals(mouseEvent.y, 20); >- mouseEvent = new MouseEvent('mousedown', {clientX: 30, clientY: 40}); >- assert_equals(mouseEvent.x, 30); >- assert_equals(mouseEvent.y, 40); >-}, 'MouseEvent\'s x and y must be equal to clientX and clientY.'); >-</script> >-</head> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins-expected.txt >deleted file mode 100644 >index ef9c08cf125cd2d9aafe0df4e5159625a6718752..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-Hello >- >-PASS cssom-view - elementFromPoint and elementsFromPoint dealing with negative margins >-FAIL cssom-view - elementFromPoint and elementsFromPoint dealing with negative margins 1 assert_array_equals: elementsFromPoint should get sequence [inner, outer, body, html] lengths differ, expected 4 got 5 >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins.html >deleted file mode 100644 >index 0616e8b4999e73b5a43d46d7364a079607515f5b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins.html >+++ /dev/null >@@ -1,32 +0,0 @@ >-<!DOCTYPE html> >-<meta charset=utf-8> >-<title>cssom-view - elementFromPoint and elementsFromPoint dealing with negative margins</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<body> >-<div id="outer" style="background:yellow"> >- <div id="inner" style="width:100px; height:100px; margin-bottom:-100px; background:lime;"></div> >- Hello >-</div> >-<script> >- setup({explicit_done:true}); >- window.onload = function () { >- var outer = document.getElementById('outer'); >- var inner = document.getElementById('inner'); >- var outerRect = outer.getBoundingClientRect(); >- test(function () { >- assert_equals(document.elementFromPoint(outerRect.left + 1, >- outerRect.top + 1), >- outer, >- "elementFromPoint should get outer element"); >- }); >- test(function () { >- assert_array_equals(document.elementsFromPoint(outerRect.left + 1, >- outerRect.top + 1), >- [inner, outer, document.body, document.querySelector('html')], >- "elementsFromPoint should get sequence [inner, outer, body, html]"); >- }); >- done(); >- }; >-</script> >-</body> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test-expected.txt >deleted file mode 100644 >index e8844c3414b1315d1529d5e2de51e6fc6890b730..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test-expected.txt >+++ /dev/null >@@ -1,4 +0,0 @@ >- >-PASS Valid the algorithm rule of offsetParent check step 1 >-PASS Valid the algorithm rule of offsetParent check step 2 >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test.html >deleted file mode 100644 >index aa4a1e55e2787de7f26d1c93cbf5d43af0303223..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test.html >+++ /dev/null >@@ -1,138 +0,0 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >- >-<html xmlns="http://www.w3.org/1999/xhtml"> >-<head> >-<title>CSSOM View ââ offsetParent element test</title> >-<link rel="author" title="neo_and_rayi" href="mailto:1988wangxiao@gmail.com"> >-<link rel="help" href="http://www.w3.org/TR/cssom-view/#extensions-to-the-htmlelement-interface"> >-<link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetparent"> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script id="metadata_cache">/* >-{ >- "Valid the algorithm rule of offsetParent check step 1": { "assert": "The offsetParent attribute algorithm rule checking passed!" }, >- "Valid the algorithm rule of offsetParent check step 2": { "assert": "The offsetParent attribute algorithm rule checking passed!" } >-} >-*/</script> >-<style> >-#fixed { >- position: fixed; >-} >- >-#none-element { >- display:none; >-} >- >-#relative-element { >- position: relative; >-} >- >-#absolute-element { >- position: absolute; >-} >-</style> >- >-</head> >-<body> >- >-<div id="body-element-child"></div> >- >-<div id="relative-element"> >- <div id="relative-element-child"></div> >-</div> >- >-<div id="absolute-element"> >- <div id="absolute-element-child"></div> >-</div> >- >-<table id="table-element"> >- <caption> >- <div id="caption-element-child"></div> >- </caption> >- >- <tbody> >- <tr id="table-element-tr"> >- <td id="table-element-td"> >- <span id="table-element-child"></span> >- </td> >- </tr> >- </tbody> >-</table> >- >-<div id="none-element"> >- <a href="#" id="none-element-child-a"></a> >- <p id="none-element-child-p"></p> >- <video id="none-element-child-video"></video> >- <audio id="none-element-child-audio"></audio> >- <canvas id="none-element-child-canvas"></canvas> >- <svg id="none-element-child-svg"></svg> >-</div> >- >-<div id="fixed"> >-</div> >- >-<div id="log"></div> >-<script type="text/javascript"> >-var getStyle = window.getComputedStyle; >-var html = document.documentElement; >-var body = document.body; >-var fixed_element = document.getElementById('fixed'); >-var none_element = document.getElementById('none-element'); >- >-var none_element_child_a = document.getElementById('none-element-child-a'); >-var none_element_child_p = document.getElementById('none-element-child-p'); >-var none_element_child_video = document.getElementById('none-element-child-video'); >-var none_element_child_audio = document.getElementById('none-element-child-audio'); >-var none_element_child_canvas = document.getElementById('none-element-child-canvas'); >-var none_element_child_svg = document.getElementById('none-element-child-svg'); >- >-var relative_element = document.getElementById('relative-element'); >-var absolute_element = document.getElementById('absolute-element'); >-var td_element = document.getElementsByTagName('td')[0]; >- >-var body_element_child = document.getElementById('body-element-child'); >-var relative_element_child = document.getElementById('relative-element-child'); >-var absolute_element_child = document.getElementById('absolute-element-child'); >-var table_element_child = document.getElementById('table-element-child'); >- >-var caption_element_child = document.getElementById('caption-element-child'); >-var table_element_tr = document.getElementById('table-element-tr'); >-var table_element = document.getElementById('table-element'); >- >-test(function() { >- assert_equals(html.offsetParent,null); >- assert_equals(body.offsetParent,null); >- assert_equals(fixed_element.offsetParent,null); >- assert_equals(none_element.offsetParent,null); >- assert_equals(none_element_child_a.offsetParent,null); >- assert_equals(none_element_child_p.offsetParent,null); >- assert_equals(none_element_child_video.offsetParent,null); >- assert_equals(none_element_child_audio.offsetParent,null); >- assert_equals(none_element_child_canvas.offsetParent,null); >- assert_equals(none_element_child_svg.offsetParent,undefined); >-}, "Valid the algorithm rule of offsetParent check step 1", >-{ assert: "The offsetParent attribute algorithm rule checking passed!" } >-); >- >-test(function() { >- assert_equals(body_element_child.offsetParent,body); >- assert_equals(window.getComputedStyle(relative_element).position,'relative'); >- assert_equals(relative_element_child.offsetParent,relative_element); >- assert_equals(window.getComputedStyle(absolute_element).position,'absolute'); >- assert_equals(absolute_element_child.offsetParent,absolute_element); >- assert_equals(window.getComputedStyle(td_element).position,'static'); >- assert_equals(table_element_child.offsetParent,td_element); >- assert_equals(window.getComputedStyle(table_element_tr).position,'static'); >- assert_equals(table_element_tr.offsetParent,table_element); >- assert_equals(window.getComputedStyle(caption_element_child).position,'static'); >- assert_equals(caption_element_child.offsetParent,table_element); >- assert_equals(window.getComputedStyle(td_element).position,'static'); >- assert_equals(td_element.offsetParent,table_element); >-}, "Valid the algorithm rule of offsetParent check step 2", >-{ assert: "The offsetParent attribute algorithm rule checking passed!" } >-); >- >-</script> >- >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent-expected.txt >deleted file mode 100644 >index 1e6a8d9da26d5f8bdcecb9b6ecf829f1801eb4c3..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent-expected.txt >+++ /dev/null >@@ -1,10 +0,0 @@ >- >-PASS Basic functionality >-PASS Basic functionality in scrolled parent >-PASS Margins on child >-PASS Margins on child and parent >-PASS Margins on child and parent, border on child >-PASS Margins on child and parent, border on child and parent >-PASS Margins on child and parent, border on child and parent, padding on child >-PASS Margins on child and parent, border on child and parent, padding on child and parent >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent.html >deleted file mode 100644 >index 8f4433795424a00a896278173747aa9e192e181d..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent.html >+++ /dev/null >@@ -1,111 +0,0 @@ >-<!doctype html> >-<meta charset=utf-8> >-<title></title> >-<script src=/resources/testharness.js></script> >-<script src=/resources/testharnessreport.js></script> >-<div id=log></div> >-<div id="parent" style="overflow:scroll; height: 100px; position: relative"> >- <div id="spacer" style="height: 200px"></div> >- <div id="child"></div> >- <div id="absolute-child" style="position: absolute; top: 41px; left: 43px"></div> >-</div> >-<script> >-test(function() { >- var child = document.getElementById("child"); >- assert_equals(child.offsetTop, 200, "Child is after spacer"); >- assert_equals(child.offsetLeft, 0, "Child is flush left"); >- var absChild = document.getElementById("absolute-child"); >- assert_equals(absChild.offsetTop, 41, "Abspos child is y-positioned"); >- assert_equals(absChild.offsetLeft, 43, "Abspos child is x-positioned"); >-}, "Basic functionality"); >- >-test(function() { >- var parent = document.getElementById("parent"); >- parent.scrollTop = 100; >- var child = document.getElementById("child"); >- assert_equals(child.offsetTop, 200, "Child is after spacer"); >- assert_equals(child.offsetLeft, 0, "Child is flush left"); >- var absChild = document.getElementById("absolute-child"); >- assert_equals(absChild.offsetTop, 41, "Abspos child is y-positioned"); >- assert_equals(absChild.offsetLeft, 43, "Abspos child is x-positioned"); >-}, "Basic functionality in scrolled parent"); >- >-test(function() { >- var child = document.getElementById("child"); >- child.style.marginTop = "20px" >- child.style.marginLeft = "100px"; >- assert_equals(child.offsetTop, 220, "Child is after spacer and margin"); >- assert_equals(child.offsetLeft, 100, "Child is 100px from left"); >- var absChild = document.getElementById("absolute-child"); >- absChild.style.marginTop = "20px" >- absChild.style.marginLeft = "100px"; >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child"); >- >-test(function() { >- var parent = document.getElementById("parent"); >- parent.style.marginTop = "66px" >- parent.style.marginLeft = "33px"; >- var child = document.getElementById("child"); >- assert_equals(child.offsetTop, 220, "Child is after spacer and margin"); >- assert_equals(child.offsetLeft, 100, "Child is 100px from left"); >- var absChild = document.getElementById("absolute-child"); >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child and parent"); >- >-test(function() { >- var child = document.getElementById("child"); >- child.style.borderTop = "13px solid green"; >- child.style.borderLeft = "7px solid green"; >- assert_equals(child.offsetTop, 220, "Child is after spacer and margin"); >- assert_equals(child.offsetLeft, 100, "Child is 100px from left"); >- var absChild = document.getElementById("absolute-child"); >- absChild.style.borderTop = "13px solid green"; >- absChild.style.borderLeft = "7px solid green"; >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child and parent, border on child"); >- >-test(function() { >- var parent = document.getElementById("parent"); >- parent.style.borderTop = "23px solid yellow"; >- parent.style.borderLeft = "19px solid yellow"; >- var child = document.getElementById("child"); >- assert_equals(child.offsetTop, 220, "Child is after spacer and margin"); >- assert_equals(child.offsetLeft, 100, "Child is 100px from left"); >- var absChild = document.getElementById("absolute-child"); >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child and parent, border on child and parent"); >- >- >-test(function() { >- var child = document.getElementById("child"); >- child.style.paddingTop = "31px"; >- child.style.paddingLeft = "37px"; >- assert_equals(child.offsetTop, 220, "Child is after spacer and margin"); >- assert_equals(child.offsetLeft, 100, "Child is 100px from left"); >- var absChild = document.getElementById("absolute-child"); >- absChild.style.paddingTop = "31px"; >- absChild.style.paddingLeft = "37px"; >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child and parent, border on child and parent, padding on child"); >- >- >-test(function() { >- var parent = document.getElementById("parent"); >- parent.style.paddingTop = "31px"; >- parent.style.paddingLeft = "37px"; >- var child = document.getElementById("child"); >- assert_equals(child.offsetTop, 251, "Child is after spacer and margin and parent padding"); >- assert_equals(child.offsetLeft, 137, "Child is 100px + parent padding from left"); >- var absChild = document.getElementById("absolute-child"); >- // Padding on the parent does not affect the position of the absolute containing block. >- assert_equals(absChild.offsetTop, 61, "Abspos child is y-positioned and has margin"); >- assert_equals(absChild.offsetLeft, 143, "Abspos child is x-positioned and has margin"); >-}, "Margins on child and parent, border on child and parent, padding on child and parent"); >- >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/elementsFromPoint.js b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/elementsFromPoint.js >deleted file mode 100644 >index ba986ef3f568d4971eb4e84c4faaeae6e276b975..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/elementsFromPoint.js >+++ /dev/null >@@ -1,48 +0,0 @@ >-function nodeToString(node) { >- var str = ''; >- if (node.nodeType == Node.ELEMENT_NODE) { >- str += node.nodeName; >- if (node.id) >- str += '#' + node.id; >- else if (node.class) >- str += '.' + node.class; >- } else if (node.nodeType == Node.TEXT_NODE) { >- str += '\'' + node.data + '\''; >- } else if (node.nodeType == Node.DOCUMENT_NODE) { >- str += '#document'; >- } >- return str; >-} >- >-function nodeListToString(nodes) { >- var nodeString = ''; >- >- for (var i = 0; i < nodes.length; i++) { >- var str = nodeToString(nodes[i]); >- if (!str) >- continue; >- nodeString += str; >- if (i + 1 < nodes.length) >- nodeString += ', '; >- } >- return nodeString; >-} >- >-function assertElementsFromPoint(doc, x, y, expected) { >- var query = doc + '.elementsFromPoint(' + x + ',' + y + ')'; >- var sequence = eval(query); >- assert_equals(nodeListToString(sequence), nodeListToString(expected), query); >-} >- >-function checkElementsFromPointFourCorners(doc, element, expectedTopLeft, expectedTopRight, expectedBottomLeft, expectedBottomRight) { >- var rect = eval(doc + '.getElementById(\'' + element + '\')').getBoundingClientRect(); >- var topLeft = {x: rect.left + 1, y: rect.top + 1}; >- var topRight = {x: rect.right - 1, y: rect.top + 1}; >- var bottomLeft = {x: rect.left + 1, y: rect.bottom - 1}; >- var bottomRight = {x: rect.right - 1, y: rect.bottom - 1}; >- >- assertElementsFromPoint(doc, topLeft.x, topLeft.y, expectedTopLeft); >- assertElementsFromPoint(doc, topRight.x, topRight.y, expectedTopRight); >- assertElementsFromPoint(doc, bottomLeft.x, bottomLeft.y, expectedBottomLeft); >- assertElementsFromPoint(doc, bottomRight.x, bottomRight.y, expectedBottomRight); >-} >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe1.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe1.html >deleted file mode 100644 >index ec4699465def9f29722f68c685f0ee50278e6231..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe1.html >+++ /dev/null >@@ -1,16 +0,0 @@ >-<!DOCTYPE HTML> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-#div { >- width: 100px; >- height: 100px; >- background: red; >-} >-</style> >-<div id='div'></div> >-<script> >-window.onload = window.parent.onFrameLoaded(); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe2.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe2.html >deleted file mode 100644 >index 7bb944c9d59349b3a25ab14981ae34f5ef991bec..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe2.html >+++ /dev/null >@@ -1,25 +0,0 @@ >-<!DOCTYPE HTML> >-<style> >-html, body { >- margin: 0; >- padding: 0; >-} >-#big { >- width: 125px; >- height: 500px; >- background: blue; >-} >-#small { >- position: absolute; >- top: 0; >- left: 0; >- width: 100px; >- height: 100px; >- background: green; >-} >-</style> >-<div id='big'></div> >-<div id='small'></div> >-<script> >-window.onload = window.parent.onFrameLoaded(); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/w3c-import.log >deleted file mode 100644 >index d24a368eb09b08a4e99b1898731018e5940d2a6f..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/w3c-import.log >+++ /dev/null >@@ -1,19 +0,0 @@ >-The tests in this directory were imported from the W3C repository. >-Do NOT modify these tests directly in WebKit. >-Instead, create a pull request on the WPT github: >- https://github.com/w3c/web-platform-tests >- >-Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport >- >-Do NOT modify or remove this file. >- >------------------------------------------------------------------------- >-Properties requiring vendor prefixes: >-None >-Property values requiring vendor prefixes: >-None >------------------------------------------------------------------------- >-List of files: >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/elementsFromPoint.js >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe1.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/resources/iframe2.html >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow-expected.txt >deleted file mode 100644 >index e0ead5596de92711901a7a6eb635eefe6c1ab9f4..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-FAIL scrollIntoView should behave correctly if applies to shadow dom elements shadow.createShadowRoot is not a function. (In 'shadow.createShadowRoot()', 'shadow.createShadowRoot' is undefined) >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow.html >deleted file mode 100644 >index 6d44df6e4eaa14f50ceeeb9dbb504d60ca8b54bc..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow.html >+++ /dev/null >@@ -1,33 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<title>Check End Position of scrollIntoView of shadow elements</title> >-<div id="container"> >- <div id="space1" style="height: 2000px; width: 2000px;background-color: yellow"> >- </div> >- <div id="shadow"></div> >- <div id="space2" style="height: 2000px; width: 2000px;background-color: blue"> >- </div> >-</div> >-<script> >-add_completion_callback(() => document.getElementById("container").remove()); >- >-test(t => { >- var shadow = document.getElementById("shadow"); >- var shadowRoot = shadow.createShadowRoot(); >- var shadowDiv = document.createElement("div"); >- shadowDiv.style.height = "200px"; >- shadowDiv.style.width = "200px"; >- shadowDiv.style.backgroundColor = "green"; >- shadowRoot.appendChild(shadowDiv); >- >- window.scrollTo(0, 0); >- var expected_x = shadowDiv.offsetLeft; >- var expected_y = shadowDiv.offsetTop; >- assert_not_equals(window.scrollX, expected_x); >- assert_not_equals(window.scrollY, expected_y); >- shadowDiv.scrollIntoView({block: "start", inline: "start"}); >- assert_approx_equals(window.scrollX, expected_x, 1); >- assert_approx_equals(window.scrollY, expected_y, 1); >-}, "scrollIntoView should behave correctly if applies to shadow dom elements"); >-</script> >\ No newline at end of file >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt >deleted file mode 100644 >index e3a6fc764490b11434a8286b2ee0c81823742f59..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-FAIL Smooth scrollIntoView should scroll the element to the 'nearest' position assert_approx_equals: expected 915 +/- 1 but got 1000 >-FAIL Smooth scrollIntoView should scroll the element to the 'start' position assert_approx_equals: expected 1008 +/- 1 but got 723 >-FAIL Smooth scrollIntoView should scroll the element to the 'center' position assert_approx_equals: expected 865.5 +/- 1 but got 723 >-FAIL Smooth scrollIntoView should scroll the element to the 'end' position assert_approx_equals: expected 915 +/- 1 but got 1000 >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth.html >deleted file mode 100644 >index 8799b8bd7a7871c0ed4188a4336e32ec8655ff57..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth.html >+++ /dev/null >@@ -1,101 +0,0 @@ >-<!DOCTYPE HTML> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<title>Check End Position of smooth scrollIntoView</title> >-<div id="container" style="height: 2500px; width: 2500px;"> >- <div id="content" style="height: 500px; width: 500px;margin-left: 1000px; margin-right: 1000px; margin-top: 1000px;margin-bottom: 1000px;background-color: red"> >- </div> >- <div id="shadow"></div> >-</div> >-<script> >-var content_height = 500; >-var content_width = 500; >-var window_height = document.documentElement.clientHeight; >-var window_width = document.documentElement.clientWidth; >-var content = document.getElementById("content"); >-add_completion_callback(() => document.getElementById("container").remove()); >- >-function waitForScrollEnd() { >- var last_changed_frame = 0; >- var last_x = window.scrollX; >- var last_y = window.scrollY; >- return new Promise((resolve, reject) => { >- function tick(frames) { >- // We requestAnimationFrame either for 500 frames or until 20 frames with >- // no change have been observed. >- if (frames >= 500 || frames - last_changed_frame > 20) { >- resolve(); >- } else { >- if (window.scrollX != last_x || window.scrollY != last_y) { >- last_changed_frame = frames; >- last_x = window.scrollX; >- last_y = window.scrollY; >- } >- requestAnimationFrame(tick.bind(null, frames + 1)); >- } >- } >- tick(0); >- }); >-} >- >-// When testing manually, we need an additional frame at beginning >-// to trigger the effect. >-requestAnimationFrame(() => { >-promise_test(t => { >- window.scrollTo(0, 0); >- var expected_x = content.offsetLeft + content_width - window_width; >- var expected_y = content.offsetTop + content_height - window_height; >- assert_not_equals(window.scrollX, expected_x); >- assert_not_equals(window.scrollY, expected_y); >- content.scrollIntoView({behavior: "smooth", block: "nearest", inline: >-"nearest"}); >- return waitForScrollEnd().then(() => { >- assert_approx_equals(window.scrollX, expected_x, 1); >- assert_approx_equals(window.scrollY, expected_y, 1); >- }); >-}, "Smooth scrollIntoView should scroll the element to the 'nearest' position"); >- >-promise_test(t => { >- window.scrollTo(0, 0); >- var expected_x = content.offsetLeft; >- var expected_y = content.offsetTop; >- assert_not_equals(window.scrollX, expected_x); >- assert_not_equals(window.scrollY, expected_y); >- content.scrollIntoView({behavior: "smooth", block: "start", inline: >-"start"}); >- return waitForScrollEnd().then(() => { >- assert_approx_equals(window.scrollX, expected_x, 1); >- assert_approx_equals(window.scrollY, expected_y, 1); >- }); >-}, "Smooth scrollIntoView should scroll the element to the 'start' position"); >- >-promise_test(t => { >- window.scrollTo(0, 0); >- var expected_x = content.offsetLeft + (content_width - window_width) / 2; >- var expected_y = content.offsetTop + (content_height - window_height) / 2; >- assert_not_equals(window.scrollX, expected_x); >- assert_not_equals(window.scrollY, expected_y); >- content.scrollIntoView({behavior: "smooth", block: "center", inline: >-"center"}); >- return waitForScrollEnd().then(() => { >- assert_approx_equals(window.scrollX, expected_x, 1); >- assert_approx_equals(window.scrollY, expected_y, 1); >- }); >-}, "Smooth scrollIntoView should scroll the element to the 'center' position"); >- >-promise_test(t => { >- window.scrollTo(0, 0); >- var expected_x = content.offsetLeft + content_width - window_width; >- var expected_y = content.offsetTop + content_height - window_height; >- assert_not_equals(window.scrollX, expected_x); >- assert_not_equals(window.scrollY, expected_y); >- content.scrollIntoView({behavior: "smooth", block: "end", inline: >-"end"}); >- return waitForScrollEnd().then(() => { >- assert_approx_equals(window.scrollX, expected_x, 1); >- assert_approx_equals(window.scrollY, expected_y, 1); >- }); >-}, "Smooth scrollIntoView should scroll the element to the 'end' position"); >- >-}); >-</script> >\ No newline at end of file >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight-expected.txt >deleted file mode 100644 >index 63fc865779d3d7f33ff8c814076a90c42fcbe3d8..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight-expected.txt >+++ /dev/null >@@ -1,13 +0,0 @@ >- >-PASS elemSimple.clientHeight is the height of the padding edge >-PASS elemSimple.scrollHeight is its clientHeight >-PASS elemSimple.clientWidth is the width of the padding edge >-PASS elemSimple.scrollWidth is its clientWidth >-PASS elemOverflow.clientHeight is the height of the padding edge >-PASS elemOverflow.clientWidth is the width of the padding edge >-PASS elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed) >-PASS elemNestedOverflow.clientHeight is the height of the padding edge >-PASS elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed) >-PASS elemNestedOverflow.clientWidth is the height of the padding edge >-PASS elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed) >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight.xht b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight.xht >deleted file mode 100644 >index b4696e136305ea8328d96d8089737a061ee62f71..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight.xht >+++ /dev/null >@@ -1,147 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >-<html xmlns="http://www.w3.org/1999/xhtml"> >- <head> >- <title>CSS Test: CSSOM View scrollWidth and scrollHeight</title> >- <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-scrollwidth" /> >- <meta name="flags" content="dom" /> >- <script src="/resources/testharness.js" type="text/javascript" /> >- <script src="/resources/testharnessreport.js" type="text/javascript" /> >- <style type="text/css"><![CDATA[ >- #elemSimple, #elemOverflow, #elemNestedOverflow { >- border:1px solid black; >- overflow:hidden; >- width:200px; >- height:40px; >- padding-bottom:50px; >- padding-right:40px; >- } >- #elemSimple > div { >- background:yellow; >- width:60px; >- height:30px; >- } >- #elemOverflow > div { >- background:yellow; >- width:250px; >- height:150px; >- } >- #elemNestedOverflow > div { >- background:yellow; >- width:60px; >- height:30px; >- } >- #elemNestedOverflow > div > div { >- background:blue; >- width:250px; >- height:150px; >- } >- ]]></style> >- <script id="metadata_cache" type="text/javascript"><![CDATA[/* >-{ >- "elemSimple.clientHeight is the height of the padding edge": {}, >- "elemSimple.scrollHeight is its clientHeight": {}, >- "elemSimple.clientWidth is the width of the padding edge": {}, >- "elemSimple.scrollWidth is its clientWidth": {}, >- "elemOverflow.clientHeight is the height of the padding edge": {}, >- "elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemOverflow.clientWidth is the width of the padding edge": {}, >- "elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemNestedOverflow.clientHeight is the height of the padding edge": {}, >- "elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemNestedOverflow.clientWidth is the height of the padding edge": {}, >- "elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)": {} >-*/ ]]></script> >- </head> >- <body> >- <noscript>Test not run - javascript required.</noscript> >- <div id="log" /> >- <div id="elemSimple"> >- <div /> >- </div> >- <div id="elemOverflow"> >- <div /> >- </div> >- <div id="elemNestedOverflow"> >- <div> >- <div /> >- </div> >- </div> >- <script type="text/javascript"><![CDATA[ >- var elemSimple = document.getElementById("elemSimple"); >- var elemOverflow = document.getElementById("elemOverflow"); >- var elemNestedOverflow = document.getElementById("elemNestedOverflow"); >- >- test(function(){ >- assert_equals(elemSimple.clientHeight, 90); >- }, "elemSimple.clientHeight is the height of the padding edge"); >- >- test(function(){ >- assert_equals(elemSimple.scrollHeight, 90); >- }, "elemSimple.scrollHeight is its clientHeight"); >- >- test(function(){ >- assert_equals(elemSimple.clientWidth, 240); >- }, "elemSimple.clientWidth is the width of the padding edge"); >- >- test(function(){ >- assert_equals(elemSimple.scrollWidth, 240); >- }, "elemSimple.scrollWidth is its clientWidth"); >- >- test(function(){ >- assert_equals(elemOverflow.clientHeight, 90); >- }, "elemOverflow.clientHeight is the height of the padding edge"); >- >- /* This test differs from the spec. Opera and Webkit meet the spec, IE9 and Firefox >- give the result here. It seems that in this case Opera and Webkit place >- the padding-bottom below elemOverflow's child (i.e. below elemOverflow's bottom border); >- you can scroll to it. IE9 and Firefox do not. I believe this is a Webkit/Opera bug >- (If you remove overflow:hidden then the padding-bottom moves back to be above the bottom >- border, as expected.) >- The underlying issue seems to be whether bottom padding on a scrollable element is >- always placed at the element's bottom border and not scrolled, or else deemed to >- belong to the scrolled content and placed below the scrolled element's children. >- Commenting out for now, because this is not really a CSSOM issue, but an issue >- over the layout of elements with 'overflow'. >- >- test(function(){ >- assert_equals(elemOverflow.scrollHeight, 150); >- }, "elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)"); >- */ >- >- test(function(){ >- assert_equals(elemOverflow.clientWidth, 240); >- }, "elemOverflow.clientWidth is the width of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring >- the right padding. >- */ >- test(function(){ >- assert_equals(elemOverflow.scrollWidth, 250); >- }, "elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)"); >- >- test(function(){ >- assert_equals(elemNestedOverflow.clientHeight, 90); >- }, "elemNestedOverflow.clientHeight is the height of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here. >- */ >- test(function(){ >- assert_equals(elemNestedOverflow.scrollHeight, 150); >- }, "elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)"); >- >- test(function(){ >- assert_equals(elemNestedOverflow.clientWidth, 240); >- }, "elemNestedOverflow.clientWidth is the height of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring >- the right padding. >- */ >- test(function(){ >- assert_equals(elemNestedOverflow.scrollWidth, 250); >- }, "elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)"); >- >- ]]></script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable-expected.txt >deleted file mode 100644 >index c87e52911697f44967c712a0572b7e83c31d9cc5..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable-expected.txt >+++ /dev/null >@@ -1,14 +0,0 @@ >- >-PASS elemSimple.clientHeight is the height of the padding edge >-PASS elemSimple.scrollHeight is its clientHeight >-PASS elemSimple.clientWidth is the width of the padding edge >-PASS elemSimple.scrollWidth is its clientWidth >-PASS elemOverflow.clientHeight is the height of the padding edge >-PASS elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed) >-PASS elemOverflow.clientWidth is the width of the padding edge >-PASS elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed) >-PASS elemNestedOverflow.clientHeight is the height of the padding edge >-PASS elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed) >-PASS elemNestedOverflow.clientWidth is the height of the padding edge >-PASS elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed) >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht >deleted file mode 100644 >index e8c7f1298bc4bae8ee7bd9392a114d02a1e90da5..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht >+++ /dev/null >@@ -1,137 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >-<html xmlns="http://www.w3.org/1999/xhtml"> >- <head> >- <title>CSS Test: CSSOM View scrollWidth/scrollHeight (for nonscrollable elements)</title> >- <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" /> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-scrollwidth" /> >- <meta name="flags" content="dom" /> >- <script src="/resources/testharness.js" type="text/javascript" /> >- <script src="/resources/testharnessreport.js" type="text/javascript" /> >- <style type="text/css"><![CDATA[ >- #elemSimple, #elemOverflow, #elemNestedOverflow { >- border:1px solid black; >- width:200px; >- height:40px; >- padding-bottom:50px; >- padding-right:40px; >- } >- #elemSimple > div { >- background:yellow; >- width:60px; >- height:30px; >- } >- #elemOverflow > div { >- background:yellow; >- width:250px; >- height:150px; >- } >- #elemNestedOverflow > div { >- background:yellow; >- width:60px; >- height:30px; >- } >- #elemNestedOverflow > div > div { >- background:blue; >- width:250px; >- height:150px; >- } >- ]]></style> >- <script id="metadata_cache" type="text/javascript"><![CDATA[/* >-{ >- "elemSimple.clientHeight is the height of the padding edge": {}, >- "elemSimple.scrollHeight is its clientHeight": {}, >- "elemSimple.clientWidth is the width of the padding edge": {}, >- "elemSimple.scrollWidth is its clientWidth": {}, >- "elemOverflow.clientHeight is the height of the padding edge": {}, >- "elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemOverflow.clientWidth is the width of the padding edge": {}, >- "elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemNestedOverflow.clientHeight is the height of the padding edge": {}, >- "elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)": {}, >- "elemNestedOverflow.clientWidth is the height of the padding edge": {}, >- "elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)": {} >-*/ ]]></script> >- </head> >- <body> >- <noscript>Test not run - javascript required.</noscript> >- <div id="log" /> >- <div id="elemSimple"> >- <div /> >- </div> >- <div id="elemOverflow"> >- <div /> >- </div> >- <div id="elemNestedOverflow"> >- <div> >- <div /> >- </div> >- </div> >- <script type="text/javascript"><![CDATA[ >- var elemSimple = document.getElementById("elemSimple"); >- var elemOverflow = document.getElementById("elemOverflow"); >- var elemNestedOverflow = document.getElementById("elemNestedOverflow"); >- >- test(function(){ >- assert_equals(elemSimple.clientHeight, 90); >- }, "elemSimple.clientHeight is the height of the padding edge"); >- >- test(function(){ >- assert_equals(elemSimple.scrollHeight, 90); >- }, "elemSimple.scrollHeight is its clientHeight"); >- >- test(function(){ >- assert_equals(elemSimple.clientWidth, 240); >- }, "elemSimple.clientWidth is the width of the padding edge"); >- >- test(function(){ >- assert_equals(elemSimple.scrollWidth, 240); >- }, "elemSimple.scrollWidth is its clientWidth"); >- >- test(function(){ >- assert_equals(elemOverflow.clientHeight, 90); >- }, "elemOverflow.clientHeight is the height of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring >- the bottom padding. >- */ >- test(function(){ >- assert_equals(elemOverflow.scrollHeight, 150); >- }, "elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)"); >- >- test(function(){ >- }, "elemOverflow.clientWidth is the width of the padding edge"); >- assert_equals(elemOverflow.clientWidth, 240); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring >- the right padding. >- */ >- test(function(){ >- assert_equals(elemOverflow.scrollWidth, 250); >- }, "elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)"); >- >- test(function(){ >- assert_equals(elemNestedOverflow.clientHeight, 90); >- }, "elemNestedOverflow.clientHeight is the height of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring the >- bottom padding. >- */ >- test(function(){ >- assert_equals(elemNestedOverflow.scrollHeight, 150); >- }, "elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)"); >- >- test(function(){ >- assert_equals(elemNestedOverflow.clientWidth, 240); >- }, "elemNestedOverflow.clientWidth is the height of the padding edge"); >- >- /* This test differs from the spec. All major browsers give the result here, ignoring >- the right padding. >- */ >- test(function(){ >- assert_equals(elemNestedOverflow.scrollWidth, 250); >- }, "elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)"); >- >- ]]></script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context-expected.txt >deleted file mode 100644 >index 61eb08fcca3f9e514bdb21dbc728a2d7b1ed8382..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS Element get and set scrollTop, scrollLeft, scroll() and scrollTo() test >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context.html >deleted file mode 100644 >index 94357605b7042ba82e93eed8ddf53aedb632efc4..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context.html >+++ /dev/null >@@ -1,33 +0,0 @@ >-<!doctype html> >-<meta charset="utf-8"> >-<title>cssom-view scrolling-no-browsing-context</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<script> >-setup({explicit_done:true}); >-window.onload = function () { >- test(function () { >- var doc = document.implementation.createDocument("http://example.com/", "html", null); >- >- var element = doc.createElement("tag") >- assert_equals(element.scrollTop, 0, "scrollTop should be always 0"); >- assert_equals(element.scrollLeft, 0, "scrollLeft should be always 0"); >- >- element.scrollTop = 10; >- element.scrollLeft = 10; >- assert_equals(element.scrollTop, 0, "scrollTop should be always 0"); >- assert_equals(element.scrollLeft, 0, "scrollLeft should be always 0"); >- >- element.scroll(10, 10); >- assert_equals(element.scrollTop, 0, "scrollTop should be always 0"); >- assert_equals(element.scrollLeft, 0, "scrollLeft should be always 0"); >- >- element.scrollTo(10, 10); >- assert_equals(element.scrollTop, 0, "scrollTop should be always 0"); >- assert_equals(element.scrollLeft, 0, "scrollLeft should be always 0"); >- >- }, "Element get and set scrollTop, scrollLeft, scroll() and scrollTo() test"); >- >- done(); >-}; >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt >deleted file mode 100644 >index 284af1f94d411ecf825bae148ef3fb56f4ec0714..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt >+++ /dev/null >@@ -1,33 +0,0 @@ >- >- >-PASS Execution of tests in quirks mode >-PASS Execution of tests in non-quirks mode >-PASS scrollingElement in quirks mode >-PASS scroll() on the root element in quirks mode >-PASS scrollBy() on the root element in quirks mode >-PASS scrollLeft/scrollTop on the root element in quirks mode >-PASS scrollWidth/scrollHeight on the root element in quirks mode >-PASS clientWidth/clientHeight on the root element in quirks mode >-PASS scroll() on the HTML body element in quirks mode >-PASS scrollBy() on the HTML body element in quirks mode >-PASS scrollLeft/scrollTop on the HTML body element in quirks mode >-PASS scrollWidth/scrollHeight on the HTML body element in quirks mode >-PASS clientWidth/clientHeight on the HTML body element in quirks mode >-PASS scrollLeft/scrollRight of the content in quirks mode >-PASS scrollWidth/scrollHeight of the content in quirks mode >-PASS clientWidth/clientHeight of the content in quirks mode >-FAIL scrollingElement in non-quirks mode assert_equals: scrollingElement should be documentElement expected Element node <html><head></head><body style="overflow: hidden; margin:... but got Element node <body style="overflow: hidden; margin: 0px; border-width:... >-FAIL scroll() on the root element in non-quirks mode assert_equals: scrollLeft should be 50 expected 50 but got 0 >-FAIL scrollBy() on the root element in non-quirks mode assert_equals: scrollLeft should be 60 expected 60 but got 0 >-FAIL scrollLeft/scrollTop on the root element in non-quirks mode assert_equals: scrollLeft should be 70 expected 70 but got 0 >-PASS scrollWidth/scrollHeight on the root element in non-quirks mode >-PASS clientWidth/clientHeight on the root element in non-quirks mode >-FAIL scroll() on the HTML body element in non-quirks mode assert_equals: scrollLeft should be 0 expected 0 but got 90 >-FAIL scrollBy() on the HTML body element in non-quirks mode assert_equals: scrollLeft should be 0 expected 0 but got 100 >-FAIL scrollLeft/scrollTop on the HTML body element in non-quirks mode assert_equals: scrollLeft should be 0 expected 0 but got 120 >-FAIL scrollWidth/scrollHeight on the HTML body element in non-quirks mode assert_equals: scrollWidth should be 700 expected 700 but got 720 >-PASS clientWidth/clientHeight on the HTML body element in non-quirks mode >-PASS scrollLeft/scrollRight of the content in non-quirks mode >-PASS scrollWidth/scrollHeight of the content in non-quirks mode >-PASS clientWidth/clientHeight of the content in non-quirks mode >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html >deleted file mode 100644 >index 568f572ac22c4ac8b619f27abd33d241d37f03ec..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html >+++ /dev/null >@@ -1,220 +0,0 @@ >-<!DOCTYPE html> >-<meta charset=utf-8> >-<title>cssom-view - scrolling quirks VS nonquirks mode</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style> >- iframe { >- width: 300px; >- height: 500px; >- } >-</style> >-<iframe id="quirksframe"></iframe> >-<iframe id="nonquirksframe"></iframe> >-<div id="log"></div> >-<script> >-function setBodyContent(body) { >- // Hide scrollbars and remove body margin to make measures more reliable. >- body.style.overflow = "hidden"; >- body.style.margin = 0; >- >- // Add an orange border to the body. >- body.style.borderWidth = "10px 0px 0px 20px"; >- body.style.borderColor = "orange"; >- body.style.borderStyle = "solid"; >- >- // Create a 700x900 box with a green border. >- body.innerHTML = "<div id='content' style='border-width: 30px 0px 0px 40px; border-style: solid; border-color: green; width: 660px; height: 870px; background: linear-gradient(135deg, red, blue);'></div>"; >-} >- >-var quirksModeTest = async_test("Execution of tests in quirks mode"); >-var quirksFrame = document.getElementById("quirksframe"); >-quirksFrame.onload = function() { >- var doc = quirksFrame.contentDocument; >- setBodyContent(doc.body); >- var content = doc.getElementById("content"); >- >- quirksModeTest.step(function () { >- assert_equals(doc.compatMode, "BackCompat", "Should be in quirks mode."); >- }); >- >- test(function () { >- assert_equals(doc.scrollingElement, doc.body, "scrollingElement should be HTML body"); >- }, "scrollingElement in quirks mode"); >- >- test(function () { >- doc.documentElement.scroll(50, 60); >- assert_equals(doc.documentElement.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.documentElement.scrollTop, 0, "scrollTop should be 0"); >- }, "scroll() on the root element in quirks mode"); >- >- test(function () { >- doc.documentElement.scrollBy(10, 20); >- assert_equals(doc.documentElement.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.documentElement.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollBy() on the root element in quirks mode"); >- >- test(function () { >- doc.documentElement.scrollLeft = 70; >- doc.documentElement.scrollTop = 80; >- assert_equals(doc.documentElement.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.documentElement.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollLeft/scrollTop on the root element in quirks mode"); >- >- test(function () { >- assert_equals(doc.documentElement.scrollWidth, 720, "scrollWidth should be 720"); >- assert_equals(doc.documentElement.scrollHeight, 910, "scrollHeight should be 910"); >- }, "scrollWidth/scrollHeight on the root element in quirks mode"); >- >- test(function () { >- assert_equals(doc.documentElement.clientWidth, 300, "clientWidth should be 300"); >- assert_equals(doc.documentElement.clientHeight, 910, "clientHeight should be 910"); >- }, "clientWidth/clientHeight on the root element in quirks mode"); >- >- test(function () { >- doc.body.scroll(90, 100); >- assert_equals(doc.body.scrollLeft, 90, "scrollLeft should be 90"); >- assert_equals(doc.body.scrollTop, 100, "scrollTop should be 100"); >- }, "scroll() on the HTML body element in quirks mode"); >- >- test(function () { >- doc.body.scrollBy(10, 20); >- assert_equals(doc.body.scrollLeft, 100, "scrollLeft should be 100"); >- assert_equals(doc.body.scrollTop, 120, "scrollTop should be 120"); >- }, "scrollBy() on the HTML body element in quirks mode"); >- >- test(function () { >- doc.body.scrollLeft = 120; >- doc.body.scrollTop = 110; >- assert_equals(doc.body.scrollLeft, 120, "scrollLeft should be 120"); >- assert_equals(doc.body.scrollTop, 110, "scrollTop should be 110"); >- }, "scrollLeft/scrollTop on the HTML body element in quirks mode"); >- >- test(function () { >- assert_equals(doc.body.scrollWidth, 720, "scrollWidth should be 720"); >- assert_equals(doc.body.scrollHeight, 910, "scrollHeight should be 910"); >- }, "scrollWidth/scrollHeight on the HTML body element in quirks mode"); >- >- test(function () { >- assert_equals(doc.body.clientWidth, 300, "clientWidth should be 300"); >- assert_equals(doc.body.clientHeight, 500, "clientHeight should be 500"); >- }, "clientWidth/clientHeight on the HTML body element in quirks mode"); >- >- test(function () { >- doc.scrollingElement.scroll(0, 0); >- content.scrollLeft = 130; >- content.scrollTop = 140; >- assert_equals(content.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(content.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollLeft/scrollRight of the content in quirks mode"); >- >- test(function () { >- assert_equals(content.scrollWidth, 660, "scrollWidth should be 660"); >- assert_equals(content.scrollHeight, 870, "scrollHeight should be 870"); >- }, "scrollWidth/scrollHeight of the content in quirks mode"); >- >- test(function () { >- assert_equals(content.clientWidth, 660, "clientWidth should be 660"); >- assert_equals(content.clientHeight, 870, "clientHeight should be 870"); >- }, "clientWidth/clientHeight of the content in quirks mode"); >- >- quirksModeTest.done(); >-} >-quirksFrame.src = URL.createObjectURL(new Blob([""], { type: "text/html" })); >- >-var nonQuirksModeTest = async_test("Execution of tests in non-quirks mode"); >-var nonQuirksFrame = document.getElementById("nonquirksframe"); >-nonQuirksFrame.onload = function() { >- var doc = nonQuirksFrame.contentDocument; >- setBodyContent(doc.body); >- var content = doc.getElementById("content"); >- >- nonQuirksModeTest.step(function() { >- assert_equals(doc.compatMode, "CSS1Compat", "Should be in standards mode."); >- }); >- >- test(function () { >- assert_equals(doc.scrollingElement, doc.documentElement, "scrollingElement should be documentElement"); >- }, "scrollingElement in non-quirks mode"); >- >- test(function () { >- doc.documentElement.scroll(50, 60); >- assert_equals(doc.documentElement.scrollLeft, 50, "scrollLeft should be 50"); >- assert_equals(doc.documentElement.scrollTop, 60, "scrollTop should be 60"); >- }, "scroll() on the root element in non-quirks mode"); >- >- test(function () { >- doc.documentElement.scrollBy(10, 20); >- assert_equals(doc.documentElement.scrollLeft, 60, "scrollLeft should be 60"); >- assert_equals(doc.documentElement.scrollTop, 80, "scrollTop should be 80"); >- }, "scrollBy() on the root element in non-quirks mode"); >- >- test(function () { >- doc.documentElement.scrollLeft = 70; >- doc.documentElement.scrollTop = 80; >- assert_equals(doc.documentElement.scrollLeft, 70, "scrollLeft should be 70"); >- assert_equals(doc.documentElement.scrollTop, 80, "scrollTop should be 80"); >- }, "scrollLeft/scrollTop on the root element in non-quirks mode"); >- >- test(function () { >- assert_equals(doc.documentElement.scrollWidth, 720, "scrollWidth should be 720"); >- assert_equals(doc.documentElement.scrollHeight, 910, "scrollHeight should be 910"); >- }, "scrollWidth/scrollHeight on the root element in non-quirks mode"); >- >- test(function () { >- assert_equals(doc.documentElement.clientWidth, 300, "clientWidth should be 300"); >- assert_equals(doc.documentElement.clientHeight, 500, "clientHeight should be 500"); >- }, "clientWidth/clientHeight on the root element in non-quirks mode"); >- >- test(function () { >- doc.body.scroll(90, 100); >- assert_equals(doc.body.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.body.scrollTop, 0, "scrollTop should be 0"); >- }, "scroll() on the HTML body element in non-quirks mode"); >- >- test(function () { >- doc.body.scrollBy(10, 20); >- assert_equals(doc.body.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.body.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollBy() on the HTML body element in non-quirks mode"); >- >- test(function () { >- doc.body.scrollLeft = 120; >- doc.body.scrollTop = 110; >- assert_equals(doc.body.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(doc.body.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollLeft/scrollTop on the HTML body element in non-quirks mode"); >- >- test(function () { >- assert_equals(doc.body.scrollWidth, 700, "scrollWidth should be 700"); >- assert_equals(doc.body.scrollHeight, 900, "scrollHeight should be 900"); >- }, "scrollWidth/scrollHeight on the HTML body element in non-quirks mode"); >- >- test(function () { >- assert_equals(doc.body.clientWidth, 280, "clientWidth should be 280"); >- assert_equals(doc.body.clientHeight, 900, "clientHeight should be 900"); >- }, "clientWidth/clientHeight on the HTML body element in non-quirks mode"); >- >- test(function () { >- doc.scrollingElement.scroll(0, 0); >- content.scrollLeft = 130; >- content.scrollTop = 140; >- assert_equals(content.scrollLeft, 0, "scrollLeft should be 0"); >- assert_equals(content.scrollTop, 0, "scrollTop should be 0"); >- }, "scrollLeft/scrollRight of the content in non-quirks mode"); >- >- test(function () { >- assert_equals(content.scrollWidth, 660, "scrollWidth should be 660"); >- assert_equals(content.scrollHeight, 870, "scrollHeight should be 870"); >- }, "scrollWidth/scrollHeight of the content in non-quirks mode"); >- >- test(function () { >- assert_equals(content.clientWidth, 660, "clientWidth should be "); >- assert_equals(content.clientHeight, 870, "clientHeight should be 870"); >- }, "clientWidth/clientHeight of the content in non-quirks mode"); >- >- nonQuirksModeTest.done(); >-} >-nonQuirksFrame.src = URL.createObjectURL(new Blob(["<!doctype html>"], { type: "text/html" })); >- >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001-expected.html >deleted file mode 100644 >index 3899f29a678774a72494c99cbcc4f5923b909b1b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001-expected.html >+++ /dev/null >@@ -1,3 +0,0 @@ >-<!-- quirks mode --> >-<html style="overflow:scroll"> >-<body style="overflow:scroll">The body box should have scrollbars. >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html >deleted file mode 100644 >index 51be2245c2fc4e8c4dafc0d8688e2a007217edb4..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html >+++ /dev/null >@@ -1,17 +0,0 @@ >-<!-- quirks mode --> >-<html> >- <head> >- <meta charset="utf-8"> >- <title>CSSOM View Test: Dynamically changing scrollingElement to html in quirks mode</title> >- <link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com"> >- <link rel="help" href="https://www.w3.org/TR/cssom-view-1/#dom-document-scrollingelement"> >- <link rel="match" href="scrollingElement-quirks-dynamic-001-ref.html"> >- <meta name="assert" content="Checks that setting the overflow on html to scroll will stop propagating body scrollbars to viewport."> >- </head> >- <body style="overflow:scroll">The body box should have scrollbars. >- <script> >- document.body.offsetTop; // force layout >- document.documentElement.style.overflow = "scroll"; >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002-expected.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002-expected.html >deleted file mode 100644 >index 1e3edb6ac9ffdf2c5f9b6e1d5ab8c44b0622e5c2..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002-expected.html >+++ /dev/null >@@ -1,2 +0,0 @@ >-<!-- quirks mode --> >-<body style="overflow:scroll">The body box should not have scrollbars. >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html >deleted file mode 100644 >index 247113cff42342545dbabd004db55b0e7ee9c35e..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html >+++ /dev/null >@@ -1,17 +0,0 @@ >-<!-- quirks mode --> >-<html style="overflow:scroll"> >- <head> >- <meta charset="utf-8"> >- <title>CSSOM View Test: Dynamically changing scrollingElement to body in quirks mode</title> >- <link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com"> >- <link rel="help" href="https://www.w3.org/TR/cssom-view-1/#dom-document-scrollingelement"> >- <link rel="match" href="scrollingElement-quirks-dynamic-002-ref.html"> >- <meta name="assert" content="Checks that setting the overflow on html to visible will propagate body scrollbars to viewport."> >- </head> >- <body style="overflow:scroll">The body box should not have scrollbars. >- <script> >- document.body.offsetTop; // force layout >- document.documentElement.style.overflow = "visible"; >- </script> >- </body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement.html >deleted file mode 100644 >index a438541120df4a3a4e3419aaddfca9d88bd080a5..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement.html >+++ /dev/null >@@ -1,85 +0,0 @@ >-<!DOCTYPE html> >-<meta charset=utf-8> >-<title>cssom-view - scrollingElement</title> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<iframe id="quirksframe"></iframe> >-<iframe id="nonquirksframe"></iframe> >-<div id="log"></div> >-<script> >-async_test(function() { >- var quirksFrame = document.getElementById("quirksframe"); >- quirksFrame.onload = this.step_func_done(function() { >- var quirksDoc = quirksFrame.contentDocument; >- assert_equals(quirksDoc.compatMode, "BackCompat", "Should be in quirks mode."); >- assert_not_equals(quirksDoc.body, null, "Should have a body element"); >- >- // Tests for quirks mode document. >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body, >- "scrollingElement in quirks mode should default to body element."); >- >- quirksDoc.documentElement.style.overflow = "scroll"; >- quirksDoc.body.style.overflow = "scroll"; >- assert_equals(quirksDoc.scrollingElement, null, >- "scrollingElement in quirks mode should be null if overflow of body and root element isn't visible."); >- quirksDoc.documentElement.style.overflow = "visible"; >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- quirksDoc.documentElement.style.overflow = "scroll"; >- quirksDoc.body.style.overflow = "visible"; >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- quirksDoc.documentElement.style.overflow = "visible"; >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- >- quirksDoc.body.style.display = "none"; >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body) >- quirksDoc.body.style.display = "block"; >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- >- quirksDoc.documentElement.appendChild(quirksDoc.createElement("body")); >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- assert_equals(quirksDoc.scrollingElement, quirksDoc.getElementsByTagName("body")[0]); >- quirksDoc.documentElement.removeChild(quirksDoc.documentElement.lastChild); >- assert_equals(quirksDoc.scrollingElement, quirksDoc.body); >- >- quirksDoc.documentElement.removeChild(quirksDoc.body); >- assert_equals(quirksDoc.scrollingElement, null); >- quirksDoc.documentElement.appendChild(quirksDoc.createElementNS("foobarNS", "body")); >- assert_equals(quirksDoc.scrollingElement, null); >- >- quirksDoc.removeChild(quirksDoc.documentElement); >- assert_equals(quirksDoc.scrollingElement, null); >- >- quirksDoc.appendChild(quirksDoc.createElementNS("foobarNS", "html")); >- quirksDoc.documentElement.appendChild(quirksDoc.createElement("body")); >- assert_equals(quirksDoc.scrollingElement, null); >- >- quirksDoc.removeChild(quirksDoc.documentElement); >- quirksDoc.appendChild(quirksDoc.createElement("body")); >- assert_equals(quirksDoc.scrollingElement, null); >- }); >- quirksFrame.src = >- URL.createObjectURL(new Blob([""], { type: "text/html" })); >-}, "scrollingElement in quirks mode"); >- >-async_test(function() { >- var nonQuirksFrame = document.getElementById("nonquirksframe"); >- nonQuirksFrame.onload = this.step_func_done(function() { >- var nonQuirksDoc = nonQuirksFrame.contentDocument; >- assert_equals(nonQuirksDoc.compatMode, "CSS1Compat", "Should be in standards mode."); >- assert_not_equals(nonQuirksDoc.body, null, "Should have a body element"); >- >- assert_equals(nonQuirksDoc.scrollingElement, nonQuirksDoc.documentElement, >- "scrollingElement in standards mode should be the document element."); >- nonQuirksDoc.documentElement.style.overflow = "scroll"; >- nonQuirksDoc.body.style.overflow = "scroll"; >- assert_equals(nonQuirksDoc.scrollingElement, nonQuirksDoc.documentElement); >- >- nonQuirksDoc.removeChild(nonQuirksDoc.documentElement); >- assert_equals(nonQuirksDoc.scrollingElement, null); >- nonQuirksDoc.appendChild(nonQuirksDoc.createElement("foobar")); >- assert_equals(nonQuirksDoc.scrollingElement.localName, "foobar"); >- }); >- nonQuirksFrame.src = >- URL.createObjectURL(new Blob(["<!doctype html>"], { type: "text/html" })); >-}, "scrollingElement in no-quirks mode"); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview-expected.txt >deleted file mode 100644 >index f7288d1edc4f36b2d0a8b7437bf1e96e1aa9df19..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview-expected.txt >+++ /dev/null >@@ -1,42 +0,0 @@ >- >-PASS scrollIntoView() starting at left,top >-PASS scrollIntoView() starting at left,bottom >-PASS scrollIntoView() starting at right,top >-PASS scrollIntoView() starting at right,bottom >-PASS scrollIntoView(true) starting at left,top >-PASS scrollIntoView(true) starting at left,bottom >-PASS scrollIntoView(true) starting at right,top >-PASS scrollIntoView(true) starting at right,bottom >-PASS scrollIntoView(false) starting at left,top >-PASS scrollIntoView(false) starting at left,bottom >-PASS scrollIntoView(false) starting at right,top >-PASS scrollIntoView(false) starting at right,bottom >-PASS scrollIntoView(undefined) starting at left,top >-PASS scrollIntoView(undefined) starting at left,bottom >-PASS scrollIntoView(undefined) starting at right,top >-PASS scrollIntoView(undefined) starting at right,bottom >-FAIL scrollIntoView(null) starting at left,top assert_approx_equals: scrollY expected 4000 +/- 0.5 but got 3600 >-FAIL scrollIntoView(null) starting at left,bottom assert_approx_equals: scrollY expected 4000 +/- 0.5 but got 3600 >-FAIL scrollIntoView(null) starting at right,top assert_approx_equals: scrollY expected 4000 +/- 0.5 but got 3600 >-FAIL scrollIntoView(null) starting at right,bottom assert_approx_equals: scrollY expected 4000 +/- 0.5 but got 3600 >-PASS scrollIntoView({}) starting at left,top >-PASS scrollIntoView({}) starting at left,bottom >-PASS scrollIntoView({}) starting at right,top >-PASS scrollIntoView({}) starting at right,bottom >-FAIL scrollIntoView({block: "center", inline: "center"}) starting at left,top assert_approx_equals: scrollX expected 3700 +/- 0.5 but got 3400 >-FAIL scrollIntoView({block: "center", inline: "center"}) starting at left,bottom assert_approx_equals: scrollX expected 3700 +/- 0.5 but got 3400 >-FAIL scrollIntoView({block: "center", inline: "center"}) starting at right,top assert_approx_equals: scrollX expected 3700 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "center", inline: "center"}) starting at right,bottom assert_approx_equals: scrollX expected 3700 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "start", inline: "start"}) starting at left,top assert_approx_equals: scrollX expected 4000 +/- 0.5 but got 3400 >-FAIL scrollIntoView({block: "start", inline: "start"}) starting at left,bottom assert_approx_equals: scrollX expected 4000 +/- 0.5 but got 3400 >-PASS scrollIntoView({block: "start", inline: "start"}) starting at right,top >-PASS scrollIntoView({block: "start", inline: "start"}) starting at right,bottom >-FAIL scrollIntoView({block: "end", inline: "end"}) starting at left,top assert_approx_equals: scrollY expected 3600 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "end", inline: "end"}) starting at left,bottom assert_approx_equals: scrollY expected 3600 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "end", inline: "end"}) starting at right,top assert_approx_equals: scrollX expected 3400 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "end", inline: "end"}) starting at right,bottom assert_approx_equals: scrollX expected 3400 +/- 0.5 but got 4000 >-FAIL scrollIntoView({block: "nearest", inline: "nearest"}) starting at left,top assert_approx_equals: scrollY expected 3600 +/- 0.5 but got 4000 >-PASS scrollIntoView({block: "nearest", inline: "nearest"}) starting at left,bottom >-FAIL scrollIntoView({block: "nearest", inline: "nearest"}) starting at right,top assert_approx_equals: scrollY expected 3600 +/- 0.5 but got 4000 >-PASS scrollIntoView({block: "nearest", inline: "nearest"}) starting at right,bottom >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview.html >deleted file mode 100644 >index c69025b4943accd4c0b34e74dbd7862af2521849..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview.html >+++ /dev/null >@@ -1,112 +0,0 @@ >-<!DOCTYPE html> >-<title>CSSOM View - scrollIntoView</title> >-<meta charset="utf-8"> >-<link rel="author" title="Chris Wu" href="mailto:pwx.frontend@gmail.com"> >-<link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview"> >-<link rel="help" href="https://heycam.github.io/webidl/#es-operations"> >-<link rel="help" href="https://heycam.github.io/webidl/#es-overloads"> >-<meta name="flags" content="dom"> >-<script src="/resources/testharness.js"></script> >-<script src="/resources/testharnessreport.js"></script> >-<style> >-body.running { margin: 0; padding: 4000px; overflow: hidden } >-body.running #testDiv { >- width: 200px; >- height: 200px; >- background-color: lightgreen; >-} >-</style> >-<body class=running> >-<div id=testDiv></div> >-<div id="log"></div> >-<script> >-var testDiv = document.getElementById('testDiv'); >- >-var expectedXLeft = 4000; >-var expectedXRight = 4000 - window.innerWidth + testDiv.clientWidth; >-var expectedXCenter = 4000 - (window.innerWidth / 2) + (testDiv.clientWidth / 2); >- >-var expectedYTop = 4000; >-var expectedYBottom = 4000 - window.innerHeight + testDiv.clientHeight; >-var expectedYCenter = 4000 - (window.innerHeight / 2) + (testDiv.clientHeight / 2); >- >-[ >- ["omitted argument", "nearest", expectedYTop], >- [true, "nearest", expectedYTop], >- [false, "nearest", expectedYBottom], >- [undefined, "nearest", expectedYTop], >- [null, "nearest", expectedYTop], >- [{}, "nearest", expectedYTop], >- [{block: "center", inline: "center"}, expectedXCenter, expectedYCenter], >- [{block: "start", inline: "start"}, expectedXLeft, expectedYTop], >- [{block: "end", inline: "end"}, expectedXRight, expectedYBottom], >- [{block: "nearest", inline: "nearest"}, "nearest", "nearest"], >-].forEach(([input, expectedX, expectedY]) => { >- test(() => { >- window.scrollTo(0, 0); >- testScrollIntoView(input); >- var x = (expectedX === "nearest") ? expectedXRight : expectedX; >- var y = (expectedY === "nearest") ? expectedYBottom : expectedY; >- assert_approx_equals(window.scrollX, x, 0.5, 'scrollX'); >- assert_approx_equals(window.scrollY, y, 0.5, 'scrollY'); >- }, `scrollIntoView(${format_input(input)}) starting at left,top`); >- >- test(() => { >- window.scrollTo(0, 12000); >- testScrollIntoView(input); >- var x = (expectedX === "nearest") ? expectedXRight : expectedX; >- var y = (expectedY === "nearest") ? expectedYTop : expectedY; >- assert_approx_equals(window.scrollX, x, 0.5, 'scrollX'); >- assert_approx_equals(window.scrollY, y, 0.5, 'scrollY'); >- }, `scrollIntoView(${format_input(input)}) starting at left,bottom`); >- >- test(() => { >- window.scrollTo(12000, 0); >- testScrollIntoView(input); >- var x = (expectedX === "nearest") ? expectedXLeft : expectedX; >- var y = (expectedY === "nearest") ? expectedYBottom : expectedY; >- assert_approx_equals(window.scrollX, x, 0.5, 'scrollX'); >- assert_approx_equals(window.scrollY, y, 0.5, 'scrollY'); >- }, `scrollIntoView(${format_input(input)}) starting at right,top`); >- >- test(() => { >- window.scrollTo(12000, 12000); >- testScrollIntoView(input); >- var x = (expectedX === "nearest") ? expectedXLeft : expectedX; >- var y = (expectedY === "nearest") ? expectedYTop : expectedY; >- assert_approx_equals(window.scrollX, x, 0.5, 'scrollX'); >- assert_approx_equals(window.scrollY, y, 0.5, 'scrollY'); >- }, `scrollIntoView(${format_input(input)}) starting at right,bottom`); >-}); >- >-function testScrollIntoView(input) { >- if (input === "omitted argument") { >- testDiv.scrollIntoView(); >- } else { >- testDiv.scrollIntoView(input); >- } >-} >- >-// This formats dict as a string suitable as test name. >-// format_value() is provided by testharness.js, >-// which also preserves sign for -0. >-function format_dict(dict) { >- const props = []; >- for (let prop in dict) { >- props.push(`${prop}: ${format_value(dict[prop])}`); >- } >- return `{${props.join(', ')}}`; >-} >- >-function format_input(input) { >- if (input === "omitted argument") { >- return ""; >- } else if (input === null || typeof input !== "object") { >- return format_value(input); >- } >- return format_dict(input); >-} >- >-document.body.classList.remove('running'); >-window.scrollTo(0, 0); >-</script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-green.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-green.png >deleted file mode 100644 >index b98ca0ba0a03c580ac339e4a3653539cfa8edc71..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 135 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)gaEa{HEjtmUzPnffIy#(@^1AIbU >z85$Vo{9HN_$mQ~MaSW-rm7D-%GchneRloNK$dW8^jVKAuPb(=;EJ|f?Ovz75Rq)JB >bOiv9;O-!jQJeg_(RK(!v>gTe~DWM4f4{;-! > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-lime.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-lime.png >deleted file mode 100644 >index cb397fb090e199c51e80e4243d1ede03a79aa8d9..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 135 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)gaEa{HEjtmUzPnffIy#(@^1AIbU >z8U8bv#2r`x<Z^ksIEGZ*N=^W>nHU(Ks^9wqWJ#8|MwA5Sr<If^7Ns&crsOB3DtP85 >brl$s_CZ<#to=mj?Dq`?-^>bP0l+XkK_<AEq > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-maroon.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-maroon.png >deleted file mode 100644 >index 3f86b0721955eb4e0f014102c68c2a9764ef7593..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 109 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1|;Q0k8}blwj^(N7lsBPi@{?l_gf&vS>O>_ >v4B~>Z+sSM@AcNP_#W95AdU8fW!Vi81W){YV4{giyfD#Ozu6{1-oD!M<@rf3U > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-navy.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-navy.png >deleted file mode 100644 >index 9b9a03955baea7abde9e056e8604e18694e49b66..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 109 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1|;Q0k8}blwj^(N7a+~R&>-^LA|6O{7I;J! >w18EO1b~~AE2W0Six;Tb#Tu)9&$oRp}z{JAX(7`d=3n;<h>FVdQ&MBb@0MNe`HUIzs > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-red.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-red.png >deleted file mode 100644 >index 6bd73ac101874f306d007e9cea8fa3a1f62dce16..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 135 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)gaEa{HEjtmUzPnffIy#(@^1AIbU >z|1&U1KH@Y7a=AQR978H@B_{ycObm=q)$jcQvLs7fBT9nv(@M${i&7aJQ}UBi6+Ckj >b(^G>|6H_V+Po~-c6)||a`njxgN@xNA!@(kn > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-white.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-white.png >deleted file mode 100644 >index dd43faec54ae60a210f1eab6ff4e7c88b8e34c97..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 109 >zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1|;Q0k8}blwj^(N7l!{JxM1({$v_d#0*}aI >wAngIhZYQ(tfDB$w7sn8e>&ZX<|Nmdl!1<f`@5Sbx4?qb9Pgg&ebxsLQ020p~!2kdN > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-gg-rr.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-gg-rr.png >deleted file mode 100644 >index 84f5b2a4f1d1865d763cac875bfa6a8c5c576c91..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 224 >zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1SGf4^HT*<jKx9jP7LeL$-D$|I14-?iy0WW >zg+Z8+Vb&Z8pdfpRr>`sfEmlzu3&R;K0lq*X$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj >z3<Y;j-+=H&K5?KTUr!gukc@k8FBtMN81S%c^q)Ar(pb!~&BKo6T4>(2QlSh?@M7jG >eOI|GCZ+2WP<2UBa)$Kro89ZJ6T-G@yGywqpiaLV; > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-green.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-green.png >deleted file mode 100644 >index b3c8cf3eb4c89bd8f2d1ffde051856f375e3a3de..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 218 >zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1SGf4^HT*<jKx9jP7LeL$-D$|I14-?iy0WW >zg+Z8+Vb&Z8pdfpRr>`sfEmlzu3yE9XPACF}BuiW)N}Tg^b5rw57@Uhz6H8K46v{J8 >zG8EiBeFMT9`NV;W+&x_!Lo)8YJ?F^Fz`((>;PMkU^HzRy4~NuGe(INq1>ePjdKrGS >TIXtNc8p+`4>gTe~DWM4fy9-d) > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-red.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-red.png >deleted file mode 100644 >index 823f125b8e4a60f780f00443c9c9a10b9fa1f447..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 217 >zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1SGf4^HT*<jKx9jP7LeL$-D$|I14-?iy0WW >zg+Z8+Vb&Z8pdfpRr>`sfEmlzuQ<1cFzubXBk|nMYCC>S|xv6<249-QVi6yBi3gww4 >z84B*6z5(HleBwYwZk{fVAsP4Ho@3->VBlchkp2JMEhm9(EUQo2%VrV@UNUpX$1;`+ >Ty_~-WXd;8BtDnm{r-UW|v1>m& > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/README b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/README >deleted file mode 100644 >index 2e5f2ad0738c58dfdf7b368d1fff7aca4f797156..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/README >+++ /dev/null >@@ -1,28 +0,0 @@ >-CSS Global Support Directory >-============================ >- >-This directory contains common support files (such as images and external >-style sheets). These are sync'ed into the support directories of all our >-test suites. If you have test-suite-specific support files, please add >-them to the appropriate test-suite-specific support/ directory. >- >-If you add to a support/ directory, please run the tools/supportprop.py >-script from the top of the repository to cascade support files into the >-lower-level support directories. >- >-Description of the Common Support File Collection >-------------------------------------------------- >- >-The 1x1-* images are all exactly one pixel. >- >-The swatch-* images all use 15x15 cells. >- >-The square-* images all use 15x15 cells with one pixel borders. >- >-The pattern-* images use cells of various sizes: >- >- pattern-grg-rgr-grg.png 20x20 >- pattern-rgr-grg-rgr.png 20x20 >- pattern-tr.png 15x15 >- pattern-grg-rrg-rgg.png 15x15 >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/a-green.css b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/a-green.css >deleted file mode 100644 >index b0dbb071d5b05d1c574cd5c9a660f1e3d62c573b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/a-green.css >+++ /dev/null >@@ -1 +0,0 @@ >-.a { color: green; } >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/b-green.css b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/b-green.css >deleted file mode 100644 >index a0473f5ca26652c1229290bbf1f81eabc1e37280..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/b-green.css >+++ /dev/null >@@ -1 +0,0 @@ >-.b { color: green; } >\ No newline at end of file >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/c-red.css b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/c-red.css >deleted file mode 100644 >index d4ba5c64e95406f541e2f8cc19e192e9f521ed6b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/c-red.css >+++ /dev/null >@@ -1 +0,0 @@ >-.c { color: red; } >\ No newline at end of file >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/cat.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/cat.png >deleted file mode 100644 >index 85dd7324815b8f8ef1a1d0496224c1a0661db9d8..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1883 >zcmV-h2c-CkP)<h;3K|Lk000e1NJLTq003eD003hM0ssI3n4EHI0000LbVXQnLvm$d >zbZKvHAXI5>WdH}z3>gRm8%$Aad;kCd2XskIMF-Ff83-yN8ye1400009a7bBm000id >z000id0mpBsWB>pL*-1n}RCwC$Tnn<>HVmXZK1a^ho3&SK4-(g{9GN13#R7t8y*I%m >zZ)BMw!6g9VLwR{T9*v;e^Z&9e>xbnR^*7(`)-M11{_j7xFNSfJ@$>S&(_i1@5GH@m >zhpeXC{afFEKhVJCt^WWpLj3iQEg77_JYJnk79anUvL0gx`(AYZ27s0x;q_WRcJD`A >zg+R7jBu}y@4l@kFdQJ7DGoh@H-xD(&>S?#kV5MJwAHN8ovs16uEnknmyyLJw3_Dz} >z-2t_1y-WcyWmd+)eVZDoh>C$4rk3Oju)y$mQ#%^)+P>PB74gM`GN6$$a17nlNge7- >z3RmB|dPjb|$p?mh6-(D?ThB@WuYf>+sj1twj=G%GFkj5O!mZqLtqotF8cC*N$ri;H >z2HQ+$17ses$k7#RTbJz}gD2-`@wiB%W8DFRH7rLV$VR8C-{$0BU^7QA)6xcOPkeLG >zIC+y8#pH<ZE4DkLuB$eJu=YD09p6saU_=3B*q=j^t+sjfsKzKVsF6<N*#6N`(<ECy >zIXKz+z9s_>H3S(N>pr`5y87*;bv|b^HW*-n7#c-VH5l06wfM%K8tMv%QYu1VMJ&`q >zXuT9g-DjG%ok+2IhK&G~#M;r0zu4sf-`3+KmoX<0eCv7>JZuYAQ4+JlXds3Yz$`iq >zO!pQ9wr}Yor1)n9bJP~%@)tD+crwU7nJ%PeORd0)1m4F<)qG~XO2nT^iMivEf)z-D >zBxjR-YQ3Q3>4*f>(%TkH;D#Ki*aVYot>nkyxLr9zV62-PtQAsVZ<)M&ROZ`q=r-yb >zxV0FojhaWJa00$t-zE`xTYXArX#ra%P+dk^apt~h+vO{<A@@#@ZFd70kl?YRKP5&g >zb`j&Qn9|8fN_S*$P|_f3a(aM4y>N9i$&>6i;Se`Xu#!Aka_7=8lY{bL`gE8-D*^)! >zY7!?ohKiqcXDjd>0jZICXBl_KZ$6sC00LyW54V5*dj5-!>hm-t>Ht(52LoWuR*1xE >z2G*{@twTZxdhmIo{825j6wMk`;$*SKGZc>R!t=-#&gkXa<yH8pw79M3dp_ikAFn&8 >zlrN9ORLOJsca5=ic6o}b2pc1mIER3bjmUh7pG>kkRkQfHYSKVRo~#WuBph;XemDuD >z6qUJ989evMeRwkDj)54kU$UA#IGU-IZHnWTVRA#9kA1APN3ZjwA2_hn2Ug_Nvo#=1 >zvdA6|8~BUnoI@62w{|P|2@lwrchE#7bJ6Kq6kBhZllSFE87tja$&a^Vsv9DzjxZA* >zQVOrQc2nyJWb8G&wn4GZFkUv;Z=ATnxIprXHN_9;9UHeyvrlY2*kxbFPXGYML&r3) >zen%FSp5K}|`|V@N#w>xf>JHCqGnQ($o1mTz0Za^NSrBZ!onF6dnw<3&y(VH1bndXf >z391*{FlywkRueb2`q*Y`c5i|#c-`R1y$R0#>_jShsA?F))d087sWd*L&RJQPVgO6z >zuKDv)`2I=hc!ut73ss<T4Sc(1p2frAo70eTGSQX~W-TmJr(%YaR!iQ`4Ur=@=?jjU >zfTygMe0q~vry0lFm|`8tJ+roq*(WDI6R9%w#!|-Y#%eR(ke!N@^4>>?(GbUMv>AFu >zU<y*Z1YJ38rx1Sr_(M)_9Tc=-h}Yr*n2uA=E}I+loFj7auyHJrfHI|Po@I%y`4tj7 >zZ|2XgMqBeQS(s^b?xD;O6`XX77pU2u-JQEex9#}uQe_K^?kYOxRi<VJVwG%9W16&C >zB}3F3+z%GVHY()dth0|pcjvht>SWGaq^ijA)f<0KH8%k6{9y7l%|MvpgU?6jsh(M$ >z5N*sz^783ghS!jcq!BDms81L*G}VLWyHB!u>=8qC&htH>PmP{A<v#~L#&MqpRv4yG >zw4r_l@+VBe#^s0kwg9GF@{ms(MG=X;Z*q>HB})c5>>6kFjvP9zMaPHfq~YhEr7DrH >zD;~lup<3-juf%_Prr9Z-V4nORxcT&~FF{{2Nk&bqG}pd>$n(1*n4sj(w0;RH6sT{j >zbhUJqyjT6iN>h5jrHP`lGXxi;LI(=%bR`2^fsT95-&yGjH)}sb@TGCA(mUti&QX<4 >z{U$^U=I18hwKL%pN^cWLwM6MtTI+-Up~5fcjt@Bxe*M77{d?${Py^67eTt4eFFZ)l >zh8I~nmB}UQ_u%EtP`CsPA88ZuaO!(Y>9V^z>txmUh$SjH&7r>5XT86X<2m!DSg2-= >z-<rS@<i5Y4N=-ro_(K1~{gF<l7M3R7QZPDFa>~W*e9lSUNASn#NOM-@)>-Im^e@d- >V<q-+yJ<<RG002ovPDHLkV1mLWjBEe^ > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-green.css b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-green.css >deleted file mode 100644 >index 537104e663364492c6ef388e4afce190e9c5bc58..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-green.css >+++ /dev/null >@@ -1 +0,0 @@ >-.import { color: green; } >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-red.css b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-red.css >deleted file mode 100644 >index 9945ef47114c2841a746c99a2fb1e93e050aac8b..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-red.css >+++ /dev/null >@@ -1 +0,0 @@ >-.import { color: red; } >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rgr-grg.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rgr-grg.png >deleted file mode 100644 >index 9b88fbd81149891234185f54f8b4a0431759f181..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 222 >zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1SGf4^HT*<jKx9jP7LeL$-D$|*pj^6T^Rm@ >z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg44gppHg^c>jqd=iJPZ!6KjC*fy >z8gelx@Gu{^HvM;TY)zwU$c{IS(wnBFeYtT?qh#}i+>eP179zlX|30sumufTRE+B#Q >jJePWx&kbz|5I0kznWOaej?gzin;1M@{an^LB{Ts59-mW( > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rrg-rgg.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rrg-rgg.png >deleted file mode 100644 >index fcf4f3fd7d95431b8cd1bc5f5129fcb724c5e40f..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 231 >zcmeAS@N?(olHy`uVBq!ia0vp^x**KK#K6FKsNOXi$XVy<;uunK>uuO>p#}vW?s@X} >z?5{Vn@(E1fdg>#_p5-zBiX+1VA%+4b26mx2|7={&ovNQ>6SXtcysBl-)c><WmS!Y( >zv7BNEzPH=%x{1!KjWd@lmbz(awP;VviDQ{7SW3K#guH|K-#!i8$dVG=UlQ?2Ho)uu >z>9DyExiv#HMbsD$XX>p~Q&Z4f6DV?h!MD37E_}{<nz@wk)ekYNY^%>svR6Ky{&{h` >fDhG(UQO-Q~pMsNotNvM_%Naaf{an^LB{Ts5h3Hy_ > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-rgr-grg-rgr.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-rgr-grg-rgr.png >deleted file mode 100644 >index d454e3a630cd98146c241537dbb3d4cef313f465..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 223 >zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1SGf4^HT*<jKx9jP7LeL$-D$|*pj^6T^Rm@ >z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg44gppHg^c>jqd=i}PZ!6KjC*fy >z8gelx@Gu{^HvM;TY>lI9$c{Iy(wkbIbyRJ-o`3vUZZ|(OF9Q6nGtzszXKw9ExeG`j >k-E5KlqACYx1X%C$w4CD$N64zrK&u!$UHx3vIVCg!00%}%YybcN > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-tr.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-tr.png >deleted file mode 100644 >index 8b4b25364e0ffbe09e563e13b567fa57330e48d5..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 137 >zcmeAS@N?(olHy`uVBq!ia0vp^azM<_!N$PA*s|9jBoW~0;uunKD><d1=|2z8e@O`m >zi5U_X7?eM1T?jqI(8f2(=fLXOHJ)xxeNNw5J?)fkN19wc<FT&3eZzeBMQLtcCc<9q >mCdFSHSg)@*x>)QnGsEKzd}=q=PizO8&EV<k=d#Wzp$Pzi&n><H > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50%.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50%.png >deleted file mode 100644 >index cf2eea6b438a11503a89414cbb2f9f1fde55df0c..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 691 >zcmV;k0!;mhP)<h;3K|Lk000e1NJLTq0077U001%w0ssI3;WRTK0007dNkl<Zc-rlq >zy{h6s7=~wbiC|&k#KzV}uoP2RSPBY)sHIn;ot@^CYHeD*0k6SU@&o=<wt~SzQP6LT >z+1+9bIY?G>_PkGJCLw%0c_-t<Byu8R0TE%rfqnf#2=STCc!0-|BNJiWm+$+t+3XF+ >zG01&|R6WZ2a%FMO8DoZFSe6xdSs{%)dLqg~Sttu-y|XONIp^Fk491wQ>y1Vu;JWBp >zVzJoqc$A+V$Du&M;PW30)i^&u7Gwd)f-J~_EXabafA}Ss^LRYITrL@7hr_}5ea4uo >zs-EXfr_-?8qSw;z_hYfxZnq<%d_G?&6l8n7UMHeNA~7D1DXd_+^X%M^b1Xhu#0egw >zA!I?;mp#FUr6!IGxafwE1t1HuAPce}3$g%YK^9~|*6&HOysvn(*(i##-EJ9UsZ`3c >zEZerjZtKO@{G-umsZ=7OWHL!ax~|LH&Qw+HcDr($*H`sP-cZ*0d?q4I(}+k2AsaiL >zj;3j@>xNm@j~53yo6Tl2nfZLaSS%Dp@jOqqx7+P>I$bK2_WONkdm(-b!)ORuq3(u{ >zuZ3eR);?H^UI=h{2M87b0ALRNMpGQFFcbm=3m{kkAXosw0tglW2o^xF0D=Vof&~yP >zfM5aey@Mqmboq;Vy>6Q3^?Ef;v)OFQ#$+;S+qUC4@()R>)vA0j20RIU1AN~f3<kMe >zPA*0wk^B8lM7P^58jZ@v;czH~5JH%ySu7Suqmd9o*Y(L{67t7~@KDnmXti3a)#`LQ >z^?JQ>xhxxNwc21XxLhtDA0P5nd4E{1*Of{|zC6!y9M^SKRYkDydOv{gSOCES0Ko#G >Z;3u}YJM}AuyWao+002ovPDHLkV1h`wI+p+d > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50px.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50px.png >deleted file mode 100644 >index 9f46583665ca6471075227f9e2244f1ba1ffece0..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 671 >zcmV;Q0$}}#P)<h;3K|Lk000e1NJLTq0074T001%w0ssI35I<<G0007JNkl<Zc-rlq >zv8v)g6oyYUj*(OvJMF|<*xQPQHX;gQ=Q9YtMk4qIcD_Uk3p+s&EW|>6gP<0o<3OBS >z1j1$6y@J=>jmiI2W)i~T^Pfp3CPtA`(u;`E>xkCAIOm38{A6Fs3%^GNnFzqX(&;o2 >zDT)%hOaxRt$_h?dilXdxyZwIuAIl18<k1sR7Ro|dDC@73<(+Ub#)4IrH|Pr?i0E>; >z;NbHP*$SvFj1Q0nSpc#i3$h>!vLNd#s;X8h6(Y)HGDMWkW{IfR>*e!#BI@`1L^K!- >zq999sxJ98*&~=@N=JPpYY_r)A(Q>)W<#PTuuIolY7N$GT%2E_8{&5kbJC1`e1yhkZ >z{QWZiAyepm0H$CHreF%DU<$w#Ou-aPy%*}kd9U|DN?9(KiD<D{L{ydh79vWeQmfTU >zN_jXOj>n_dsO!3I+fqu~wx`pn*C<1c`p_d0X`044S5?*jCFXoSGsc7vhGD3xigAie >z)6_I=x7!g>wOXy$>t1^zkyx+So-)UAqG0No%Wt8-X!kNxI7<M}X6pN1hP7CW{s%Cs >z1EdN70HQYojOJV%M?e6ODu7f0qzV9}3LsSgsR9700!S4=ssK_208$0QoT}fxKB3)i >zTb3n+uq><7>A-U2c*&C|r_;$a%~Gl4EyiN8`~5DZbX_+dkNXem%w{vr`D8LF7K>iv >z?RKlxYUA;^)oKYL{4FJTXMQ?Xb-Uf|cFP#!ocsSC*Jw0`!=VsjG#WLVO@HH$j}Ibp >z9OvtMgBWAUWb%5w;_jEw@bB(q!d+8H6#$q60;CFrn@_JUXnGtsT_OMg002ovPDHLk >FV1h+lHID!Q > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-100px.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-100px.png >deleted file mode 100644 >index a837eca2225082917dc952efd5c689e1b51d7bbd..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 760 >zcmeAS@N?(olHy`uVBq!ia0vp^MnHU=gNcEGaWU)iTMP_L`#oJ8Ln>~)opsRfQGkd; >ze)kq>afh25lNKiW9??&5?NHJA%O>=XS@{0}+4zG^EwY_?F_M#iv9}3z1aeiSUzA*K >zu(aV(kHK?2k3BK|`KL4QXWugp33W=8Xj?T)Nc8vQ(%9`GT4(2eudkH7c2+NL?u$dR >z-nKS2Z~j`Y^K+f^ZT|OzL59~vJ9g=>@?L(q?{UxZ$KUny^7DVzuDt!h?mmN?plfyf >zmG|FWk8IKrjGUqMkB_(Yd8N`MAGQ3vyhA@<bgG)GyNbMZyBKBu{M65@X^X#_xz|N( >zNI2NE)qRbRnzGW(oG=%g^U{3n2NQ}bDsH?iaanTtWy$WlscV`SSj{;6?RV|zP4C{l >zb6FCjH+xxSZLO}-<dZ7%&v$p^-rjt(=cAyQ4#>1ywbzy(%Ux#+<}|T#gG9?_n$GnL >zUK#SiePsyOw7;>}x9Vgku7B`~<KEgPU54g^2R_?``Yyk`>Xk*`s(JJ0KQFQj%{7r) >zbt}iL)bq?nx5a@6yp{&7nsqXz>CffMm(RcYnakO|rl9#~(#I!HTteT!e?R%;lGnRd >zMQMom`TO7h&1I+D{M{YwHHiH{KeA^3UX!~oKff$N`Q3$OHK!M>^?md}Ue5YP`;WJ` >zoGPcdSKa}V$916$caR7I{lB!WCtmR1qOjFlqjc|ok6s(LH?H5a&h2Na;zQo04{aAN >z%iOnj@5)!NUuP>#?C|XJSbx2`vNCh~ZFhHf$0DPdQ%*l!y?XWL&Bph?D}P^q>`h+m >zFXb?;somY&_rL4w>#x3=<rC!6*Wd5@<m1PSg>$|yNsZi=Yj1B~pCFjW&0YS{yFmW8 >z{%3D_dwKh-9vNpof7j<_ShMfbl=P&-N7}Xp$UV*Eei}Fr#*lj&2u6iKLAmWf*~0AY >cw|+4$pP;3B^U*VLV7g}TboFyt=akR{0G}~+v;Y7A > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-50px.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-50px.png >deleted file mode 100644 >index 84141028020b7e8cdf2412acbca3c799ba50a534..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 757 >zcmeAS@N?(olHy`uVBq!ia0vp^MnHU=gNcEGaWU)iTMP_LdpunnLn>~)o#p7Q6)4em >z{$d*2BG*@!Lc3jVdA+?Q+2PW(<&`<hUq0SH>~H^wHaWhIaoO!ruE(m{QKE2v_l)kA >z-e(KKcYm$vKGDDac}?&6nKO$m!Y2I`xEAGUC@i-6WK{O=zyHpiJNNeO+xv#s?=j!Z >zxcM?)V^6`#D~}&Pp5?A$`q-&{Ubpelh>!(auZC((&D%cv^wS>0zQ+>Dv(7%_|5v|q >zao)lohkkPybSa7E=I2W%vo$wv-F7j<M5=efqK_3hJ(iZ1hR5E#eOo#2c)7cvt4QFM >zmy258?Tg>%?^YeP{?keR*WWj6TXu)LZemGAMMlrg{rmeFE-(LJ<A3S&Y482_`L|4a >zV$ruGZ1vX<9}HH``Sp4I^9xs8BD45(?Git7i|IscNI2NU%6%<AQFrUQr?(D+*uNsK >z-AeFYem8ITy4x>H79F(9J8|Uk$H$M8Jv&{Tg0!YiDk&_S=(k)oHZIO<*REZcdS={{ >zuBxt{yk+-pZOxfJY$vZ@zkcEDg32{MYQY*JDz>(^mVKA=wyUOYzPWhuV$b-4=Px{% >z$%e2T?g|j&pZPVd@7osh<~-+>HNJ0@q3xBETkz(j;nVk5#ZE1@IrSJs=KbBV&8b#r >zs@K)5tKa`-ZH>~KK0UlH?2I+Pa;AYqh}P8R=H>^<I%3lO$0yypfB*5vA5Q|#-o1Ob >zz+%ny*S~-Nb}TZHdiwe2?Afz7Z#KUF-I?$98QU)7&slTl&$qX?-@VRShVSyrk_kFu >z-9WGGdw)G^>*dRrJqy()8y@>owKqh|)N|Lm*OhSvei_W#^M7W~=v`a$@8~4GJx?va >z-#4{oh}c&&{rS;0ap_x5l~b1MPI0e<Gk|OmIt~)N1C)g`AmVT`zVHuY?mGL;&f7B= >Q0uwcZr>mdKI;Vst0OKlsf&c&j > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-purple.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-purple.png >deleted file mode 100644 >index 0f522d78728417b0f74b694e2e47cd41c00359d1..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 92 >zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pu3?vyBU)>3$*aCb)TpJh~{xkePDssRFB<<<q >n7*cU7`N#kLjg3MaSNIuL+z|fjF-g!1D9PaI>gTe~DWM4f*isp& > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-teal.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-teal.png >deleted file mode 100644 >index e567f51b91bbe40754cb0e0cae066201219cbb4a..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 92 >zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pu3?vyBU)>3$*aCb)Tp1b~82<lv|F?D~NZQlI >nF{I*F@{j-f8ykf<uJALgxFP)4W0Ig3P?EvZ)z4*}Q$iB}@>Uv7 > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-white.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-white.png >deleted file mode 100644 >index 5853cbb238cb2d4aba3dd49af3f2ba64d6c7a2de..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 78 >zcmeAS@N?(olHy`uVBq!ia0vp^f*{NRBpBq_B-DVEsHcl#NX4yWiv~UkzCZ4)$}udm >Z3=C_{1@!OB{@4Xl=;`X`vd$@?2>|f05A6T| > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/README b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/README >deleted file mode 100644 >index ea8cb9ef357d0174bf7c598f9b1b1ab04a1f35de..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/README >+++ /dev/null >@@ -1,4 +0,0 @@ >-The swatch-green.png file in this directory is really a RED swatch, >-and the swatch-red.png file is really a green swatch. >- >-This directory is used to test relative URIs. >\ No newline at end of file >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-green.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-green.png >deleted file mode 100644 >index 1caf25c992aa8e23483cddb3334b5f51ec967f4a..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5X>wg9Y$w!>#KrWA`i(^Q| >dt>gp+Mj%g@f$_JNuojTT;OXk;vd$@?2>=8a4uJpw > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-red.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-red.png >deleted file mode 100644 >index 0aa79b0c86bd72c2220ecce39b9553e2cd3605b9..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5XD?<aroS#c40=Yb%E{-7; >dw~`YS7=b)p2FBl7!dgHUgQu&X%Q~loCIBjB50U@? > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/w3c-import.log >deleted file mode 100644 >index 5679c348e73c7b770083491d52a4a72fc3aa4e24..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/w3c-import.log >+++ /dev/null >@@ -1,19 +0,0 @@ >-The tests in this directory were imported from the W3C repository. >-Do NOT modify these tests directly in WebKit. >-Instead, create a pull request on the WPT github: >- https://github.com/w3c/web-platform-tests >- >-Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport >- >-Do NOT modify or remove this file. >- >------------------------------------------------------------------------- >-Properties requiring vendor prefixes: >-None >-Property values requiring vendor prefixes: >-None >------------------------------------------------------------------------- >-List of files: >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/README >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-green.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/support/swatch-red.png >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-blue.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-blue.png >deleted file mode 100644 >index bf2759634d45dbe3df13868341eddb7e4bf24172..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5XD+9y-u8K?HKrWA`i(^Q| >dt>gp+Mj%g@f$_JNuojTT;OXk;vd$@?2>>P$4{-nh > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-green.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-green.png >deleted file mode 100644 >index 0aa79b0c86bd72c2220ecce39b9553e2cd3605b9..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5XD?<aroS#c40=Yb%E{-7; >dw~`YS7=b)p2FBl7!dgHUgQu&X%Q~loCIBjB50U@? > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-lime.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-lime.png >deleted file mode 100644 >index 55fd7fdaedfc1ed505b111f20fabbca568c68fa5..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5XE5m;VlehybfLtC=7srr_ >dTgeFuj6j|)1LJQkVJ#qw!PC{xWt~$(6968w4?q9_ > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-orange.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-orange.png >deleted file mode 100644 >index d3cd498b52bd88ea6c991f050f1ecb1cfdd136bb..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5X>;I(;rzSbh26A~kT^vIy >dZY3uuFamkH42-|EgtdSy22WQ%mvv4FO#nq@5F-Ep > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-red.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-red.png >deleted file mode 100644 >index 1caf25c992aa8e23483cddb3334b5f51ec967f4a..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5X>wg9Y$w!>#KrWA`i(^Q| >dt>gp+Mj%g@f$_JNuojTT;OXk;vd$@?2>=8a4uJpw > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-teal.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-teal.png >deleted file mode 100644 >index 0293ce89dea5c9413e4c829cc83a4e39d8f23300..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 156 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K11|+SoP4xm&jKx9jP7LeL$-D$|*pj^6T^Rm@ >z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg4R#65`cCM1`H9#R5PZ!4!jq}MV >s85uv$JE$cjEnw)$lDlfNN|Kv_A+(E0c5RvdE}%LFPgg&ebxsLQ0IVw~FaQ7m > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-white.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-white.png >deleted file mode 100644 >index 1a7d4323d77287d8eb03a89c635b09d099d94869..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 85 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<H-Bp8I(u6Pcln3BBRT^Jbeb_p*5^7uSm978H@ >gCI9%}-<ZL|Fh5TA$_Ah94}dZZp00i_>zopr0Qo5vZ~y=R > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-yellow.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-yellow.png >deleted file mode 100644 >index 1591aa0e2e274854ed836cf582235ea0202f9c8e..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 84 >zcmeAS@N?(olHy`uVBq!ia0vp^{2<K83?vyP*g1g|bAV5X>;L}@UB|w-0=Yb%E{-7; >dw~`YS7=b)p2FBl7!dgHUgQu&X%Q~loCIDbL5Y7Mq > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-bl.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-bl.png >deleted file mode 100644 >index 904e24e996a3e5da93bef89e10c49e24c07d0ed2..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1368 >zcmV-e1*iInP)<h;3K|Lk000e1NJLTq003kF003kJ0{{R3g3O3#0000aP)t-s005aY >zGnr;)nE(LHGc(L)X3UwH%*@QpW@i7Hng7hp|NsC0s-1y@0000CbW%=J|NsC0|NsC0 >z|Ns9065r0w00001VoOIv3m@0SzyJUQ%1J~)RCwC$mrHKsHV}qI#0OA$)CUNV+0PNC >z5z>1FDgrZWOHO<59>534BKsDgp7p3B>I7zAF2$Eby&QX;;i_BGr>dV-tSTkfVYNIl >zi$7l1mTrsB_C8C-i#4X^3LaLG>jn4e0?941+dy=QV9i9xkG(@4H;@(~ogt^a`43yj >z^`**Zh^{Td#Pj%+Qr%fKN-5`g;nYOF+LzqmXhmO+m0gFk>gfe#F-NRAhUdXXT_P3& >z5hZ>zhPowUE`a<#=%qb^0(KmTs?O^A;`TX0ocz1q{qO362uJ`J02e5qdmo1g`RwHP >z!A7z7fk;yZJFK4j+J<J_!!kFwGv}DTl*m6N!y-fSp;zS$vG4R+^f3f3FkDp6`iZB@ >z9Rq0{yOh5|GFgnv$G$b5jmSNW@=3{zpgZ``cV=57#LB;M$gx-;>{j+R-gEgot3{VQ >zT_EJMJvHm{U-0*2vCJ(xH5>9<9E?yX{cn>?Cg7{`b(@FBIAj4b8LLlxUA}&DNX9v( >z3NQA_a4!BS*5!`~%BqqjA5Y&4uFEHnEyD3&j#zU)o^f5S%cniIzr|OZ3i>ow5`DiR >zKV-E(ZYQ3EdZkb6@<UeNeUB?iBFq`D*X2*MI!I#{X}9FZS$$Qmwt_`|Y{-wZnqKV6 >z1blp+IyR9XXEjwg7bU<2vXH;?C)8Cq%49XyvL(Ou3A1w<`?`EvZGvCF2-_3drF_v3 >zWsvc|O+gEO*$ta$@sA0cmcFE8)2I`NWRx;N{9|`#gBRBOOq5lHKJ|AG{lc-r?c}4) >zL-$z5Md6GLEg?qSW3G#N#pKN%xTocLj)Y#BeKpr}_iC1cFHVHGREV^M$HW)&`;U1U >zqa(S7SZ8*J-qhDnFUE@G8)EF3n+2Q$s`7)uute1_k<QgF7t5n>rGpW1SV4To*jSQh >zlcG$a4=ps-GU>1C2_a&@$I%?>7`aa!VnfzdIeZ#?+sUD|PY~B%U0^7GO|Nu@sDsJ# >z@KlWWEXlsO1AjC<{IhGw<M`A>1$M}i5N36xL4oHW;3LYQL{&USeE7rWXggil@q+qy >zcqZ;IV<F)o1Yw4G7>JjWW`PLt<%)`T&`L8>V}>Oa<kn^+iI7n5LHubaqvh(*WJr7^ >z)T>O$2em@zx|mEC771}cDVqgE!@z!yT>QYv82lFP(%@F<5;wl4TqknAA$72YTMI-# >zh4f`KPMMiy>XyGdc~Of)_A<zfoj!JJF(=#0d7SY)+PJ~38KUdBOaRb$*jPKdJK=EV >zrkm0Z8xVG(YE0}Yt@-e>+14L1KJ#R!khI&B)WtXi&X5b{lL3*@ZkLC@MvW|+A?7gN >zW^9D0T;2*9*?`>~p)-$sKP@gC`DhvB0@0TW$+>vr68OLZ|AFHIA?8UIVp5VL8#iJF >zp>x%gNY!OhEyLo1uORl+--}g*Wst2R?yDkOfv7^I8;JRK;rXg-$rj?i69C?WTvb<5 >z-Ama!5K|d3=PQC<K{RE8uwP1VM##=LEUkC!&4^ZAZE86{8mYSe$D&=JS`K8398A-< >zAkI6YxS&bnwNTEyqw<esfq5o26J~CRQnjl~iN@O75YIKX+q?rYE}CZZF2t>$$WP>d >ai~I`(b4pM507-ZN0000<MNUMnLSTZUYM}!F > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-br.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-br.png >deleted file mode 100644 >index f413ff5c1a0f2ad9f9a345d3e07be57a59a82207..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1045 >zcmV+w1nT>VP)<h;3K|Lk000e1NJLTq003kF003kJ0{{R3g3O3#0000aP)t-s005aY >zGnr;)nE(LHGc(L)X3UwH%*@QpW@i7Hng7hp|NsC0s-1y@0000CbW%=J|NsC0|NsC0 >z|Ns9065r0w00001VoOIv3m@0SzyJUPhe<?1RCwC$ms@V5FcgLlnk;}*nH@}b&;=9; >z`W^{0$~+gU<h>dx3m9n@P^7faO%<|&!sf>KZm^B!d3qut2z>beeU2{xp@)&j(02`` >zTY^Y(yls!8j-g6{#iqXUOZZmq^{tQRnwIpYptOGKE#wg=geU|udB&pePc3cOueFKs >zvzd?t6~fN!7xtH~ecHeFR|~mNE=(hU<zcj=XW{%Yp6UJ6N@ftUzmC!P5cbt`?6jy? >zkn>j9-;D~v`nZNntt8~9LC7xNOec_RZz1(-9N|5dP=m0v9-_#(n4W^-V2~txiYhzj >z!i$YK*$mpxEQDn<+Gk7q?5d2K>8gc&fN~c@-gEJg62@yGi)KdJFKsVL7OffK1s(gk >zuDvn5Y{BU<F%-%e((qKG8u5Ul%idy$ct({KxR(KBlCq)lwQ%n=>I*USjd;i%YrdEb >z{Sn*_^roe9hCXX0U8@*Tm5}W<;uM1)L8qv|EjeFw?$DQBbYc7Y_+{2Z;0_;OA3x6W >z0PY|Sr^RF&+^N9lo^nJde+0T>e|Q%!CAxA~?GMkwJ^q*@L1D^DW{@@e8aZfW&HlL( >zh^h58`-7ZbHV<zaS+W1w2>0aSI!6vcWNu~EzD%TLWzD`y<i?s$R_yCU8Y@az$o?{s >ztJ8(Yy+rUffV?jfsir=p{xwOCNIQ`VxeF})mt`W=%)g=j#qveyLfcAweUa7TT2Y9% >zj|Z80xYL7JBN#v$SuMm7!T-APcUV_RUG7#w6p(kTFo<b#?tbL$mc9)MbD|J81-xCa >zu1iy(+!eIf8G_WOYv>wDV7Xr)zJ+r5pkj?+g<rb&*<VHdwnQ#%k*B`?n)b<=Z)r8M >z*w%Y?pY@=}iIK&e%yly-p3Gaau$<qAqFp+%WF>S_u|SWDG`g}53&gW~H?kPATZn)^ >z{pHpDF0f_Yc)Al>7VPVTai^XiPQR;MAxJ&d2ec|FrET5HXc}tCS~{7gaV(KcTp<oc >zQD|B7>QZ^Z1TjZ~gu`3RQzOf}P2=}cU|fp)kR|{zS!z=9ML<>z3CM~dAz5JrL$V?W >z4Q^@!)=5xS07+PK!ylVGm5`=3ktPvYvS1MHR5ItZK3>BJtE{TnlF}3mey44O;Kkq6 >ztd@0Ivcj%UvClb}M#-r)(X{Qa==a|U(_!d)YlyiY`vK(N;tTmg{#)cPVxOudoeJ1E >P00000NkvXXu0mjfoHYWE > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-inner-half-size.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-inner-half-size.png >deleted file mode 100644 >index e473bf80efc66766cb32ec2cc60244ed37dc1157..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 180 >zcmV;l089UgP)<h;3K|Lk000e1NJLTq0015U001%w1^@s7JXu?L0001cNkl<Zc-rli >z!4AM62t%pa|Nk<(E?zL=Fq+2^X)3e<nYr61nsxC@Ld$8rPiTZTB&ja&s6as%ZJL|M >z=rOcU${2vp2YUvrojv1iz<}=oKePMm#BU3e)Gz&dnG;ue53v^M#Hf!LH5!*`jH~Z= >iHN+4@%ynW{5626)ITymFxuX~W0000<MNUMnLSTZVu1667 > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-outer.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-outer.png >deleted file mode 100644 >index 82eeace7fc0c4202f79610978ab423e62abf8939..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 2412 >zcmZ{mdpOg78^=c{EOMMh4qF~6Bd3rFi9{I*a|(^Nvdq~?QjT*?4xw_Itd@FmT1%@; >zkHai-Y6->Aa{4*!H%&eKiag(`-yhHQT+j9WT%Y^CzTeON{@nNL{(P?Mo9&Krl9f@D >z0f9iW&L<o^0NV)yNkF9}fteqx$p(R>O`RQ%dM1nrDqQhOXQ7#ug?V#Sa2fmTSTTg# >zq5n>b3YP6~G}vwrp{7((H(F%s9=vs(d(vdsw5S`*{!`K=^0e|Hs;%}@ZAe9;YhM#o >z_ToaBZbi>ZoPth;c~{8~-g5bm@{$}EyaCQ}|KNtGC?`*cg`T-jp?`3qQTBgZTv?v{ >zsdiqg_=L}TaeDHp)WEMH?m}9l;@m~8p=7pF>!36@MZO>-W1E4=+P#fwf=QndMcXv7 >z8Z8-fF2Q7mdllSkqq$$v5O4Max@#iK>)>}|J2%opy`et}FlLkY$|k=MPb|h-F&GS# >z`yPH&Q53dkQkZ<87kdVuoRE+pLOXW`h4H>u8uuqXC&Rob*li9oo;cl8K)zjxUvIBg >z$)w}LH2k-=iDKc?$`Kh8{tr6}PB1uTuEZnV2}8sH8=6vc={^tU1@E=j4k~YXOGQ|X >zkJ7bc);}A=x!>Q|ZjgqKn<q^%>txci{z1vOpT5iHp(Eo0q?hU&McH@xcJuaJ!&r=t >z?vM4Ew=lmncbCv<w<by^%~!2EMkjjnd54&X#Od#j14r-;{%H*anvq+xT4z&^R~p5` >z!xS#*RhyBq#-3+TSq9ZKkNp)WoXPH4H-m1)g6J1}?lL8tMqKR^6?)~97d2-4DhB+5 >zUdGN1RJ+xB<5yKLk0NkP^&6b`?>%iQg%g%g!y>UhwjyyUTO+MrE;m#Qlfbq|*dc(4 >zZC|6qC(sSHP6V-iNf|!edmH+^^*p7Z*`Fr|qZ;SsTT5vuq{VfH<xT}KU7pO%=gQ-v >zpl}EV2Ej;R3K*TfdooFmy;Lk8A$M$3@V7ALWqa%n93N4h!H9%#CFmf!JRkt3OVQHb >z4OBETnat*91Ne0G$7cc;8XW%MV(Eh}E-|2Hw!aen*h^t9zNtCIQK#4?o8<B4NzKA= >zJ-KtNi74c~C_F{C-09RZX5o7;K}%g#V~>E_u(9E~{{7oy($sRI!r_#kERyw=)upx! >zFkJKpcdtUCXezrquiN45{@FUmzL;55Wac?m%0{3=Y46O}udzZQvI2GYkbbEmgW{O# >zB*tP_1EQvt8AEX}i1ucwo7Do-=J@@}d(C-#{nOcUixx3CVB}<e`Lw}_xWS0LbrOGg >z-0$$Y+G<jqNui?4Zdoxsu$TaOYd=pOXKWEl=;Q$~#Yp}}11wlrY@mF@rT&tjQx2Kc >z;EdG(+Qw=(0gQccTmb_LX#GO@-=ToE{*}o1S&Q<qR$oGG$H$7QsF?VyQgL%mGamZB >zN8AN0>yfx&o9U9a{k9oC*L+CRvNc6NGmAaSr-%G%isWSVX*Ri;gJFYDY61-RZMJ9s >z-`z?*?sVx<BY`>k?ebatm>?cmkvn8n>~gVoVD9PAWg?M?$DhQ9`wq>_JP04nEs0as >zGCYyp$>C%Uz4Sbg-8nx$KQdBELKqs3JZpaXR0kdt6C;QpRUl$8ZN2BT1ay8+QeDwI >zu62>#lKkWL24UmrHRFc%C7-=lR_WXembP{E_3D{)24gRLd3m`56V=JI3W>Gc@|ghD >zM4FnK`Yo)lucxJLsZJ~`ENt|1#h-mVSROoe^Uf(EVVw0btkFTIuq)O|12?%MoRDpA >z2yb%N3pEM(Fd#*y6-Dy|)=~4^T7Ra;qxZn6bJQv8eU-G*cUmx99|SwF1S^VO>?Mcy >ziKu&}Y5&7fzUR%+PBa2D*ec=Nds+$#Hi85rKsnpQ4u~Tuc0eH#V&@ut(`oSm91zDY >za+r0m+14Xz`N-u=du{O&XwC%ls)q~AieIs$nYA?j`i;>+?lE4qb*u__4g0>Wic&zo >zR+V36^t{R_-%yv8wr}-_^1lgZWPfdu3O$yvqYW912-Zu#GoWhgovH3+iIzI{A=E)V >zcQydV*I><E=u_da(q7DH+)<GXMo3AvA=y+6U6e})iPP3*DUDxWlG~X9WJt}Yx1=aW >z9f9!2A{3*A+uM>n-slX6bO6zsU?5t4944(oUP5)GKA$4KLQ4haDC`}{Ps+Ey(|x}` >zyBd9~%hyJlk{^d?Lo)0)dE5l)3+)ni{3Zg_i0Xi|wj6^6BU*ew>BPGjg>hpsG84#F >zFtJR+%|k#s!XCqF_ng1k)XQe2ZTWsnZZ|ncg`BfZy2~e>2r%0X?)0(asHJc|7s;{V >zAyLed^iYKNI1KWOw{~cQNG_eYN!$n`KQ1lw1ky25mK1-sOUN<}du0+Jm-|WOJ}UZk >z;MD^*RM{7)%54F<f89d$AT43&eEZMXjD>{-bX|b)&Pma9Hxh~L<9I*zLO^8O^&sR* >z+Z4@)s8v757MByxkbSog24S(-^4S*wgp`yZd~#%@yPop)OUea1c4?kMp-^sa!(oST >zlOoZRWmaIl?bWsCD++LG;;LvBull2<z%AUo%!0tXV5Zh=aOTXJiC4)n)<ylZJ1#8> >zTKN2P=4FEB_A-kIhbh4*)5)gT&@Gq#)33|s%4+1d`N2!(NL$;9utxEAWYvRMlM?)J >zUGmy09Ze5xzD#Sp`sH(nNMyos$)$75^*zJVnHX>A58rdx9N!z~iBj0<W}FS}{WTSS >zYe(Kh?$^;NgZyZ(TL-Pc;QQJ0!or2b!LYc9i2f%v0)ZgFaP|`7cK3seBhSK1u{4h_ >z@XA$Y?)2*bv%CGWDk&;eV+0`iroein?E{ZT1m@$$KVz-tVqdPbjg5@~%n0G(y?uRF >z>IU6@K0Y6KJQh(%2_L<F(zQbdtgfyO+|gmbe_i?OiRXdC>Z+=$Xf!%}G|=DQ-_LJ; >z{R@v*PI@{ju&;VMdI8E|v)OrCwr%pJojwJ7oSpnX!a|OIC{+5t7cWF27_n5j0g~u3 >VAD}`@1i=3k$k`F)P-h>U`X3Goc2EES > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tl.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tl.png >deleted file mode 100644 >index f6ac0ef7e8f6e192c9c26239884bf92b13cf67b8..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1025 >zcmV+c1pfPpP)<h;3K|Lk000e1NJLTq003kF003kJ0{{R3g3O3#0000aP)t-s005aY >zGnr;)nE(LHGc(L)X3UwH%*@QpW@i7Hng7hp|NsC0s-1y@0000CbW%=J|NsC0|NsC0 >z|Ns9065r0w00001VoOIv3m@0SzyJUPb4f%&RCwC$mQ8M}Fc5&T!~r@I9HIMngrJ)4 >zQ(^kjbwEn?FN@yb9iWkt>{9_J2)W!F@R;Dg)Lp$zS!5CX;rV991JU){SM-DYAV0|e >zM%uPHwukYjIUJ7B*Q=ZTu2z>QMR^bD+hKK83n7YJaQrDaUiXl8N2@a^ART^^rwFp> >z9#IKgok0Td0KkTyXt?~yXZ<2qM=a7Vzey#Q*6RDnL2!78qHiE=Ex4QTA^lz~J%kTw >zstmq|U|5-t@E~V@SRUkpVNEL-i@q);x>HzkHGJJLeJv;~hO4ub=d-q4IFZka!eTMc >zu`{buHGh%+at79akO>1WhSi7Zh!q^12-bv5K>WppZFh6@Am?f!<BIe8<ZyJvwWFFq >zUcMXE0yolD)G8oeTdi8;=!mNz`J_B*yPwI?M)m~}`KHs5imGL+R7;7ZWotYNJV;A* >zWckKOJq2tdq{0$$(*LL3ZKU7Jv@p{|rJmVH#VIZ=UDrmLfQ3*?VqE$rdu3uFswG*f >z%lCCbgf){JI*%YWuFdgL!bDU{f?kyVyi~}>KvZ5Be|6^zTf#t8UO;S(JZAKN+3ASN >z3j@6)uNUz|&Al}d$_w_F78jlrimN;suUD0qIN$0jWDohucq6MjSV#Rh_J5@Pc!G3f >z_wwM3t6xj|WYw9-AC(uqCDDE%<9fTAh~QL5JzvTmP~Jf3VT_w`oktbsK$-$vb-dY+ >zEip&>4?ZIC^U;m)Hw&SbOn!F;BHM*_pCjsYrK_unjA?=AlYvYnPPY~!(~?^V6%rmz >z<RXVlV(+q3UGZ)qa4U<3RPu9z8&h()Lr7;MvMclhIow%G<k?0tDQT)8vXJ#M5t59J >znRmOBS}sb`n8kPXi@9Ww{-vOHwGp3wv!1nUm_EL5ha0)Qi>kimBF|Bjt{e!>7aIY` >z$e-!kZF!dZ$<~h?Ekqu$Hyc?mW_>Y3_Tv~aU&L~krJRVP<{Xh@#O3lKU&e81AT)VW >z+l8Kn<$pJj%%^`<NBnV^?sG(rO721gjrZ5ir7vt3{7A{<<H{~jA7`ID<MD7X!t_;S >zAdaE>s>@+0W|%%6zicXInEvpcG8HpS|5i+Fr$GIwnD~MX)K@9PlerDlpNfeu>p=af >vm<;kz{V6gHxvP)gcJytThUyO|QzGyW8di!g0nvTM00000NkvXXu0mjfqXF-V > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tr.png b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tr.png >deleted file mode 100644 >index 59843ae54b64f6ce4f7e616d4be491c911ea84cf..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1235 >zcmV;^1T6cBP)<h;3K|Lk000e1NJLTq003kF003kJ0{{R3g3O3#0000aP)t-s005aY >zGnr;)nE(LHGc(L)X3UwH%*@QpW@i7Hng7hp|NsC0s-1y@0000CbW%=J|NsC0|NsC0 >z|Ns9065r0w00001VoOIv3m@0SzyJUQMM*?KRCwC$mrYXRI26aFnjFBd+de=qdOt_N >zRTBGjNv4=J5|!QqHQb;NfD32Vom9jLqFiod>%)>Qhp^}!Di#F%(|iB->7dhx5Bfwt >zkx%50BC1n|tx|6vK%_mLQWqnX6K;;U`FDFEg`lc|)m4wlpBK4@05B8)B_V|J%_Vlw >za4<$t6qwQ5?fVe&2b-UQ(B}DF=TLGmWzFWjfTsuoBj{dz2tgQl^A0mb5R|kzAGjHU >zzt-QIvk5};13=E&LB-q-)byMklsg#6^|GA>1kTt&3kTTsQcmN$3rJ$UlvDpmfxi-B >zs(OsZVotq*l2F1pfdVHvT}FC0ny!_MGKlO{^1lTH|7D!$)SEgOs2&9Y@Lbr2kd{<# >zhySTga0aoQC4`TSr6hxqDd{GMq~)Oxf{zHUHg7p3EkeB)qa9pj)F50=N<;4i33kkV >z+Zkfqoh0ngavtIa&CE4aHM11QcA(<ZnS*i}9_-kZ;*#IbkX(ZM7}U-VnO=(WZJ}O6 >zN?{sklqJk*eYL?f(2HA43tsrLxw#P83GW(do-aa9$Cseyd*a!d^}6HVyqYAe5u#PP >zW%Z*kP*_6LlYHvTg7zzOR0H&%9HKkXNYMzhoi|%+O@~02w{IClNzOR!w=8e?lQnb@ >z%pq|-dqh2QW;SdM6#?$Yk>1_eQZqwfj_k!6`W4$RXtT;($sb=Vf=Ltr<fHQ=Orru; >zUn;qEfp&3@JVRc|I^G&)9Ni4A9mSQOHEM$Fe1C)nz8+lD!g*#oEk#T?Ym^*pUDLa@ >zP0fmiPIHK0vlU}q+Y5`}FTpe9;sq1LWPGS!Et$V!6C--}V}{^za7DM=t4WauJA@K$ >zMP={GAs~J}TSO4+Obz2!!c-2PJ^BD}6(L7%qhFFWlm_w*{A_jB&gyf79BgCs?>w9n >z=2B#u(Pr7sL0tWekex*^{dF&8!>RY)KGWH*ffTXTQc}}ioq82%jI{MEgls^5+h<%O >z^>H1Z@tJtBVk*~XX#88aM!5hI=gDs?hBhOj+jXMvWV-~H?(^Z!I&l*r!fNriI&I;K >z<Iv6+Vk^Q0%(qeN5a+0NAxn^9#sT%s+L9uce-sc;vjLIT_kg$%QSX=-v{o_lKqih2 >zSFAju?}mC>UB`|wTQ4r~E*vl-*0C6Qu@PH2eTrR0Wf{T~%Xbknf3wf*S&<+a`6o9M >zz*S7^KKgFY$UnJ0HVgZg8jXfF%*c<rs4-Jtxk{$Dr$zap4viTq<*Snt>L({(KZLbt >zzRNL^s?W;zZP~w5L&>g+M15Ai**#&3n|Wb>4eGP<`;PGlMsC0muRbf^cs3p5##&fh >zIr(FkMaZ}vrt)1Swj2@$kLqXgyORsRw`3xZBX}-f+RL=$<nPGNDtben%J*+U`~KZM >xFqlMZdn&(j3r#(mcWQ87&CEBe=q+_3|9^_Lp+#u>Ntgft002ovPDHLkV1lbeOeO#T > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/w3c-import.log >deleted file mode 100644 >index 0c39d285d503b66d9786d0c45fb07d3b956ec560..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/w3c-import.log >+++ /dev/null >@@ -1,57 +0,0 @@ >-The tests in this directory were imported from the W3C repository. >-Do NOT modify these tests directly in WebKit. >-Instead, create a pull request on the WPT github: >- https://github.com/w3c/web-platform-tests >- >-Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport >- >-Do NOT modify or remove this file. >- >------------------------------------------------------------------------- >-Properties requiring vendor prefixes: >-None >-Property values requiring vendor prefixes: >-None >------------------------------------------------------------------------- >-List of files: >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-green.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-lime.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-maroon.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-navy.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-red.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/1x1-white.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-gg-rr.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-green.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/60x60-red.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/README >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/a-green.css >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/b-green.css >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/c-red.css >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/cat.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-green.css >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/import-red.css >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rgr-grg.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-grg-rrg-rgg.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-rgr-grg-rgr.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/pattern-tr.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50%.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-h-50px.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-100px.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/ruler-v-50px.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-purple.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-teal.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/square-white.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-blue.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-green.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-lime.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-orange.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-red.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-teal.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-white.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/swatch-yellow.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-bl.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-br.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-inner-half-size.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-outer.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tl.png >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/support/test-tr.png >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length-expected.txt >deleted file mode 100644 >index 03a0156fc9422e12a642842672e162ebd0621441..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >-Test Test Link >- >-PASS assert_length_of_getClientRects_from_Parent >-PASS assert_length_of_getClientRects_from_Button >-PASS assert_length_of_getClientRects_from_Link >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html >deleted file mode 100644 >index bc873174568c84dd9fb1f83a9515a5a562fc66cf..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html >+++ /dev/null >@@ -1,28 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View API Test: the length of getClientRects</title> >- <link rel="author" title="simplezeroec" href="mailto:zhaolp0419@gmail.com"> >- <link rel="help" href="https://www.w3.org/TR/cssom-view/#dom-element-getclientrects"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="getClientRects will return rects of the correct number"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >- >-</head> >-<body> >- <div id="rectcontainer"> >- <button id="testBtn" >Test</button> >- <a id="testLink">Test Link</a> >- </div> >- <div id="log"></div> >- <script> >- >- test(function(){assert_equals(document.getElementById("rectcontainer").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Parent"); >- test(function(){assert_equals(document.getElementById("testBtn").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Button"); >- test(function(){assert_equals(document.getElementById("testLink").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Link"); >- >- >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/w3c-import.log >deleted file mode 100644 >index e1a293172b45c4ed2ede9262a01b45584d021cde..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/w3c-import.log >+++ /dev/null >@@ -1,69 +0,0 @@ >-The tests in this directory were imported from the W3C repository. >-Do NOT modify these tests directly in WebKit. >-Instead, create a pull request on the WPT github: >- https://github.com/w3c/web-platform-tests >- >-Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport >- >-Do NOT modify or remove this file. >- >------------------------------------------------------------------------- >-Properties requiring vendor prefixes: >-None >-Property values requiring vendor prefixes: >-None >------------------------------------------------------------------------- >-List of files: >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/DOMRectList.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/OWNERS >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects-002.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-getClientRects.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-img-attributes-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/cssom-view-window-screen-interface.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-002.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-003.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPoint.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementFromPosition.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementScroll.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-iframes.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-invalid-cases.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-shadowroot.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-simple.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-svg.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint-table.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/elementsFromPoint.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/historical.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/htmlelement-offset-width-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/iframe.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/interfaces.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMedia.xht >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/matchMediaAddListener.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/mouseEvent.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/negativeMargins.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetParent_element_test.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/offsetTopLeftInScrollableParent.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-shadow.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeight.xht >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-no-browsing-context.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001-expected.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002-expected.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-002.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollingElement.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/scrollintoview.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable.html >-/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width.html >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-expected.txt >deleted file mode 100644 >index 03b601c936d27e0557851520d6405e31e3dc9851..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >-PASS zero check >-PASS positive check >-PASS upper bound check >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable-expected.txt >deleted file mode 100644 >index 4c14e63e6633a53327255e4506128812809978f4..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS immutability test >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable.html >deleted file mode 100644 >index 88dd0684816d74a40f7563e90674d517551f4d84..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height-immutable.html >+++ /dev/null >@@ -1,27 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 4.2 - screen.height immutability</title> >- <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="screen.height is immutable"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >-</head> >-<body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <script> >- var originalVal = window.screen.height; >- >- // try to set window.screen.height >- window.screen.height = 0; >- >- // verify window.screen.height didn't change >- test(function() { >- assert_equals(window.screen.height, originalVal, "window.screen.height should be immutable") >- }, "immutability test"); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height.html >deleted file mode 100644 >index 9bb7e528b89fd4b0b4297685fc9e26e0895adbe8..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-height.html >+++ /dev/null >@@ -1,37 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 4.2 - screen.height range tests</title> >- <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="window.screen.height has sensible values"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >-</head> >-<body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <script> >- var upperBound = 50000; >- >- test( >- function() { >- assert_not_equals(window.screen.height, 0, "window.screen.height is zero") >- }, "zero check" >- ); >- >- test( >- function() { >- assert_true(window.screen.height > 0, "window.screen.height shouldn't be negative") >- }, "positive check" >- ); >- >- test( >- function() { >- assert_true(window.screen.height < upperBound, "window.screen.height shouldn't be so large") >- }, "upper bound check" >- ); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-expected.txt >deleted file mode 100644 >index 03b601c936d27e0557851520d6405e31e3dc9851..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >- >-PASS zero check >-PASS positive check >-PASS upper bound check >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable-expected.txt >deleted file mode 100644 >index 4c14e63e6633a53327255e4506128812809978f4..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable-expected.txt >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-PASS immutability test >- >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable.html >deleted file mode 100644 >index 1415bfaca4408ca36e3065f2cc82d5ab0f5b10c1..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width-immutable.html >+++ /dev/null >@@ -1,27 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 4.2 - screen.width immutability</title> >- <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="screen.width is immutable"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >-</head> >-<body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <script> >- var originalVal = window.screen.width; >- >- // try to set window.screen.width >- window.screen.width = 0; >- >- // verify window.screen.width didn't change >- test(function() { >- assert_equals(window.screen.width, originalVal, "window.screen.width should be immutable") >- }, "immutability test"); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width.html b/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width.html >deleted file mode 100644 >index fdae2bc742502ee06e2d789a8ef7de283e853e40..0000000000000000000000000000000000000000 >--- a/LayoutTests/imported/w3c/web-platform-tests/cssom-view/window-screen-width.html >+++ /dev/null >@@ -1,37 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <title>CSSOM View - 4.2 - screen.width range tests</title> >- <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> >- <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface"> >- <meta name="flags" content="dom"> >- <meta name="assert" content="window.screen.width has sensible values"> >- <script src="/resources/testharness.js"></script> >- <script src="/resources/testharnessreport.js"></script> >-</head> >-<body> >- <div id="myDiv"></div> >- <div id="log"></div> >- <script> >- var upperBound = 50000; >- >- test( >- function() { >- assert_not_equals(window.screen.width, 0, "window.screen.width is zero") >- }, "zero check" >- ); >- >- test( >- function() { >- assert_true(window.screen.width > 0, "window.screen.width shouldn't be negative") >- }, "positive check" >- ); >- >- test( >- function() { >- assert_true(window.screen.width < upperBound, "window.screen.width shouldn't be so large") >- }, "upper bound check" >- ); >- </script> >-</body> >-</html> >diff --git a/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt b/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt >deleted file mode 100644 >index 4fcc3bcd79b7db48c422edcc6c0df1b0b8d80b33..0000000000000000000000000000000000000000 >--- a/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt >+++ /dev/null >@@ -1,8 +0,0 @@ >-This case tests the Screen pixelDepth and colorDepth >- >-The test passes if the value is 24 >- >- >-FAIL testColorDepth assert_equals: Expected value for colorDepth is 24 expected 24 but got 32 >-FAIL testPixelDepth assert_equals: Expected value for pixelDepth is 24 expected 24 but got 32 >- >diff --git a/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt b/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt >deleted file mode 100644 >index 605dd36ae31b7aa08882ccdbe2d7ab852de4d26a..0000000000000000000000000000000000000000 >--- a/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt >+++ /dev/null >@@ -1,33 +0,0 @@ >- >- >-PASS Execution of tests in quirks mode >-PASS Execution of tests in non-quirks mode >-PASS scrollingElement in quirks mode >-PASS scroll() on the root element in quirks mode >-PASS scrollBy() on the root element in quirks mode >-PASS scrollLeft/scrollTop on the root element in quirks mode >-PASS scrollWidth/scrollHeight on the root element in quirks mode >-PASS clientWidth/clientHeight on the root element in quirks mode >-FAIL scroll() on the HTML body element in quirks mode assert_equals: scrollLeft should be 90 expected 90 but got 0 >-FAIL scrollBy() on the HTML body element in quirks mode assert_equals: scrollLeft should be 100 expected 100 but got 0 >-FAIL scrollLeft/scrollTop on the HTML body element in quirks mode assert_equals: scrollLeft should be 120 expected 120 but got 0 >-PASS scrollWidth/scrollHeight on the HTML body element in quirks mode >-PASS clientWidth/clientHeight on the HTML body element in quirks mode >-PASS scrollLeft/scrollRight of the content in quirks mode >-PASS scrollWidth/scrollHeight of the content in quirks mode >-PASS clientWidth/clientHeight of the content in quirks mode >-FAIL scrollingElement in non-quirks mode assert_equals: scrollingElement should be documentElement expected Element node <html><head></head><body style="overflow: hidden; margin:... but got Element node <body style="overflow: hidden; margin: 0px; border-width:... >-FAIL scroll() on the root element in non-quirks mode assert_equals: scrollLeft should be 50 expected 50 but got 0 >-FAIL scrollBy() on the root element in non-quirks mode assert_equals: scrollLeft should be 60 expected 60 but got 0 >-FAIL scrollLeft/scrollTop on the root element in non-quirks mode assert_equals: scrollLeft should be 70 expected 70 but got 0 >-PASS scrollWidth/scrollHeight on the root element in non-quirks mode >-PASS clientWidth/clientHeight on the root element in non-quirks mode >-PASS scroll() on the HTML body element in non-quirks mode >-PASS scrollBy() on the HTML body element in non-quirks mode >-PASS scrollLeft/scrollTop on the HTML body element in non-quirks mode >-FAIL scrollWidth/scrollHeight on the HTML body element in non-quirks mode assert_equals: scrollWidth should be 700 expected 700 but got 720 >-PASS clientWidth/clientHeight on the HTML body element in non-quirks mode >-PASS scrollLeft/scrollRight of the content in non-quirks mode >-PASS scrollWidth/scrollHeight of the content in non-quirks mode >-PASS clientWidth/clientHeight of the content in non-quirks mode >- >diff --git a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt b/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt >deleted file mode 100644 >index 0eae7f3520a1ef9f2b9cf1ed70f289d8af73a78c..0000000000000000000000000000000000000000 >--- a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt >+++ /dev/null >@@ -1,23 +0,0 @@ >- >- >- >-Hello! >- >-Another teal >- >- >-PASS Negative co-ordinates >-PASS co-ordinates larger than the viewport >-PASS co-ordinates larger than the viewport from in iframe >-PASS Return first element that is the target for hit testing >-PASS First element to get mouse events with pointer-events css >-FAIL SVG element at x,y assert_equals: Should have returned the line SVG expected Element node <svg id="squiggle" xmlns="http://www.w3.org/2000/svg" hei... but got Element node <body> >- <div id="purple" class="size purple"> </div... >-FAIL transformed element at x,y assert_equals: Should have returned SVG with Hello WPT! that has a transform expected Element node <rect x="50" y="50" height="60" width="60" style="stroke:... but got Element node <div style="position: absolute; width: 200px; height: 200... >-FAIL no hit target at x,y assert_equals: Should have returned the root as it has pointer-events:none expected Element node <body> >- <div id="purple" class="size purple"> </div... but got Element node <div id="purple" class="size purple"> </div> >-PASS No viewport available >-FAIL Image Maps assert_equals: Should have returned the area element expected Element node <area id="rectG" shape="rect" coords="0,0,90,100" href="#... but got Element node <html><head><title>cssom-view - elementFromPoint</title> >-... >-FAIL Fieldsets assert_equals: The fieldset should not cover up the div it doesn't even overlap expected Element node <div id="fieldset-div" class="size" style="position: abso... but got null >- >diff --git a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt b/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt >deleted file mode 100644 >index b41cd61ab9441f72cf6cee1b4add31b2d7fb21fb..0000000000000000000000000000000000000000 >--- a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt >+++ /dev/null >@@ -1,6 +0,0 @@ >- >-FAIL Smooth scrollIntoView should scroll the element to the 'nearest' position assert_approx_equals: expected 900 +/- 1 but got 1000 >-FAIL Smooth scrollIntoView should scroll the element to the 'start' position assert_approx_equals: expected 1008 +/- 1 but got 708 >-FAIL Smooth scrollIntoView should scroll the element to the 'center' position assert_approx_equals: expected 858 +/- 1 but got 708 >-FAIL Smooth scrollIntoView should scroll the element to the 'end' position assert_approx_equals: expected 900 +/- 1 but got 1000 >- >diff --git a/LayoutTests/platform/ios/TestExpectations b/LayoutTests/platform/ios/TestExpectations >index e3ae972e681943ce9131ac282adbbe609f95a6cb..37ae0f78ebfaca32dcf78f0bb118f40da70b8471 100644 >--- a/LayoutTests/platform/ios/TestExpectations >+++ b/LayoutTests/platform/ios/TestExpectations >@@ -2756,8 +2756,6 @@ webkit.org/b/124933 svg/animations/getCurrentTime-pause-unpause.html [ Pass Fail > webkit.org/b/171760 imported/w3c/i18n/bidi/bidi-plaintext-011.html [ ImageOnlyFailure ] > webkit.org/b/171760 imported/w3c/i18n/bidi/block-plaintext-005.html [ ImageOnlyFailure ] > >-webkit.org/b/172019 imported/w3c/web-platform-tests/cssom-view/elementFromPoint.html [ Failure ] >- > webkit.org/b/172547 http/tests/xmlhttprequest/xmlhttprequest-50ms-download-dispatch.html [ Failure ] > > webkit.org/b/172610 media/ios/autoplay-only-in-main-document.html [ Skip ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dbates
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 189241
: 348765