[Webkit-unassigned] [Bug 156790] Position of WebGL <canvas> on iOS is incorrect with CSS borders
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 30 10:01:39 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156790
--- Comment #7 from Antoine Quint <graouts at webkit.org> ---
So, the contentsScale is set to the device pixel ratio on Mac only in `-(id)initWithGraphicsContext3D:(GraphicsContext3D*)context`, while we set a transform with a scale set to the device pixel ratio on iOS only in `PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom()`.
Overriding `-(void)setPosition:(CGPoint)position` on WebGLLayer to account for the device pixel ratio fixes the issue, but I'm not sure this is the right fix.
--
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/20160530/2ef6330d/attachment-0001.html>
More information about the webkit-unassigned
mailing list