This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2009-10-06 Carol Szabo <firstname.lastname@example.org>
Reviewed by Ariya Hidayat. [Qt] Some functions in GraphicsContext do not work as expected if the associated painter has no clipping. https://bugs.webkit.org/show_bug.cgi?id=29691 No new tests are associated with this because DumpRenderTree always sets clipping on the painter, thus it would never hit the test case, but fast/box-shadow/basic-shadows.html is a good example of what happens if the clipping is not set by the user of QtWebKit. * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::clipOut): (WebCore::GraphicsContext::clipOutEllipseInRect): Fixed to handle the case that there is no clipping before the call. Canonical link: https://commits.webkit.org/40754@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 53 additions and 15 deletions.