mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Tests/LibWeb: Import some CSSOM WPT tests
This commit is contained in:
parent
13b7c26e9f
commit
d0646236ca
Notes:
github-actions[bot]
2024-11-13 10:08:08 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: d0646236ca
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2305
52 changed files with 2005 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
Summary
|
||||
|
||||
Harness status: OK
|
||||
|
||||
Rerun
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Details
|
||||
Result Test Name MessagePass Element getClientRects()
|
||||
Pass Range getClientRects()
|
|
@ -0,0 +1,11 @@
|
|||
Summary
|
||||
|
||||
Harness status: OK
|
||||
|
||||
Rerun
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Pass
|
||||
Details
|
||||
Result Test Name MessagePass getBoundingClientRect
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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'
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue