Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dd0a5a2fd2e26b769586bbdf85fa2867036c0cfc
      
https://github.com/WebKit/WebKit/commit/dd0a5a2fd2e26b769586bbdf85fa2867036c0cfc
  Author: Ryosuke Niwa <[email protected]>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/adoption.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-content-hierarcy-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/syntax/serializing-html-fragments/template-expected.txt
    M Source/WebCore/dom/ContainerNode.cpp
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  document.adoptNode is a no-op when called on a template element's document 
fragment
https://bugs.webkit.org/show_bug.cgi?id=246899

Reviewed by Chris Dumez.

Partially revert 252098@main as this change turned out to be not web compatible.

* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/adoption.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-content-hierarcy-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/syntax/serializing-html-fragments/template-expected.txt:
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::containsIncludingHostElements):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::adoptNode):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to