Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1605f4df0c4bbf4b276dd70343a3f1026a72e3d6
      
https://github.com/WebKit/WebKit/commit/1605f4df0c4bbf4b276dd70343a3f1026a72e3d6
  Author: Patrick Griffis <pgrif...@igalia.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M LayoutTests/fast/css/style-change-draggable-text-expected.txt
    A LayoutTests/fast/html/find-selects-draggable-element-expected.txt
    A LayoutTests/fast/html/find-selects-draggable-element.html
    M 
LayoutTests/fast/inline/contenteditable-with-leading-whitespace-crash-expected.txt
    M Source/WebCore/html/HTMLElement.cpp

  Log Message:
  -----------
  Remove draggable elements default presentational CSS of -webkit-user-select: 
none
https://bugs.webkit.org/show_bug.cgi?id=234716

Reviewed by Tim Nguyen.

This behaves similar to both Firefox and Chromium. Draggable elements do not 
make them
un-selectable. When selected, dragging still takes priority also like other 
browsers.

* LayoutTests/fast/html/find-selects-draggable-element-expected.txt: Added.
* LayoutTests/fast/html/find-selects-draggable-element.html: Added.
* Source/WebCore/html/HTMLElement.cpp:
  (WebCore::HTMLElement::collectPresentationalHintsForAttribute):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to