[webkit-changes] [WebKit/WebKit] f99ac2: Use isInDocumentTree in HTMLElement::editabilityFr...

Ryosuke Niwa noreply at github.com
Tue Apr 4 22:24:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f99ac2f68753ca4b153935ff8a3c5834a98d34cb
      https://github.com/WebKit/WebKit/commit/f99ac2f68753ca4b153935ff8a3c5834a98d34cb
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M Source/WebCore/html/HTMLElement.cpp

  Log Message:
  -----------
  Use isInDocumentTree in HTMLElement::editabilityFromContentEditableAttr
https://bugs.webkit.org/show_bug.cgi?id=254982

Reviewed by Wenson Hsieh.

Use isInDocumentTree instead of checking that the root node is the document node.

* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::editabilityFromContentEditableAttr):

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




More information about the webkit-changes mailing list