-
-
Notifications
You must be signed in to change notification settings - Fork 972
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests/LibWeb: Import some CSSOM WPT tests
- Loading branch information
1 parent
b6a5b7e
commit 8f7dc47
Showing
52 changed files
with
2,005 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/DOMRectList.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 2 tests | ||
|
||
2 Pass | ||
Details | ||
Result Test Name MessagePass Element getClientRects() | ||
Pass Range getClientRects() |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/GetBoundingRect.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass getBoundingClientRect |
17 changes: 17 additions & 0 deletions
17
...LibWeb/Text/expected/wpt-import/css/cssom-view/MediaQueryList-addListener-handleEvent.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 6 tests | ||
|
||
3 Pass | ||
3 Fail | ||
Details | ||
Result Test Name MessageFail calls handleEvent method of event listener | ||
Pass looks up handleEvent method on every event dispatch | ||
Pass doesn't look up handleEvent method on callable event listeners | ||
Pass rethrows errors when getting handleEvent | ||
Fail throws if handleEvent is falsy and not callable | ||
Fail throws if handleEvent is thruthy and not callable |
19 changes: 19 additions & 0 deletions
19
...Web/Text/expected/wpt-import/css/cssom-view/MediaQueryList-addListener-removeListener.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 8 tests | ||
|
||
7 Pass | ||
1 Fail | ||
Details | ||
Result Test Name MessagePass EventListener parameter is optional | ||
Fail listeners are called when <iframe> is resized | ||
Pass listeners are called correct number of times | ||
Pass listeners are called in order they were added | ||
Pass listener that was added twice is called only once | ||
Pass listeners are called in order their MQLs were created | ||
Pass removing listener from one MQL doesn't remove it from all MQLs | ||
Pass MediaQueryList::removeListener removes added listener |
11 changes: 11 additions & 0 deletions
11
...Web/Text/expected/wpt-import/css/cssom-view/MediaQueryList-change-event-matches-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Fail | ||
Details | ||
Result Test Name MessageFail MediaQueryList.changed is correct for all lists in the document even during a change event handler |
18 changes: 18 additions & 0 deletions
18
...eb/Text/expected/wpt-import/css/cssom-view/MediaQueryList-extends-EventTarget-interop.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 8 tests | ||
|
||
8 Pass | ||
Details | ||
Result Test Name MessagePass dispatchEvent triggers listener added with addListener | ||
Pass listener added with addListener and addEventListener is called once | ||
Pass listener added with addListener and addEventListener (capture) is called twice | ||
Pass removeEventListener removes listener added with addListener | ||
Pass removeEventListener (capture) doesn't remove listener added with addListener | ||
Pass removeListener removes listener added with addEventListener | ||
Pass removeListener doesn't remove listener added with addEventListener (capture) | ||
Pass capturing event listener fires before non-capturing listener at target |
18 changes: 18 additions & 0 deletions
18
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/MediaQueryList-extends-EventTarget.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 7 tests | ||
|
||
6 Pass | ||
1 Fail | ||
Details | ||
Result Test Name MessageFail onchange adds listener | ||
Pass onchange removes listener | ||
Pass listeners for "change" type are called | ||
Pass listeners with different type are not called | ||
Pass addEventListener "once" option is respected | ||
Pass removeEventListener removes listener | ||
Pass dispatchEvent works as expected |
17 changes: 17 additions & 0 deletions
17
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/MediaQueryListEvent.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 6 tests | ||
|
||
3 Pass | ||
3 Fail | ||
Details | ||
Result Test Name MessagePass type can be different from "change" | ||
Pass init dictionary default values | ||
Pass init dictionary overrides | ||
Fail argument of addListener | ||
Fail argument of onchange | ||
Fail constructor of "change" event |
12 changes: 12 additions & 0 deletions
12
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/cssom-getBoundingClientRect-001.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 2 tests | ||
|
||
2 Pass | ||
Details | ||
Result Test Name MessagePass getBoundingClientRect() should return a DOMRect where height=bottom-top | ||
Pass getBoundingClientRect() should return a DOMRect where width=right-left |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/cssom-getBoundingClientRect-002.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass getBoundingClientRect on a newly-created Element not yet inserted into the DOM should return an all-zeroes DOMRect |
12 changes: 12 additions & 0 deletions
12
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/cssom-getBoundingClientRect-003.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 2 tests | ||
|
||
2 Fail | ||
Details | ||
Result Test Name MessageFail {Element,Range}.prototype.getBoundingClientRect on SVG <tspan>, Element | ||
Fail {Element,Range}.prototype.getBoundingClientRect on SVG <tspan>, Range |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/cssom-getClientRects-002.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass CSSOM View - GetClientRects().length is the same regardless source new lines |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/cssom-getClientRects.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass getClientRects on a newly-created Element not yet inserted into the DOM should return an empty DOMRectList |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementFromPoint-001.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Fail | ||
Details | ||
Result Test Name MessageFail CSSOM View - 5 - extensions to the Document interface |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementFromPoint-002.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass Checking whether dynamic changes to visibility interact correctly with table anonymous boxes |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementFromPoint-003.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass Checking whether dynamic changes to visibility interact correctly with table anonymous boxes |
14 changes: 14 additions & 0 deletions
14
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementScroll-002.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 4 tests | ||
|
||
4 Pass | ||
Details | ||
Result Test Name MessagePass simple scroll with style: 'margin' and 'overflow: scroll' | ||
Pass simple scroll with style: 'margin' and 'overflow: hidden' | ||
Pass simple scroll with style: 'padding' and 'overflow: scroll' | ||
Pass simple scroll with style: 'padding' and 'overflow: hidden' |
18 changes: 18 additions & 0 deletions
18
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementScroll.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 8 tests | ||
|
||
8 Pass | ||
Details | ||
Result Test Name MessagePass 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 |
17 changes: 17 additions & 0 deletions
17
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/elementsFromPoint-simple.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 6 tests | ||
|
||
2 Pass | ||
4 Fail | ||
Details | ||
Result Test Name MessageFail elementsFromPoint for each corner of a simple div | ||
Fail elementsFromPoint for each corner of a div that has a pseudo-element | ||
Fail elementsFromPoint for each corner of a div that is between another div and its pseudo-element | ||
Fail 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 |
39 changes: 39 additions & 0 deletions
39
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/offsetTopLeft-border-box.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 28 tests | ||
|
||
25 Pass | ||
3 Fail | ||
Details | ||
Result Test Name MessagePass container: 0 | ||
Fail container: 1 | ||
Pass container: 2 | ||
Pass container: 3 | ||
Pass container: 4 | ||
Fail container: 5 | ||
Pass container: 6 | ||
Pass container: 7 | ||
Pass container: 8 | ||
Pass container: 9 | ||
Pass container: 10 | ||
Pass container: 11 | ||
Pass container: 12 | ||
Pass container: 13 | ||
Pass container: 14 | ||
Pass container: 15 | ||
Pass container: 16 | ||
Pass container: 17 | ||
Pass container: 18 | ||
Pass container: 19 | ||
Pass container: 20 | ||
Pass container: 21 | ||
Pass container: 22 | ||
Pass container: 23 | ||
Pass container: 24 | ||
Fail container: 25 | ||
Pass container: 26 | ||
Pass container: 27 |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/resize-event-on-initial-layout-001.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass resize events are not fired on the initial layout |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/resize-event-on-initial-layout-002.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass resize events are not fired on the initial layout |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scroll-no-layout-box.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass scrolling an element with no CSS layout box should have no effect |
11 changes: 11 additions & 0 deletions
11
Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scroll-overflow-clip-quirks-001.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Summary | ||
|
||
Harness status: OK | ||
|
||
Rerun | ||
|
||
Found 1 tests | ||
|
||
1 Pass | ||
Details | ||
Result Test Name MessagePass CSSOM scrollingElement reflects the propagated scroll to viewport correctly |
Oops, something went wrong.