[webkit-changes] [WebKit/WebKit] 94656d: CreatePattern for zero height image should return ...
Anne van Kesteren
noreply at github.com
Sun Aug 27 01:47:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 94656d3143fad07c748addf564baeec77318f50e
https://github.com/WebKit/WebKit/commit/94656d3143fad07c748addf564baeec77318f50e
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-08-27 (Sun, 27 Aug 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.zeroheight-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.zerowidth-expected.txt
M LayoutTests/svg/as-image/resources/svg-with-feimage-with-link.svg
M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
Log Message:
-----------
CreatePattern for zero height image should return null
https://bugs.webkit.org/show_bug.cgi?id=250662
rdar://104285727
Reviewed by Tim Nguyen.
Use the same logic we use for createPattern when passed an
SVGImageElement for HTMLImageElement.
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.zeroheight-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.zerowidth-expected.txt:
* LayoutTests/svg/as-image/resources/svg-with-feimage-with-link.svg:
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::createPattern):
Canonical link: https://commits.webkit.org/267334@main
More information about the webkit-changes
mailing list