[webkit-changes] [WebKit/WebKit] 1a1341: Correct parsing and serialization of -webkit-prefi...

Anne van Kesteren noreply at github.com
Thu Dec 21 05:43:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a1341a4dec7b50d2778a3100bb30f59c1710343
      https://github.com/WebKit/WebKit/commit/1a1341a4dec7b50d2778a3100bb30f59c1710343
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/selectors/webkit-pseudo-element-expected.txt
    M Source/WebCore/css/CSSSelector.cpp

  Log Message:
  -----------
  Correct parsing and serialization of -webkit-prefixed pseudo elements
https://bugs.webkit.org/show_bug.cgi?id=266759
rdar://118081134

Reviewed by Antti Koivisto.

We were not matching the prefix case-insensitively and when serializing
we forgot about the potential for identifier escapes.

* LayoutTests/imported/w3c/web-platform-tests/css/selectors/webkit-pseudo-element-expected.txt:
* Source/WebCore/css/CSSSelector.cpp:
(WebCore::CSSSelector::parsePseudoElementType):
(WebCore::CSSSelector::selectorText const):

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




More information about the webkit-changes mailing list