[webkit-changes] [WebKit/WebKit] 5e3827: -webkit-image-set() should be an alias of image-set()

Ryan Reno noreply at github.com
Tue Feb 7 22:51:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e38273c02f707913dc6183e04c5b44fded9e28a
      https://github.com/WebKit/WebKit/commit/5e38273c02f707913dc6183e04c5b44fded9e28a
  Author: Ryan Reno <rreno at apple.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    R LayoutTests/fast/css/image-set-parsing-invalid-expected.txt
    R LayoutTests/fast/css/image-set-parsing-invalid.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-computed.sub-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-parsing-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-parsing.html
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-computed.sub-expected.txt
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp

  Log Message:
  -----------
  -webkit-image-set() should be an alias of image-set()
https://bugs.webkit.org/show_bug.cgi?id=229909
rdar://82999675

Reviewed by Tim Nguyen.

-webkit-image-set had a strict subset of image-set's syntax and so the former was made
into an alias of the latter in the css-images module level 4. This change removes the
restrictions on the syntax for the prefixed function and makes it into a parse-time alias
of image-set.

* LayoutTests/fast/css/image-set-parsing-invalid-expected.txt: Removed.
* LayoutTests/fast/css/image-set-parsing-invalid.html: Removed.
    This test is made obsolete by changes to the image-set parsing WPT and by making
    -webkit-image-set an alias to image-set.

* LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-computed.sub-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-parsing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-parsing.html:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-computed.sub-expected.txt:

* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeImage):

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




More information about the webkit-changes mailing list