[webkit-changes] [WebKit/WebKit] 3586fe: [view-transitions] `auto` is disallowed on `view-t...

Tim Nguyen noreply at github.com
Wed Jan 17 00:36:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3586fe08ab06255a0715eb919e5133052fe27079
      https://github.com/WebKit/WebKit/commit/3586fe08ab06255a0715eb919e5133052fe27079
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-invalid-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-invalid.html
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.h

  Log Message:
  -----------
  [view-transitions] `auto` is disallowed on `view-transition-name`
https://bugs.webkit.org/show_bug.cgi?id=267619
rdar://121094366

Reviewed by Anne van Kesteren.

Adopt the resolution from: https://github.com/w3c/csswg-drafts/issues/9639

Add a custom parsing function since the auto-generated function does not support custom-ident restrictions.

* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-invalid-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-invalid.html:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeViewTransitionName):
* Source/WebCore/css/parser/CSSPropertyParserHelpers.h:

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




More information about the webkit-changes mailing list