Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 255da9f55bbe24f4aa7944e2bdd5768d4f0d5f01
      
https://github.com/WebKit/WebKit/commit/255da9f55bbe24f4aa7944e2bdd5768d4f0d5f01
  Author: Brent Fulgham <[email protected]>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/border-image-repeat-round.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/border-image-round-and-stretch.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/border-image-slice-percentage.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/border-image-space-001.html
    M LayoutTests/platform/gtk/TestExpectations
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WebCore/platform/graphics/Image.cpp

  Log Message:
  -----------
  border-image-repeat:round output doesn't match other browsers
https://bugs.webkit.org/show_bug.cgi?id=155955
<rdar://problem/28213711>

Reviewed by Tim Nguyen.

The RoundTile and SpaceTile didn't take the scale factors computed in 
NinePieceImage,
so would arrive at incorrect counts. This caused the logic to scale images when 
it
should have left them unscaled, and simply tiled (or spaced) the elements.

This change progresses four WPT tests:
(1) border-image-repeat-round.html
(2) border-image-round-and-stretch.html
(3) border-image-slice-percentage-test.html
(4) border-image-space-001.html

* Source/WebCore/platform/graphics/Image.cpp:
(WebCore::Image::drawTiled):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to