Bug 44341
| Summary: | some clip paths broken on chromium win/linux after r65729 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | John Gregg <johnnyg> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | krit, schenney, zimmermann |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
John Gregg
svg/clip-path/clip-path-pixelation.svg : green rectangle is rendered instead of circles
svg/batik/text/textProperties.svg : patterned rectangle is rendered instead of patterned text
svg/clip-path/clip-path-childs-clipped.svg : star on the left is filled instead of open
more details:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&useWebKitCanary=true&tests=svg%2Fclip-path%2Fclip-path-pixelation.svg%2Csvg%2Fbatik%2Ftext%2FtextProperties.svg%2Csvg%2Fclip-path%2Fclip-path-childs-clipped.svg
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dirk Schulze
I would say, that save/restore don't cover the translation and concatCTM correctly. That would explain svg/clip-path/clip-path-childs-clipped.svg.
The text clipping is another strange behavior of the Skia port. Everything that is outside of the clipping rect, get's not clipped away on the Skia implementation (just for clipToImageBuffer). So the same problem like clip-path-childs-clipped.svg. The clipping rect is translated and don't match the real clipping area anymore.
Both examples have in common, that either the clipped object or its parent are translated with a SVGtransform.
Stephen Chenney
Committed r114030: <http://trac.webkit.org/changeset/114030>