Bug 150142

Summary: svg colors change with translate3d + fixed width
Product: WebKit Reporter: newtron <david>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jonlee, sabouhallawa, simon.fraser, thorton, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Mac   
OS: Unspecified   

newtron
Reported 2015-10-14 14:41:37 PDT
http://codepen.io/newtron/pen/JYrEjJ When an SVG has `transform: translate3d()` and a fixed width, hiding a `path` can alter the colors. So far reproducible in: * Thunderbolt display (not MacBook display) + Safari 9 on El Capitan * iPhone 6 + Chrome for iOS 9.0.2 Discovered by Tim Layton <tim.layton@shopify.com>.
Attachments
Simon Fraser (smfr)
Comment 1 2015-10-14 21:14:09 PDT
Are you saying that the green colors on the logo are changing?
Tim Horton
Comment 2 2015-10-14 21:20:57 PDT
(In reply to comment #1) > Are you saying that the green colors on the logo are changing? Presumably. It also interestingly doesn't happen if you pinch-zoom in...
Simon Fraser (smfr)
Comment 3 2015-10-14 21:25:58 PDT
I'm not seeing it here.
newtron
Comment 4 2015-10-15 06:19:05 PDT
@smfr yes, the colour is changing: https://cloud.githubusercontent.com/assets/786799/10514702/5ac28414-731d-11e5-99cc-f2b6bf4b6fa0.gif What environment did you try to reproduce in? We've been able to reproduce on multiple devices.
Said Abou-Hallawa
Comment 5 2015-10-15 08:53:39 PDT
Note You need to log in before you can comment on or make changes to this bug.