Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b828cfef076351dd755274552b0e38b2b52728bf
      
https://github.com/WebKit/WebKit/commit/b828cfef076351dd755274552b0e38b2b52728bf
  Author: Simon Fraser <[email protected]>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-fill-stroke/paint-order-001.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/platform/graphics/Image.cpp

  Log Message:
  -----------
  Stretch images instead of tiling them on macOS as well as iOS
https://bugs.webkit.org/show_bug.cgi?id=305360
rdar://168038941

Reviewed by Tim Horton.

Some old iOS code implemented tiling of 1px wide/tall images via a stretch, 
rather than a tile.
It turns out that this is about 4x faster on modern macOS hardware too, so 
let's use it on all
platforms.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-fill-stroke/paint-order-001.html:
 Increase tolerance
by 1 pixel.
* LayoutTests/platform/mac-wk2/TestExpectations: Remove the above test.
* Source/WebCore/platform/graphics/Image.cpp:
(WebCore::Image::drawTiled):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to