[webkit-changes] [WebKit/WebKit] 43aab4: [rhythmic-sizing] Add block-step shorthand to CSS ...

Tim Nguyen noreply at github.com
Tue Dec 3 13:31:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 43aab4da436fdb2f9f65be9523e640a27103b8db
      https://github.com/WebKit/WebKit/commit/43aab4da436fdb2f9f65be9523e640a27103b8db
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-computed-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-computed.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-invalid-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-invalid.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-valid-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-valid.html
    M Source/WebCore/animation/CSSPropertyAnimation.cpp
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/css/ShorthandSerializer.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.h

  Log Message:
  -----------
  [rhythmic-sizing] Add block-step shorthand to CSS parser
https://bugs.webkit.org/show_bug.cgi?id=252211
rdar://105422915

Reviewed by Antti Koivisto.

Implement shorthand as specified by: https://drafts.csswg.org/css-rhythm/#block-step

* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-computed-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-computed.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-invalid-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-invalid.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-valid-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-rhythm/parsing/block-step-valid.html: Added.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::blockStepShorthandValue):
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle const):
* Source/WebCore/css/ShorthandSerializer.cpp:
(WebCore::ShorthandSerializer::serialize):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::initialValueForLonghand):
(WebCore::CSSPropertyParser::consumeBlockStepShorthand):
(WebCore::CSSPropertyParser::parseShorthand):
* Source/WebCore/css/parser/CSSPropertyParser.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list