[webkit-changes] [WebKit/WebKit] c07a7a: [css-grid] Use ShorthandSerializer for grid-area i...

Sammy Gill noreply at github.com
Fri Sep 15 10:00:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c07a7a053c8c94486f771a89ae195a2fa427ea9e
      https://github.com/WebKit/WebKit/commit/c07a7a053c8c94486f771a89ae195a2fa427ea9e
  Author: Sammy Gill <sammy.gill at apple.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-layout-properties-expected.txt
    M Source/WebCore/css/CSSComputedStyleDeclaration.cpp

  Log Message:
  -----------
  [css-grid] Use ShorthandSerializer for grid-area in CSSComputedStyleDeclaration::getPropertyValue.
https://bugs.webkit.org/show_bug.cgi?id=261577
rdar://115521493

Reviewed by Tim Nguyen.

We can reuse the logic that the ShorthandSerializer provides to
correctly serialize the computed style of this property. This will
help us avoid duplicating logic to get the computed value.

* LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-layout-properties-expected.txt:
* Source/WebCore/css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyValue const):

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




More information about the webkit-changes mailing list