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
Vector-effect updates require a re-layout
https://bugs.webkit.org/show_bug.cgi?id=127553 Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-02-07 Reviewed by Andreas Kling. As noted in the stale SVGRenderStyle::diff() comment, now that layout() observes vector-effect we need to trigger a re-layout on attribute changes. Merged from Blink: https://src.chromium.org/viewvc/blink?revision=152570&view=revision Source/WebCore: Tests: svg/custom/non-scaling-stroke-update-expected.svg svg/custom/non-scaling-stroke-update.svg * rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff): LayoutTests: * svg/custom/non-scaling-stroke-update-expected.svg: Added. * svg/custom/non-scaling-stroke-update.svg: Added. Canonical link: https://commits.webkit.org/146390@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
6f498a5
commit 09d8f30
Showing
5 changed files
with
66 additions
and
4 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
5 changes: 5 additions & 0 deletions
5
LayoutTests/svg/custom/non-scaling-stroke-update-expected.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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