[webkit-changes] [WebKit/WebKit] 92169d: UserSelectAllTreatment should be an enum class

Ryosuke Niwa noreply at github.com
Sat May 6 14:45:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 92169dfbaee0f2546166c01dd6cda137337a8fdd
      https://github.com/WebKit/WebKit/commit/92169dfbaee0f2546166c01dd6cda137337a8fdd
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-05-06 (Sat, 06 May 2023)

  Changed paths:
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/dom/Node.h
    M Source/WebCore/editing/Editing.cpp

  Log Message:
  -----------
  UserSelectAllTreatment should be an enum class
https://bugs.webkit.org/show_bug.cgi?id=256420

Reviewed by Wenson Hsieh.

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::shouldUseInputMethod):
* Source/WebCore/dom/Node.cpp:
(WebCore::Node::isContentEditable const):
(WebCore::Node::isContentRichlyEditable const):
(WebCore::computeEditabilityFromComputedStyle):
(WebCore::Node::computeEditabilityForMouseClickEvents const):
* Source/WebCore/dom/Node.h:
(WebCore::Node::hasEditableStyle const):
(WebCore::Node::hasRichlyEditableStyle const):
* Source/WebCore/editing/Editing.cpp:
(WebCore::computeEditability):

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




More information about the webkit-changes mailing list