DescriptionUse constrained values for shouldDisableDesktopWorkarounds.
shouldDisableDesktopWorkarounds() used parsed ViewportArguments instead of the
constrained values, which meant auto and percentage sized @viewport would not
be considered as documents adapted to small screens.
This fix uses the constrained values from PageScaleConstraints instead.
A test for using auto-sizing of @viewport was added.
BUG=280759
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157173
Patch Set 1 #Patch Set 2 : Wording in comment didn't match implementation #Patch Set 3 : Yet another comment fix #
Total comments: 5
Patch Set 4 : Rebased #
Messages
Total messages: 17 (0 generated)
|