WICG / visual-viewport

A proposal to add explicit APIs to the Web for querying and setting the visual viewport
https://wicg.github.io/visual-viewport/
MIT License
177 stars 28 forks source link

Should we allow setting pageScale? #6

Open bokand opened 8 years ago

bokand commented 8 years ago

My initial draft has scrollLeft and scrollTop as writable but pageScale as read-only. On reflection, a writable scroll offset seems pointless without a writable pageScale. We should either make them all read-only or all writable.

ymalik commented 8 years ago

I am not sure if writable scrollTop/scrollLeft is entirely pointless since a site may want to adjust things based on a changed page scale (by the user).

In any case, I agree that making pageScale writable can be useful.

ChumpChief commented 8 years ago

+1 for scrollTop, scrollLeft, and pageScale all being writable.