Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ced9e679e7f8d49a9f0c299f0db816e7939c3a3f
      
https://github.com/WebKit/WebKit/commit/ced9e679e7f8d49a9f0c299f0db816e7939c3a3f
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-replaceChildren-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-replaceChildren.html
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/pre-insertion-validation-hierarchy.js
    M Source/WebCore/dom/ContainerNode.cpp
    M Source/WebCore/dom/ContainerNode.h
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/DocumentEnums.h

  Log Message:
  -----------
  Let replaceChildren() replace a document's children
https://bugs.webkit.org/show_bug.cgi?id=318945

Reviewed by Ryosuke Niwa.

This aligns us with an upcoming DOM standard change that makes
replaceChildren() consistent with the other mutation methods:

    https://github.com/whatwg/dom/pull/1487

Tests are updated as per:

   https://github.com/web-platform-tests/wpt/pull/61154

Canonical link: https://commits.webkit.org/316909@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to