DescriptionBase new scale on minimum-scale after orientation change.
The previous width-ratio based logic was complicated, and behaves badly
in a particular scenario where the contents overflows past the
webmaster's specified minimum scale. Replace it with some much simpler
logic that just maintains distance from minimum scale. (In most cases
this behaves the same as before, because minimum scale is usually based
on the ratio of viewport width to contents width.)
NOTRY=true
BUG=395503
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178608
Patch Set 1 #Patch Set 2 : Update unit test comment #Patch Set 3 : Bring back contentsSize != 0 check #
Messages
Total messages: 10 (0 generated)
|