Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Aug 5, 2023

I can land the parent check fix in master for the BC.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM from my very basic understanding of the DOM spec


void dom_child_replace_with(dom_object *context, zval *nodes, int nodesc)
{
/* Spec link: https://dom.spec.whatwg.org/#dom-childnode-replacewith*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
/* Spec link: https://dom.spec.whatwg.org/#dom-childnode-replacewith*/
/* Spec link: https://dom.spec.whatwg.org/#dom-childnode-replacewith */

@@ -0,0 +1,36 @@
--TEST--
replaceWith() with a non-variable next sibling
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
replaceWith() with a non-variable next sibling
replaceWith() with a non-viable next sibling

@ndossche ndossche closed this in 815b5ad Aug 7, 2023
ndossche added a commit that referenced this pull request Aug 7, 2023
jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants