[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
Tue May 31 01:15:20 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156790

--- Comment #8 from Antoine Quint <graouts at webkit.org> ---
I think the root of the issue is that WKRemoteView applies a scale that is the inverse of the scale factor in - (instancetype)initWithFrame:(CGRect)frame contextID:(uint32_t)contextID hostingDeviceScaleFactor:(float)scaleFactor and this causes the position to be divided by scale factor, which explains the offset varying with the device pixel ratio seen on iOS with WebGL layer.

-- 
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/20160531/697672c2/attachment-0001.html>


More information about the webkit-unassigned mailing list