gecko-dev/gfx
Hiroyuki Ikezoe d243910c35 Bug 1550105 - Implement the parser for scale values in viewport meta tag as what the spec defines. r=botond
The relevant definition in the spec;
 https://drafts.csswg.org/css-device-adapt/#min-scale-max-scale

Before this change, if both of initial-scale and maximum-scale are negative,
both values are clamped to 0.25. Whereas with this change, negative scale
values are treated as if it's not specified so that initial-scale value is
automatically calculated based on the layout viewport size.
negative-initial-and-maximum-scale.html is a test case for the case.

Also with this change, initial-scale values are going to be clamped to the
range [0.25, 10] during parsing it so that initial-scale-0.html and
initial-scale-100.html need to be modified, now the former is scaled by 0.25x,
the latter is scaled by 10x.
(Before this change, initial-scale=0 and initial-scale=100 were treated as
 invalid scale values in nsViewportInfo::ConstrainViewportValues[1])

[1] https://searchfox.org/mozilla-central/rev/6c9f60f8cc064a1005cd8141ecd526578ae9da7a/dom/base/nsViewportInfo.cpp#15,19

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

--HG--
extra : moz-landing-system : lando
2019-05-23 06:35:52 +00:00
..
2d Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
angle Bug 1536672 - Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot 2019-05-23 02:43:11 +00:00
cairo Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
config Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
docs Bug 1503339 - update frame rate at runtime, r=kats 2018-12-14 20:16:23 +00:00
gl Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
graphite2 Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
harfbuzz Bug 1540770 - Update HarfBuzz to version 2.4.0. r=jfkthame 2019-04-03 12:49:51 +00:00
ipc Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
layers Bug 1550105 - Implement the parser for scale values in viewport meta tag as what the spec defines. r=botond 2019-05-23 06:35:52 +00:00
ots Bug 1531912 - Update OTS to 7.1.9. r=jfkthame 2019-03-02 15:32:15 +00:00
qcms Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
sfntly Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats 2019-02-25 16:07:19 -06:00
skia Backed out changeset 6440419b9d33 (Bug 1533546). r=jrmuizel 2019-05-22 18:20:09 +00:00
src Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
tests Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
thebes Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
vr Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
webrender_bindings Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
wr Bug 1532174 - WR cache world transform on coordinate systems r=gw 2019-05-22 19:58:39 +00:00
ycbcr Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
moz.build Bug 1536162 - Update bugzilla component for gfx/wr. r=jrmuizel 2019-03-21 20:40:57 +00:00