[webkit-changes] [WebKit/WebKit] 3a4c0c: [cssom] Serialize -webkit-perspective and -webkit-...

Oriol Brufau noreply at github.com
Mon Nov 28 05:53:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a4c0cbdfa7b088c28fcb57dd3a1c5889af5c58a
      https://github.com/WebKit/WebKit/commit/3a4c0cbdfa7b088c28fcb57dd3a1c5889af5c58a
  Author: Oriol Brufau <obrufau at igalia.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    A LayoutTests/fast/multicol/column-break-serialization-expected.txt
    A LayoutTests/fast/multicol/column-break-serialization.html
    M LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-getPropertyValue-common-checks-expected.txt
    M Source/WebCore/css/StyleProperties.cpp
    M Source/WebCore/css/StyleProperties.h

  Log Message:
  -----------
  [cssom] Serialize -webkit-perspective and -webkit-column-break properties
https://bugs.webkit.org/show_bug.cgi?id=247988

Reviewed by Tim Nguyen.

-webkit-perspective can be serialized like perspective. The former also
accepts unitless lengths, but better not serialize to that.

The -webkit-column-break-* properties are serialized in a way analogous
to page-break-*.

Tests: fast/multicol/column-break-serialization.html
       imported/w3c/web-platform-tests/css/cssom/cssom-getPropertyValue-common-checks.html

* LayoutTests/fast/multicol/column-break-serialization-expected.txt: Added.
* LayoutTests/fast/multicol/column-break-serialization.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-getPropertyValue-common-checks-expected.txt:
* Source/WebCore/css/StyleProperties.cpp:
(WebCore::StyleProperties::getPropertyValue const):
(WebCore::StyleProperties::breakInsideShorthandValue const):
(WebCore::StyleProperties::pageBreakValue const):
(WebCore::StyleProperties::webkitColumnBreakValue const):
(WebCore::StyleProperties::pageBreakPropertyValue const): Deleted.
* Source/WebCore/css/StyleProperties.h:

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




More information about the webkit-changes mailing list