Skip to content

Commit

Permalink
Unskip CSSOM and Mozilla WPT tests for layout_2020
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson authored and SimonSapin committed Feb 11, 2020
1 parent f3dbe7d commit b10a24e
Show file tree
Hide file tree
Showing 177 changed files with 2,279 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/wpt/include-layout-2020.ini
Expand Up @@ -3,6 +3,8 @@ skip: true
skip: true
[css]
skip: false
[mozilla]
skip: false
[css]
skip: true
[CSS2]
Expand All @@ -13,3 +15,5 @@ skip: true
skip: false
[css-backgrounds]
skip: false
[cssom-view]
skip: false
@@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

@@ -0,0 +1,7 @@
[DOMRectList.html]
[Range getClientRects()]
expected: FAIL

[Element getClientRects()]
expected: FAIL

@@ -0,0 +1,4 @@
[GetBoundingRect.html]
[getBoundingClientRect]
expected: FAIL

@@ -0,0 +1,13 @@
[HTMLBody-ScrollArea_quirksmode.html]
[document.scrollingElement should be body element in quirks.]
expected: FAIL

[scrollingElement in quirks should be null when body is potentially scrollable.]
expected: FAIL

[scrollingElement in quirks should be body if any of document and body has a visible overflow.]
expected: FAIL

[When body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks.]
expected: FAIL

@@ -0,0 +1,19 @@
[MediaQueryList-addListener-handleEvent.html]
[throws if handleEvent is falsy and not callable]
expected: FAIL

[looks up handleEvent method on every event dispatch]
expected: FAIL

[calls handleEvent method of event listener]
expected: FAIL

[rethrows errors when getting handleEvent]
expected: FAIL

[doesn't look up handleEvent method on callable event listeners]
expected: FAIL
[throws if handleEvent is thruthy and not callable]
expected: FAIL
@@ -0,0 +1,19 @@
[MediaQueryList-addListener-removeListener.html]
[removing listener from one MQL doesn't remove it from all MQLs]
expected: FAIL
[listeners are called when <iframe> is resized]
expected: FAIL
[listeners are called in order they were added]
expected: FAIL
[listeners are called in order their MQLs were created]
expected: FAIL
[listener that was added twice is called only once]
expected: FAIL
[listeners are called correct number of times]
expected: FAIL
@@ -0,0 +1,16 @@
[MediaQueryList-extends-EventTarget-interop.html]
[removeEventListener (capture) doesn't remove listener added with addListener]
expected: FAIL
[listener added with addListener and addEventListener (capture) is called twice]
expected: FAIL
[listener added with addListener and addEventListener is called once]
expected: FAIL
[removeListener doesn't remove listener added with addEventListener (capture)]
expected: FAIL

[capturing event listener fires before non-capturing listener at target]
expected: FAIL

@@ -0,0 +1,13 @@
[MediaQueryList-extends-EventTarget.html]
[onchange removes listener]
expected: FAIL

[onchange adds listener]
expected: FAIL

[listeners for "change" type are called]
expected: FAIL

[addEventListener "once" option is respected]
expected: FAIL

@@ -0,0 +1,10 @@
[MediaQueryListEvent.html]
[argument of onchange]
expected: FAIL

[constructor of "change" event]
expected: FAIL

[argument of addListener]
expected: FAIL

@@ -0,0 +1,4 @@
[cssom-getBoundingClientRect-002.html]
[getBoundingClientRect on a newly-created Element not yet inserted into the DOM should return an all-zeroes DOMRect]
expected: FAIL

@@ -0,0 +1,2 @@
[cssom-getBoundingClientRect-vertical-rl.html]
expected: FAIL
@@ -0,0 +1,4 @@
[cssom-getBoxQuads-001.html]
[CSSOM View - getBoxQuads() returns proper border and margin boxes for block and flex]
expected: FAIL

@@ -0,0 +1,4 @@
[cssom-getClientRects-002.html]
[CSSOM View - GetClientRects().length is the same regardless source new lines]
expected: FAIL

@@ -0,0 +1,13 @@
[cssom-view-img-attributes-001.html]
[test x with display true]
expected: FAIL

[test y with display true]
expected: FAIL

[test y with display false]
expected: FAIL

[test x with display false]
expected: FAIL

@@ -0,0 +1,7 @@
[dom-element-scroll.html]
[Element test for having overflow]
expected: FAIL

[Element test for having scrolling box]
expected: FAIL

@@ -0,0 +1,4 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

@@ -0,0 +1,4 @@
[elementFromPoint-002.html]
[Checking whether dynamic changes to visibility interact correctly with\n table anonymous boxes]
expected: FAIL

@@ -0,0 +1,4 @@
[elementFromPoint-003.html]
[Checking whether dynamic changes to visibility interact correctly with\n table anonymous boxes]
expected: FAIL

@@ -0,0 +1,4 @@
[elementFromPoint-dynamic-anon-box.html]
[Link should be clickable after hiding a scrollbox with an anonymous table inside]
expected: FAIL

@@ -0,0 +1,31 @@
[elementFromPoint-list-001.html]
[<li>Image Inside 2</li>]
expected: FAIL

[<li>Image Outside 2</li>]
expected: FAIL

[<li>Image Inside 1</li>]
expected: FAIL

[<li>Inside 1</li>]
expected: FAIL

[<li>Outside 2</li>]
expected: FAIL

[<li>Image Outside 1</li>]
expected: FAIL

[<li>Outside 3</li>]
expected: FAIL

[<li>Outside 1</li>]
expected: FAIL

[<li>Inside 2</li>]
expected: FAIL

[<li>Inside 3</li>]
expected: FAIL

@@ -0,0 +1,4 @@
[elementFromPoint-mixed-font-sizes.html]
[document.elementFromPoint finds container SPAN in the empty region above a child SPAN with a smaller font size]
expected: FAIL

@@ -0,0 +1,13 @@
[elementFromPoint-subpixel.html]
[Hit test top left corner of box]
expected: FAIL

[Hit test top right corner of box]
expected: FAIL

[Hit test lower left corner of box]
expected: FAIL

[Hit test bottom left corner of box]
expected: FAIL

@@ -0,0 +1,16 @@
[elementFromPoint.html]
[Fieldsets]
expected: FAIL

[SVG element at x,y]
expected: FAIL

[no hit target at x,y]
expected: FAIL

[transformed element at x,y]
expected: FAIL

[Image Maps]
expected: FAIL

@@ -0,0 +1,22 @@
[elementFromPosition.html]
[test some point of the element: right line]
expected: FAIL

[test some point of the element: bottom left corner]
expected: FAIL

[test some point of the element: bottom line]
expected: FAIL

[test some point of the element: top right corner]
expected: FAIL

[test some point of the element: top left corner]
expected: FAIL

[test some point of the element: bottom right corner]
expected: FAIL

[test the top of layer]
expected: FAIL

@@ -0,0 +1,13 @@
[elementScroll-002.html]
[simple scroll with style: 'padding' and 'overflow: hidden']
expected: FAIL

[simple scroll with style: 'margin' and 'overflow: hidden']
expected: FAIL

[simple scroll with style: 'margin' and 'overflow: scroll']
expected: FAIL

[simple scroll with style: 'padding' and 'overflow: scroll']
expected: FAIL

@@ -0,0 +1,25 @@
[elementScroll.html]
[Element scrollTop/Left getter/setter test]
expected: FAIL

[Element scrollBy test (two arguments)]
expected: FAIL

[Element scrollTo test (two arguments)]
expected: FAIL

[Element scroll test (two arguments)]
expected: FAIL

[Element scroll maximum test]
expected: FAIL

[Element scrollTo test (one argument)]
expected: FAIL

[Element scrollBy test (one argument)]
expected: FAIL

[Element scroll test (one argument)]
expected: FAIL

@@ -0,0 +1,7 @@
[elementsFromPoint-iframes.html]
[elementsFromPoint on inner documents]
expected: FAIL

[elementsFromPoint on the root document for points in iframe elements]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-htb-ltr.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-htb-rtl.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-vlr-ltr.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-vlr-rtl.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-vrl-ltr.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-inline-vrl-rtl.html]
[elementsFromPoint should return all elements under a point]
expected: FAIL

@@ -0,0 +1,4 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for valid queries]
expected: FAIL

@@ -0,0 +1,2 @@
[elementsFromPoint-shadowroot.html]
expected: ERROR
@@ -0,0 +1,19 @@
[elementsFromPoint-simple.html]
[elementsFromPoint for each corner of a simple div]
expected: FAIL

[elementsFromPoint for each corner of a div that is between another div and its pseudo-element]
expected: FAIL

[elementsFromPoint for each corner of a div with pointer-events:none]
expected: FAIL

[elementsFromPoint for each corner of a div that has a margin]
expected: FAIL

[elementsFromPoint for each corner of a div that has a pseudo-element]
expected: FAIL

[elementsFromPoint for each corner of a div with a 3d transform]
expected: FAIL

@@ -0,0 +1,13 @@
[elementsFromPoint-svg-text.html]
[elementsFromPoint for a point inside a <textPath> nested in a <text> without content]
expected: FAIL

[elementsFromPoint for a point inside a <tspan> nested in a <text> without content]
expected: FAIL

[elementsFromPoint for a point inside a <text>]
expected: FAIL

[elementsFromPoint for a point inside an overlapping <tspan> nested in a <text>]
expected: FAIL

0 comments on commit b10a24e

Please sign in to comment.