NEW 176841
REGRESSION: Fullscreen canvas is not scaled proportionally on Sierra
https://bugs.webkit.org/show_bug.cgi?id=176841
Summary REGRESSION: Fullscreen canvas is not scaled proportionally on Sierra
aparajita
Reported 2017-09-13 08:30:35 PDT
Summary: When making an element that contains a canvas fullscreen, the canvas seems to be stretched to fit the screen instead of proportionally filling the screen. OS: macOS 10.12.6 (16G29) WebKit version: 12604.1.38.1.6, r221956 Steps to reproduce: 1. Go here: https://www.mapbox.com/mapbox-gl-js/example/fullscreen/ 2. Click on the fullscreen control in the upper right corner of the map. Actual results: The map is stretched horizontally. Expected results: The map maintains its aspect ratio. Additional info: This is a regression. Safari 10 and earlier did not have this bug.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-09-13 13:37:44 PDT
Simon Fraser (smfr)
Comment 2 2017-09-13 13:51:10 PDT
I can't reproduce this on High Sierra with a build of r221956. The fullscreen map is not stretched.
aparajita
Comment 3 2017-09-13 14:25:30 PDT
I can confirm it works correctly on High Sierra. Any chance it will be fixed on Sierra?
aparajita
Comment 4 2017-09-13 22:33:00 PDT
Another data point: on my 27" Retina iMac, at any resolution lower than the native resolution (2560 x 1440), the stretching does not occur. At resolutions >= the native resolution, the stretching gets progressively worse.
aparajita
Comment 5 2017-09-14 17:15:24 PDT
Turns out it has to do with the aspect ratio of the display. See the comment at 5pm on September 14 at https://bugreport.apple.com/web/?problemID=34410953 for more info.
Simon Fraser (smfr)
Comment 6 2017-09-14 22:24:01 PDT
Note You need to log in before you can comment on or make changes to this bug.