[webkit-changes] [WebKit/WebKit] 157eda: Remove `:-khtml-drag` pseudo-class alias

Tim Nguyen noreply at github.com
Sat Jan 20 02:36:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 157eda4fb5e3aef864392c4da1f6958d8e89d458
      https://github.com/WebKit/WebKit/commit/157eda4fb5e3aef864392c4da1f6958d8e89d458
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-01-20 (Sat, 20 Jan 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/selectors/parsing/invalid-pseudos-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/selectors/parsing/invalid-pseudos.html
    M Source/WebCore/css/CSSPseudoSelectors.json
    M Source/WebCore/css/process-css-pseudo-selectors.py

  Log Message:
  -----------
  Remove `:-khtml-drag` pseudo-class alias
https://bugs.webkit.org/show_bug.cgi?id=267805
rdar://121303391

Reviewed by Anne van Kesteren.

Chrome has unshipped this for a while, let's give it a try. Firefox has never shipped this.

A quick Github search for `:-khtml-drag` shows a small number of hits: https://github.com/search?q=%3A-khtml-drag&type=code

- Styling for dragging elements will change for the few sites that were using this.
- None of the hits are using `:-khtml-drag` in a selector list, which means this change wouldn't accidentally un-apply declarations for a different selector

* LayoutTests/imported/w3c/web-platform-tests/css/selectors/parsing/invalid-pseudos-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/selectors/parsing/invalid-pseudos.html:
* Source/WebCore/css/CSSPseudoSelectors.json:
* Source/WebCore/css/process-css-pseudo-selectors.py:
(InputValidator.validate_fields.is_known_prefix):

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




More information about the webkit-changes mailing list