<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Position of WebGL <canvas> on iOS is incorrect with CSS borders"
href="https://bugs.webkit.org/show_bug.cgi?id=156790#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Position of WebGL <canvas> on iOS is incorrect with CSS borders"
href="https://bugs.webkit.org/show_bug.cgi?id=156790">bug 156790</a>
from <span class="vcard"><a class="email" href="mailto:graouts@webkit.org" title="Antoine Quint <graouts@webkit.org>"> <span class="fn">Antoine Quint</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>