[webkit-changes] [WebKit/WebKit] 556e20: Add support for "from-image" to ImageBitmapOptions.

mattwoodrow noreply at github.com
Mon Aug 14 19:45:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 556e20c0b0053bc5c7f6d1a5635ad2467c6bade8
      https://github.com/WebKit/WebKit/commit/556e20c0b0053bc5c7f6d1a5635ad2467c6bade8
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow-expected.txt
    M Source/WebCore/html/ImageBitmap.cpp
    M Source/WebCore/html/ImageBitmapOptions.h
    M Source/WebCore/html/ImageBitmapOptions.idl

  Log Message:
  -----------
  Add support for "from-image" to ImageBitmapOptions.
https://bugs.webkit.org/show_bug.cgi?id=250476

Reviewed by Tim Nguyen.

"none" is deprecated, and has been renamed to "from-image".
This adds the new "from-image" value, with the same behaviour as "none".

* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow-expected.txt:
* Source/WebCore/html/ImageBitmapOptions.h:
* Source/WebCore/html/ImageBitmapOptions.idl:

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




More information about the webkit-changes mailing list