[webkit-changes] [WebKit/WebKit] 155c4f: designMode should not affect shadow tree

Ryosuke Niwa noreply at github.com
Mon Apr 3 22:31:33 PDT 2023


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

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative-expected.txt
    M Source/WebCore/html/HTMLElement.cpp

  Log Message:
  -----------
  designMode should not affect shadow tree
https://bugs.webkit.org/show_bug.cgi?id=254966

Reviewed by Wenson Hsieh.

Even when the document is in design mode, its shadow trees shouldn't be considered as editable.

* LayoutTests/imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative-expected.txt:
* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::editabilityFromContentEditableAttr):

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




More information about the webkit-changes mailing list