1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 10:40:39 +09:00
ladybird/Tests/LibWeb/Text/input/DOM
Luke Wilde 6df4e5f5e7 LibWeb: Actually traverse the shadow root of the inclusive descendant
Previously, the inclusive descendant, which is the node that
for_each_shadow_including_inclusive_descendant was called on, would not
have it's shadow root traversed if it had one.

This is because the shadow root traversal was in the `for` loop, which
begins with the node's first child. The fix here is to move the shadow
root traversal outside of the loop, and check if the current node is an
element instead.
2024-11-13 14:40:02 +01:00
..
AbortSignal-any-crash.html LibWeb: Abort dependent signals before firing abort event 2024-09-09 12:48:30 +02:00
CDATASection-assignedSlot.html LibWeb: Don't crash when querying the CDataSection.assignedSlot property 2024-03-23 20:56:26 +01:00
CDATASection-cloneNode.html LibWeb: Don't crash when cloning a CDATASection node 2024-07-25 15:57:21 +01:00
CharacterData-replaceData-break-surrogate-pair.html LibWeb: Allow splitting surrogate pairs in CharacterData.replaceData() 2024-07-20 06:41:25 +02:00
CharacterData-substringData-break-surrogate-pair.html LibWeb: Allow splitting surrogate pairs in CharacterData.substringData() 2024-10-20 11:18:57 +01:00
ChildNode-after-next-sibling.html LibWeb: Fix infinite loop in ChildNode's before() and after() 2024-03-11 18:29:10 +01:00
ChildNode-before-previous-sibling.html LibWeb: Fix infinite loop in ChildNode's before() and after() 2024-03-11 18:29:10 +01:00
cloneNode-with-goofy-attribute.html LibWeb: Allow cloneNode() to clone elements with weird attributes 2024-04-21 19:51:24 +02:00
createElement-with-emoji-in-tag-name.html LibWeb: Don't crash on Document.createElement() with emoji in tag name 2023-12-04 00:04:04 +01:00
createEvent-hashchangeevent.html LibWeb: Make document.createEvent("hashchangeevent") produce right type 2024-04-16 19:50:45 +02:00
Delete-from-text-node-with-associated-range.html LibWeb: Use correct offset value when replacing character data 2024-02-10 11:18:51 +01:00
derived-interface-prototype.html LibWeb: Implement WebIDL constructor flow for derived classes 2024-07-05 21:04:27 +02:00
Document-body-element-frameset-before-body.html LibWeb: Frameset should be the body element if it comes before body 2024-10-12 11:52:53 -06:00
Document-createCDATASection.html LibWeb: Implement document.createCDATASection() 2024-02-19 10:42:56 +01:00
Document-createElementNS-custom.html LibWeb: Use right interface for custom SVG and MathML elements 2024-10-31 09:58:59 +00:00
Document-createElementNS-uppercase.html LibWeb: Make document.createElementNS() case-sensitive 2024-07-25 13:12:34 +02:00
Document-defaultView.html LibWeb: Return a WindowProxy from document.defaultView 2024-09-21 10:05:34 +02:00
Document-dir.html LibWeb: Implement Document.dir 2024-05-14 13:35:36 -04:00
Document-getElementsByName-returns-html-elements.html LibWeb: Only return HTML elements from getElementsByName() 2024-10-14 17:59:00 +02:00
Document-methods-that-must-do-nothing.html LibWeb: Add methods to Document that must do nothing 2024-04-14 10:45:43 +02:00
Document-named-properties.html Tests: Use .invalid TLD for invalid requests 2024-10-02 16:04:17 -04:00
Document-set-designMode.html LibWeb: Implement document.designMode 2024-02-12 07:35:14 +01:00
Document-set-partial-attributes.html LibWeb/DOM: Implement the Document object's partial attributes 2024-04-19 10:58:45 +02:00
Document-svg-title-element-first-child.html LibWeb: Insert title as first child on setting title of svg document 2024-10-14 07:13:58 +02:00
DOMImplementation-create-xml-document.html LibWeb: Create XMLDocuments in DOMImplementation.createDocument 2024-01-04 11:23:20 +01:00
DOMImplementation-createHTMLDocument.html LibWeb: Make DOMImplementation.createHTMLDocument() create HTMLDocument 2024-03-11 18:29:10 +01:00
domparser-parsefromstring-doctype-publicid.html LibXML: Set the doctype when parsing via Parser::parse_with_listener 2024-10-30 14:53:36 +01:00
domparser-parsefromstring-doctype-systemid.html LibXML: Set the doctype when parsing via Parser::parse_with_listener 2024-10-30 14:53:36 +01:00
domparser-parsefromstring-xml-empty-pubid.html LibXML: Allow empty pubid when parsing document type 2024-10-23 21:08:56 +02:00
domparser-parsefromstring-xml-empty-systemid.html LibXML: Allow empty systemid when parsing document type 2024-10-23 21:08:56 +02:00
domparser-parsefromstring-xml-parsererror.html LibWeb: Test for parseFromString parsererror 2024-10-14 16:20:57 +01:00
DOMParser-xml-document.html LibWeb: Create XML Documents in DOMParser.parseFromString 2024-01-04 11:23:20 +01:00
DOMParser-xmlns.html LibXML: Set XMLNS namespace for xmlns attribute 2024-07-14 11:49:31 +02:00
DOMStringMap-setter-with-invalid-name.html LibWeb: Propagate exceptions from setAttribute() in DOMStringMap setter 2024-07-20 06:41:25 +02:00
Element-classList.html LibWeb: Perform DOMTokenList token validation in the correct order 2024-07-25 06:43:31 +02:00
Element-closest.html LibWeb: Change Element::closest() to check if any of selector matches 2024-03-22 18:43:46 +01:00
Element-from-point-2.html LibWeb: Do paint-order traversal in Document::element_from_point() 2024-02-14 06:56:22 +01:00
Element-from-point.html LibWeb: Implement document.elementFromPoint() 2024-02-06 08:43:03 +01:00
Element-getAttributeNodeNS.html LibWeb: Implement Element.getAttributeNodeNS 2024-01-14 16:10:18 -07:00
Element-getAttributeNS.html LibWeb: Implement Element.getAttributeNS 2024-01-13 08:33:10 +01:00
Element-removeAttributeNode.html LibWeb: Implement Element.removeAttributeNode() 2024-04-14 22:08:22 +02:00
Element-removeAttributeNS.html LibWeb: Implement Element.removeAttributeNS 2024-01-14 16:10:18 -07:00
element-scroll-height.html LibWeb: Return overflow rect height from Element::scroll_height() 2024-02-19 20:07:12 +01:00
element-scroll-width.html LibWeb: Return overflow rect width from Element::scroll_width() 2024-02-19 20:07:12 +01:00
Element-set-scroll-left.html LibWeb: Clamp scroll offset to valid range in set_scroll_offset() 2024-02-22 07:35:30 +01:00
Element-setAttribute-capitalization.html LibWeb: Add name validation and document check to setAttribute 2024-04-19 06:32:41 -04:00
Element-setAttribute-name-validation.html LibWeb: Add name validation and document check to setAttribute 2024-04-19 06:32:41 -04:00
Element-text-transform-fullwidth.html LibWeb: Use String::to_fullwidth() when applying text-transform 2024-11-01 07:48:17 -04:00
Element-text-transform-lowercase.html LibWeb: Pass locale to to_lowercase() from apply_text_transform 2024-11-01 07:48:17 -04:00
Element-text-transform-uppercase.html LibWeb: Pass locale to to_uppercase() from apply_text_transform 2024-11-01 07:48:17 -04:00
Element-to_titlecase-lang.html LibWeb: Use the correct locale when applying titlecase 2024-10-28 17:55:05 -04:00
Element-toggleAttribute-xml-doc-html-ns.html LibWeb: Only use lowercase attributes on toggle for HTML documents 2024-05-12 07:28:09 +01:00
Elements-from-point-2.html LibWeb: Do paint-order traversal in Document::elements_from_point() 2024-02-14 06:56:22 +01:00
Elements-from-point-3.html LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
Elements-from-point.html LibWeb: Do paint-order traversal in Document::elements_from_point() 2024-02-14 06:56:22 +01:00
FormAssociatedElement-selection-type-change.html LibWeb: Do not assume the shadow root has a host when updating selection 2024-08-31 15:51:08 +02:00
FormAssociatedElement-selection.html LibWeb: Don't move focus when setting input value 2024-09-12 11:45:34 +02:00
FormAssociatedElement-setRangeText.html LibWeb: Implement setRangeText for input and textarea elements 2024-08-31 07:47:54 +02:00
getElementById-empty-string.html LibWeb: Ensure document.getElementById("") returns null 2024-07-23 08:58:22 +02:00
getElementById-multiple.html LibWeb: Make getElementById() always return first match in tree order 2024-07-21 11:42:53 +01:00
getElementsByClassName-empty-string.html LibWeb: Ensure document.getElementsByClassName("") returns no elements 2024-07-23 08:58:22 +02:00
getElementsByClassName-multiple.html LibWeb: Ensure ParentNode.getElementsByClassName() matches all classes 2024-08-04 10:39:17 +02:00
getElementsName-empty-string.html LibWeb: Ensure document.getElementsByName("") returns no elements 2024-07-23 08:58:22 +02:00
HTMLCollection-empty-string-as-property-name.html LibWeb: Don't advertise the empty string as HTMLCollection property name 2024-05-27 17:33:29 +02:00
HTMLCollection-order.html LibWeb: Look for first ID _or_ name in HTMLCollection::named_item 2024-04-26 07:44:01 -04:00
HTMLCollection-property-names-iteration-order.html LibWeb: Preserve order of HTMLCollection property names 2024-10-04 22:43:44 +01:00
HTMLSelectElement-length.html LibWeb: Correct logic for removing end nodes from HTMLOptionsCollection 2024-07-27 20:23:14 +01:00
Node-isDefaultNamespace.html LibWeb: Implement Node.isDefaultNamespace() 2024-07-18 12:41:01 +03:00
Node-isEqualNode.html Tests/LibWeb: Add some tests for Node.isEqualNode 2024-07-19 09:22:08 +02:00
Node-lookupNamespaceURI.html LibWeb: Implement Node.lookupNamespaceURI() 2024-07-18 12:41:01 +03:00
Node-lookupPrefix.html LibWeb/DOM: Implement Node.lookupPrefix 2024-07-28 00:51:55 +01:00
Node-nodeName.html Tests: Add test for Node.nodeName 2024-07-26 07:19:23 +02:00
Node-normalize.html LibWeb: Implement Node.normalize() 2024-07-13 09:35:54 +02:00
Offset-of-empty-inline-element.html LibWeb: Don't crash when querying offsets of empty inline elements 2024-01-28 23:32:40 +01:00
range-bounding-client-rect-with-nested-text.html LibWeb: Implement Range's extension method 2024-09-20 19:58:20 +02:00
Range-containing-CDATASection.html LibWeb: Calculate length for all CharacterData type nodes correctly 2024-07-25 15:57:21 +01:00
Range-deleteContents.html LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
range-get-client-rects.html LibWeb: Implement Range's extension method 2024-09-20 19:58:20 +02:00
Range-to-string.html LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
setAttribute-with-emoji-in-attribute-name.html LibWeb: Don't crash on Element.setAttribute() with emoji in name 2023-12-04 00:04:04 +01:00
shadow-root-boundary-of-inserted-node-is-traversed.html LibWeb: Actually traverse the shadow root of the inclusive descendant 2024-11-13 14:40:02 +01:00
Text-methods.html LibWeb: Use UTF-16 code unit offsets and lengths in CharacterData 2023-12-23 20:41:41 +01:00
Text-set-get-data.html LibWeb: Add a test for setting and getting Text data 2023-12-22 08:19:51 +00:00
Text-wholeText.html LibWeb: Implement Text.wholeText 2024-07-20 18:02:51 +01:00
TreeWalker-nextNode-with-detached-currentNode.html
update-live-ranges-on-node-insertion.html LibWeb: Don't crash on live range offset update during node insertion 2024-03-12 16:30:39 +01:00
Window-methods-that-must-do-nothing.html LibWeb: Add methods to Window that must do nothing 2024-04-14 10:45:43 +02:00