[webkit-changes] [WebKit/WebKit] cd7efe: Do not require whitespace between `of` and selecto...

Tim Nguyen noreply at github.com
Mon Jan 9 23:04:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd7efe660cf49859a3e1738d069acaa103f75d4b
      https://github.com/WebKit/WebKit/commit/cd7efe660cf49859a3e1738d069acaa103f75d4b
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/fast/css/parsing-css-nth-child-of-3-expected.txt
    M LayoutTests/fast/css/parsing-css-nth-child-of-3.html
    M LayoutTests/fast/css/parsing-css-nth-last-child-of-3-expected.txt
    M LayoutTests/fast/css/parsing-css-nth-last-child-of-3.html
    M Source/WebCore/css/parser/CSSSelectorParser.cpp

  Log Message:
  -----------
  Do not require whitespace between `of` and selector list in `:nth-child`/`:nth-last-child`
https://bugs.webkit.org/show_bug.cgi?id=250353
rdar://104058693

Reviewed by Simon Fraser.

As clarified by CSSWG editors in: https://github.com/w3c/csswg-drafts/issues/8285

Tests:
- LayoutTests/imported/w3c/web-platform-tests/css/selectors/nth-child-of-no-space-after-of.html
- LayoutTests/imported/w3c/web-platform-tests/css/selectors/nth-last-child-of-no-space-after-of.html

* LayoutTests/TestExpectations:
* LayoutTests/fast/css/parsing-css-nth-child-of-3-expected.txt:
* LayoutTests/fast/css/parsing-css-nth-child-of-3.html:
* LayoutTests/fast/css/parsing-css-nth-last-child-of-3-expected.txt:
* LayoutTests/fast/css/parsing-css-nth-last-child-of-3.html:
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::consumePseudo):

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




More information about the webkit-changes mailing list