[webkit-dev] Enabling visual viewports by default

Simon Fraser simon.fraser at apple.com
Mon Dec 5 20:00:06 PST 2016


Hi floks!

I plan to enable visual viewports by default in WK1 and WK2 in the near future.

"visual viewports" is new behavior for position:fixed and sticky elements under page zoom; they lay out relative to a "layout viewport" (which is the size of the initial containing block), while the user pans around in the "visual viewport". When the visual viewport hits the edge of the layout viewport, it pushes this around.

This is a better user experience, and also matches Chrome and Firefox behavior more closely.

Is there any platform which would object to having this new behavior by default? I hope to remove the non-visual-viewport code at some point.

The master bug for this is https://bugs.webkit.org/show_bug.cgi?id=164260 <https://bugs.webkit.org/show_bug.cgi?id=164260>.

Simon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20161205/5d0a75b3/attachment.html>


More information about the webkit-dev mailing list