[Webkit-unassigned] [Bug 150790] New: Adding CSS opacity to a SVG foreignobject child destroys layout
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 1 21:13:55 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=150790
Bug ID: 150790
Summary: Adding CSS opacity to a SVG foreignobject child
destroys layout
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: me at andrewray.me
CC: zimmermann at kde.org
The Webkit SVG foreignobject implementation is not in a good place, as mentioned by other committers and indicated by the prevalence of bugs around foreignobject, transformations, etc.
This one took me by quite a surprise. You can see it clearly enough in this codepen. In the CSS column, change the opacity line with the comment from 1.0 to 0.9 and observe how the layout is destroyed.
http://codepen.io/andrewray/pen/rOKPBx?editors=110
How CSS opacity inside an element breaks parent layout is an interesting question. Setting opacity to 1.0 does nothing, but setting opacity to anything else breaks layout.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151102/cb927232/attachment.html>
More information about the webkit-unassigned
mailing list