Run same tests for layout-2020 and layout-2013 (#30092)

Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.

So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
This commit is contained in:
Oriol Brufau 2023-08-15 02:28:32 +02:00 committed by GitHub
parent 78c7011240
commit 963104e5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4797 changed files with 679983 additions and 5390 deletions

View file

@ -0,0 +1,24 @@
[CharacterData-surrogates.html]
[Text.substringData() splitting surrogate pairs]
expected: FAIL
[Text.replaceData() splitting and creating surrogate pairs]
expected: FAIL
[Text.deleteData() splitting and creating surrogate pairs]
expected: FAIL
[Text.insertData() splitting and creating surrogate pairs]
expected: FAIL
[Comment.substringData() splitting surrogate pairs]
expected: FAIL
[Comment.replaceData() splitting and creating surrogate pairs]
expected: FAIL
[Comment.deleteData() splitting and creating surrogate pairs]
expected: FAIL
[Comment.insertData() splitting and creating surrogate pairs]
expected: FAIL

View file

@ -0,0 +1,6 @@
[DOMImplementation-createDocument.html]
[createDocument test: "http://example.com/","a:0",null,"INVALID_CHARACTER_ERR"]
expected: FAIL
[createDocument test: "http://example.com/","a:̀",null,"INVALID_CHARACTER_ERR"]
expected: FAIL

View file

@ -0,0 +1,2 @@
[Document-constructor-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Document-constructor-xml.xml]
expected: ERROR

View file

@ -0,0 +1,3 @@
[contenttype_datauri_02.html]
[Data URI document.contentType === 'text/html' when data URI MIME type is set]
expected: FAIL

View file

@ -0,0 +1,33 @@
[Document-createElement-namespace.html]
[Created element's namespace in created SVG document by DOMParser ('image/svg+xml')]
expected: FAIL
[Created element's namespace in empty.svg]
expected: FAIL
[Created element's namespace in minimal_html.svg]
expected: FAIL
[Created element's namespace in xhtml.svg]
expected: FAIL
[Created element's namespace in svg.svg]
expected: FAIL
[Created element's namespace in mathml.svg]
expected: FAIL
[Created element's namespace in bare_xhtml.svg]
expected: FAIL
[Created element's namespace in bare_svg.svg]
expected: FAIL
[Created element's namespace in bare_mathml.svg]
expected: FAIL
[Created element's namespace in xhtml_ns_removed.svg]
expected: FAIL
[Created element's namespace in xhtml_ns_changed.svg]
expected: FAIL

View file

@ -0,0 +1,18 @@
[Document-createElementNS.html]
[createElementNS test in HTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"]
expected: FAIL
[createElementNS test in XML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"]
expected: FAIL
[createElementNS test in XHTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"]
expected: FAIL
[createElementNS test in HTML document: "http://example.com/","a:̀","INVALID_CHARACTER_ERR"]
expected: FAIL
[createElementNS test in XML document: "http://example.com/","a:̀","INVALID_CHARACTER_ERR"]
expected: FAIL
[createElementNS test in XHTML document: "http://example.com/","a:̀","INVALID_CHARACTER_ERR"]
expected: FAIL

View file

@ -0,0 +1,3 @@
[Document-getElementsByTagName.html]
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
expected: FAIL

View file

@ -0,0 +1,2 @@
[Element-childElement-null-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-childElementCount-dynamic-add-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-childElementCount-dynamic-remove-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-childElementCount-nochild-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-childElementCount-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[Element-closest.html]
[Element.closest with context node 'test4' and selector ':has(> :scope)']
expected: FAIL

View file

@ -0,0 +1,3 @@
[Element-firstElementChild-entity-xhtml.xhtml]
[Entity References]
expected: FAIL

View file

@ -0,0 +1,2 @@
[Element-firstElementChild-entity.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-firstElementChild-namespace-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-firstElementChild-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[Element-getElementsByTagName-change-document-HTMLNess.html]
[Element-getElementsByTagName-change-document-HTMLNess]
expected: FAIL

View file

@ -0,0 +1,3 @@
[Element-getElementsByTagName.html]
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
expected: FAIL

View file

@ -0,0 +1,2 @@
[Element-lastElementChild-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-nextElementSibling-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-previousElementSibling-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Element-siblingElement-null-svg.svg]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Node-contains-xml.xml]
expected: ERROR

View file

@ -0,0 +1,18 @@
[Node-lookupNamespaceURI.html]
[Element should have XML namespace]
expected: FAIL
[Element should have XMLNS namespace]
expected: FAIL
[Element should have namespace with xmlns prefix]
expected: FAIL
[Child element should have XMLNS namespace]
expected: FAIL
[Connected Attr has namespace URI matching "xml"]
expected: FAIL
[Connected Attr no namespace URI matching "xmlns"]
expected: FAIL

View file

@ -0,0 +1,21 @@
[Node-lookupPrefix.xhtml]
[Node.lookupPrefix]
expected: FAIL
[Node.lookupPrefix 5]
expected: FAIL
[Node.lookupPrefix 6]
expected: FAIL
[Node.lookupPrefix 7]
expected: FAIL
[Node.lookupPrefix 8]
expected: FAIL
[Node.lookupPrefix 9]
expected: FAIL
[Node.lookupPrefix 10]
expected: FAIL

View file

@ -0,0 +1,3 @@
[Node-normalize.html]
[Non-text nodes with empty textContent values.]
expected: FAIL

View file

@ -1,76 +0,0 @@
[ParentNode-replaceChildren.html]
[DocumentFragment.replaceChildren() with null as an argument, on a parent having a child.]
expected: FAIL
[DocumentFragment.replaceChildren() with only text as an argument, on a parent having no child.]
expected: FAIL
[Element.replaceChildren() with null as an argument, on a parent having no child.]
expected: FAIL
[Element.replaceChildren() without any argument, on a parent having no child.]
expected: FAIL
[If node is a host-including inclusive ancestor of parent, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is an Element and parent is a document with another element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[DocumentFragment.replaceChildren() with null as an argument, on a parent having no child.]
expected: FAIL
[DocumentFragment.replaceChildren() with one element and text as argument, on a parent having a child.]
expected: FAIL
[Element.replaceChildren() with null as an argument, on a parent having a child.]
expected: FAIL
[DocumentFragment.replaceChildren() with only one element as an argument, on a parent having no child.]
expected: FAIL
[Element.replaceChildren() should move nodes in the right order]
expected: FAIL
[If node is a Text node and parent is a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a DocumentFragment with an element and parent is a document with another element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[DocumentFragment.replaceChildren() with undefined as an argument, on a parent having no child.]
expected: FAIL
[If node is a doctype and parent is not a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a doctype and parent is a document with another doctype, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a DocumentFragment with multiple elements and parent is a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[Element.replaceChildren() with undefined as an argument, on a parent having no child.]
expected: FAIL
[Element.replaceChildren() with only one element as an argument, on a parent having no child.]
expected: FAIL
[Element.replaceChildren() with one element and text as argument, on a parent having a child.]
expected: FAIL
[DocumentFragment.replaceChildren() should move nodes in the right order]
expected: FAIL
[If node is a doctype and parent is a document with an element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[Element.replaceChildren() with only text as an argument, on a parent having no child.]
expected: FAIL
[DocumentFragment.replaceChildren() without any argument, on a parent having no child.]
expected: FAIL
[If node is not a DocumentFragment, DocumentType, Element, Text, ProcessingInstruction, or Comment node, then throw a HierarchyRequestError DOMException.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[ProcessingInstruction-escapes-1.xhtml]
[ProcessingInstruction numeric escapes]
expected: FAIL

View file

@ -0,0 +1,3 @@
[ProcessingInstruction-literal-1.xhtml]
[<?xml?> is not a ProcessingInstruction]
expected: FAIL

View file

@ -0,0 +1,15 @@
[adoption.window.html]
[appendChild() and DocumentFragment with host]
expected: FAIL
[adoptNode() and DocumentFragment with host]
expected: FAIL
[appendChild() and DocumentFragment]
expected: FAIL
[appendChild() and ShadowRoot]
expected: FAIL
[adoptNode() and ShadowRoot]
expected: FAIL

View file

@ -0,0 +1,2 @@
[getElementsByClassName-10.xml]
expected: ERROR

View file

@ -0,0 +1,2 @@
[getElementsByClassName-11.xml]
expected: ERROR

View file

@ -1,10 +0,0 @@
[getElementsByClassName-empty-set.html]
[Passing a space to getElementsByClassName should return an empty HTMLCollection]
expected: FAIL
[Passing three spaces to getElementsByClassName should return an empty HTMLCollection]
expected: FAIL
[Passing an empty string to getElementsByClassName should return an empty HTMLCollection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[query-target-in-load-event.html]
[document.querySelector(":target") must work when called in the window.load event]
expected: FAIL

View file

@ -0,0 +1,2 @@
[remove-from-shadow-host-and-adopt-into-iframe.html]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[rootNode.html]
[getRootNode() must return context object's shadow-including root if options's composed is true, and context object's root otherwise]
expected: FAIL