mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
implement basic infra for ResizeObserver (#31108)
This commit is contained in:
parent
3c1c395dfc
commit
3d78d60619
29 changed files with 706 additions and 4 deletions
|
@ -206,6 +206,8 @@ skip: true
|
|||
skip: true
|
||||
[srcdoc.meta]
|
||||
skip: true
|
||||
[resize-observer]
|
||||
skip: false
|
||||
[resource-timing]
|
||||
skip: false
|
||||
[selection]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[child-document-raf-order.html]
|
||||
[Ordering of steps in "Update the Rendering" - child document requestAnimationFrame order]
|
||||
expected: FAIL
|
||||
|
||||
|
|
1
tests/wpt/meta/resize-observer/__dir__.ini
Normal file
1
tests/wpt/meta/resize-observer/__dir__.ini
Normal file
|
@ -0,0 +1 @@
|
|||
prefs: ["dom.resize_observer.enabled:true"]
|
|
@ -0,0 +1,3 @@
|
|||
[calculate-depth-for-node.html]
|
||||
["Calculate depth for node" algorithm with Shadow DOM]
|
||||
expected: FAIL
|
2
tests/wpt/meta/resize-observer/devicepixel.html.ini
Normal file
2
tests/wpt/meta/resize-observer/devicepixel.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[devicepixel.html]
|
||||
expected: FAIL
|
4
tests/wpt/meta/resize-observer/eventloop.html.ini
Normal file
4
tests/wpt/meta/resize-observer/eventloop.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[eventloop.html]
|
||||
expected: TIMEOUT
|
||||
[guard]
|
||||
expected: NOTRUN
|
9
tests/wpt/meta/resize-observer/fragments.html.ini
Normal file
9
tests/wpt/meta/resize-observer/fragments.html.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
[fragments.html]
|
||||
[Adding 2nd fragment]
|
||||
expected: FAIL
|
||||
|
||||
[Resizing 2nd fragment]
|
||||
expected: FAIL
|
||||
|
||||
[Resizing all fragments]
|
||||
expected: FAIL
|
7
tests/wpt/meta/resize-observer/notify.html.ini
Normal file
7
tests/wpt/meta/resize-observer/notify.html.ini
Normal file
|
@ -0,0 +1,7 @@
|
|||
[notify.html]
|
||||
expected: ERROR
|
||||
[guard]
|
||||
expected: NOTRUN
|
||||
|
||||
[test2: remove/appendChild trigger notification]
|
||||
expected: FAIL
|
4
tests/wpt/meta/resize-observer/observe.html.ini
Normal file
4
tests/wpt/meta/resize-observer/observe.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[observe.html]
|
||||
expected: TIMEOUT
|
||||
[guard]
|
||||
expected: NOTRUN
|
3
tests/wpt/meta/resize-observer/ordering.html.ini
Normal file
3
tests/wpt/meta/resize-observer/ordering.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[ordering.html]
|
||||
[ResizeObserver and IntersectionObserver ordering]
|
||||
expected: FAIL
|
3
tests/wpt/meta/resize-observer/scrollbars-2.html.ini
Normal file
3
tests/wpt/meta/resize-observer/scrollbars-2.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[scrollbars-2.html]
|
||||
[ResizeObserver content-box size and scrollbars]
|
||||
expected: FAIL
|
3
tests/wpt/meta/resize-observer/scrollbars.html.ini
Normal file
3
tests/wpt/meta/resize-observer/scrollbars.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[scrollbars.html]
|
||||
[ResizeObserver content-box size and scrollbars]
|
||||
expected: FAIL
|
10
tests/wpt/meta/resize-observer/svg-with-css-box-001.html.ini
Normal file
10
tests/wpt/meta/resize-observer/svg-with-css-box-001.html.ini
Normal file
|
@ -0,0 +1,10 @@
|
|||
[svg-with-css-box-001.html]
|
||||
expected: TIMEOUT
|
||||
[test0: observe `foreignObject` SVG in HTML document]
|
||||
expected: FAIL
|
||||
|
||||
[test1: observe inline SVG in HTML]
|
||||
expected: FAIL
|
||||
|
||||
[guard]
|
||||
expected: NOTRUN
|
|
@ -0,0 +1,2 @@
|
|||
[svg-with-css-box-002.svg]
|
||||
expected: TIMEOUT
|
34
tests/wpt/meta/resize-observer/svg.html.ini
Normal file
34
tests/wpt/meta/resize-observer/svg.html.ini
Normal file
|
@ -0,0 +1,34 @@
|
|||
[svg.html]
|
||||
expected: TIMEOUT
|
||||
[guard]
|
||||
expected: NOTRUN
|
||||
|
||||
[test0: observe svg:circle]
|
||||
expected: FAIL
|
||||
|
||||
[test1: observe svg:ellipse]
|
||||
expected: FAIL
|
||||
|
||||
[test2: observe svg:foreignObject]
|
||||
expected: FAIL
|
||||
|
||||
[test3: observe svg:image]
|
||||
expected: FAIL
|
||||
|
||||
[test4: observe svg:line]
|
||||
expected: FAIL
|
||||
|
||||
[test5: observe svg:path]
|
||||
expected: FAIL
|
||||
|
||||
[test6: observe svg:polygon]
|
||||
expected: FAIL
|
||||
|
||||
[test7: observe svg:polyline]
|
||||
expected: FAIL
|
||||
|
||||
[test8: observe svg:rect]
|
||||
expected: FAIL
|
||||
|
||||
[test9: observe svg:text]
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue