Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: affd64b09f15ac2e708c4ef3a74dedbd4270f606
      
https://github.com/WebKit/WebKit/commit/affd64b09f15ac2e708c4ef3a74dedbd4270f606
  Author: Anne van Kesteren <[email protected]>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M Source/WebCore/editing/cocoa/HTMLConverter.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm

  Log Message:
  -----------
  Make HTMLConverter::_processText() accept CDATASection and Text nodes
https://bugs.webkit.org/show_bug.cgi?id=268446
rdar://122072235

Reviewed by Chris Dumez.

Except for certain edge cases noted in the DOM Standard, CDATASection
and Text nodes are generally to be treated as interchangeable.

(This is a redo of 273887@main (backed out in 274099@main) as an
intentional change in behavior rather than an accidental one.)

* Source/WebCore/editing/cocoa/HTMLConverter.mm:
(HTMLConverter::_processText):
(HTMLConverter::_traverseNode):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm:
(TEST):

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


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

Reply via email to