Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[cairo] Fix LayoutTests/fast/canvas/patternfill-repeat.html
https://bugs.webkit.org/show_bug.cgi?id=53085 Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-06-18 Reviewed by Martin Robinson. Source/WebCore: Clipping previously unlimited vertical and horizontal pattern repeats with a clip rectangle similar to the Qt Graphics Context. No new tests, this patch fixes canvas/philip/tests/2d.pattern.paint.repeat* tests. * platform/graphics/Pattern.h: (WebCore::Pattern::getPatternSpaceTransform): Adding constant getter method to be able to map to pattern space externally, needed by PlatformContextCairo::clipForPatternFilling. * platform/graphics/cairo/PlatformContextCairo.cpp: (WebCore::PlatformContextCairo::prepareForFilling): (WebCore::PlatformContextCairo::clipForPatternFilling): Clip pattern repeats if needed. * platform/graphics/cairo/PlatformContextCairo.h: LayoutTests: canvas/philip/tests/2d.pattern.paint.repeat* tests now passing. * platform/efl/Skipped: * platform/gtk/TestExpectations: Canonical link: https://commits.webkit.org/107210@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
81bd6ea
commit f643a30
Showing
7 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters