[Webkit-unassigned] [Bug 156097] Changing canvas height immediately after page load does not relayout canvas
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 26 11:21:05 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156097
David <david+webkit at limnu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david+webkit at limnu.com
--- Comment #8 from David <david+webkit at limnu.com> ---
I believe this is not a bug, but the expected & correct behavior.
See these articles for details:
http://webglfundamentals.org/webgl/lessons/webgl-resizing-the-canvas.html
https://www.khronos.org/webgl/wiki/HandlingHighDPI
http://www.html5rocks.com/en/tutorials/canvas/hidpi/
You can get what you want in your test code by changing the line:
canvas.height = 1000;
to:
canvas.style.height = "1000px";
--
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/20160426/74ec77bd/attachment.html>
More information about the webkit-unassigned
mailing list