[Webkit-unassigned] [Bug 141731] New: The origin of SVG clip-path is not calculated correctly when it is applied outside the SVG
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 17 15:58:13 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141731
Bug ID: 141731
Summary: The origin of SVG clip-path is not calculated
correctly when it is applied outside the SVG
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
Created attachment 246774
--> https://bugs.webkit.org/attachment.cgi?id=246774&action=review
Test case
Open the attached test case. It has four inline <div> tags. Inside each tag, there is a nested <div> which is clipped using an SVG <clipPath>. The same <clipPath> is applied to an item in the SVG itself.
Results: When applying the clipPath outside the SVG, the clipping is only applied on the first <div> and its origin is not correct. It shifted to the top and the left of the <div>. Also it is applied for the first time only. From the second time, the clip-path clips the whole element, i.e. nothing is displayed from it.
When the transform: translateZ(0); is added to the style of the nested <div>, no clipping is applied, i.e.the whole element is rendered.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150217/183a65d6/attachment-0002.html>
More information about the webkit-unassigned
mailing list