[webkit-changes] [WebKit/WebKit] 2dd8ae: Remove Quirk needsToForceUserSelectAndUserDragWhen...

Karl Dubost noreply at github.com
Thu Apr 13 00:24:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2dd8ae90d50536ab77acd3bcbb065220c44066db
      https://github.com/WebKit/WebKit/commit/2dd8ae90d50536ab77acd3bcbb065220c44066db
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M Source/WebCore/dom/ImageOverlay.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Remove Quirk needsToForceUserSelectAndUserDragWhenInstallingImageOverlay
https://bugs.webkit.org/show_bug.cgi?id=254973
rdar://107576605

Reviewed by Wenson Hsieh.

On YouTube and Google search, it was impossible to select the text
appearing in images. The quirk solved this issue. It has been retested
by Zohreh Momeni and it's working without the Quirk. This commit
removes the quirk for both sites.
google.com rdar://107617904
youtube.come rdar://107576605

* Source/WebCore/dom/ImageOverlay.cpp:
(WebCore::ImageOverlay::updateSubtree):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsToForceUserSelectAndUserDragWhenInstallingImageOverlay const): Deleted.
* Source/WebCore/page/Quirks.h:

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




More information about the webkit-changes mailing list