Commit Graph

1 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
9bebe3cf91 Bug 1423709 - Reftests for auto initial zoom value calculation. r=botond
There are 7 test cases in this commit.

 - no-viewport.html
   A test case that wider contents should be scaled down even if no viewport
   meta tag exists.

 - viewport-width.html
   A test case that wider contents should be scaled down (i.e. fit to the
   device screen).

 - minimum-scale.html
   A test case that the initial zoom value is clamped by minimum-scale.

 - initial-scale-0.html
   A test case that specified initial-scale value is less than the default
   minimum scale value (0.1), in such cases we shrink the content to fit
   the display size.

 - initial-scale-100.html
   A test case that specified initial-scale value is greater than the default
   maximum scale value (10), in such cases we shrink the content to fit
   the display size.

 - initial-scale-1.html
   A test case that the auto initial zoom calculation doesn't apply to the
   documents specifying initial-scale.

 - box-shadow.html
   A test case that box-shadow-ed area isn't incorporated into the initial zoom
   value.

Depends on D10197

Differential Revision: https://phabricator.services.mozilla.com/D10198

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:58 +00:00