Hiroyuki Ikezoe
0c91f6a24f
Bug 1498729 - Store each viewport meta data by the viewport meta tag and use the last one. r=smaug,botond
...
This is what Chrome and Safari do.
See https://webcompat.com/issues/20701#issuecomment-436054739
So for exmaple, if there are two viewport meta tags like this;
<meta name="viewport" content="width=980">
<meta name="viewport" content="initial-scale=1,maximum-scale=1">
We will use "initial-scale=1,maximum-scale=1". Before this change we used to
use merged "width=980,initial-scale=1,maximum-scale=1".
Another example is to replace the content of a single viewport meta tag like this;
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1">
what will happen when this tag is replaced by below;
<meta id="viewport" name="viewport" content="width=1080">
We will use the replacing one (i.e. "width=1080"), before this change, we used
to use merged "width=1080,initial-scale=1".
As of this commit, we don't properly remove corresponding viewport meta data
when a) viewport meta tag is detached from document and b) `name` attribute is
changed from 'viewport'. These cases will be handled in subsequent commits.
Note that we no longer store invididual viewport meta data in Document::mHeaderData
so that nsIDOMWindowUtils.getDocumentMetadata doesn't work any more for the
invididual viewport meta data, but there is no use cases for them other than
two test cases which are removed in this commit.
Differential Revision: https://phabricator.services.mozilla.com/D38922
2019-07-25 20:51:23 +00:00
..
2019-07-25 10:28:52 +00:00
2018-11-21 14:27:27 +00:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-02-28 01:09:48 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-09 19:27:15 +00:00
2018-11-28 11:10:48 +02:00
2018-11-28 08:22:06 +01:00
2019-07-05 10:44:55 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-24 13:47:53 -07:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2018-09-14 00:06:16 +00:00
2018-11-02 16:46:54 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2018-11-28 08:22:06 +01:00
2019-06-12 08:29:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-05 10:44:55 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2017-01-17 11:50:25 +01:00
2017-01-17 11:50:25 +01:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-09 23:10:01 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-09 23:10:01 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-05 10:44:55 +02:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-07-05 10:44:55 +02:00
2017-06-16 10:52:25 +08:00
2017-06-16 10:52:25 +08:00
2019-07-05 10:44:55 +02:00
2019-02-28 01:09:48 +00:00
2017-05-04 10:24:13 +02:00
2017-05-04 10:24:13 +02:00
2017-06-30 10:21:52 -07:00
2017-06-30 10:21:52 -07:00
2018-11-28 08:22:06 +01:00
2017-05-16 16:57:19 +08:00
2017-05-18 12:08:57 +01:00
2017-05-18 12:08:57 +01:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2018-11-28 11:10:48 +02:00
2019-07-25 20:51:23 +00:00
2017-05-09 10:25:23 +08:00
2017-05-09 10:25:23 +08:00
2017-05-09 10:25:23 +08:00
2017-09-28 12:09:56 -07:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2019-07-05 10:44:55 +02:00
2017-09-28 12:09:56 -07:00
2017-08-23 04:23:13 -04:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-15 20:56:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-12 08:29:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-17 19:46:05 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-13 08:58:07 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-13 08:58:07 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-13 08:58:07 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-12 10:48:29 -07:00
2019-04-18 16:51:01 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-18 16:51:01 +00:00
2019-04-16 03:53:28 +00:00
2019-06-13 09:34:39 -07:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-15 20:56:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2018-05-28 17:53:44 -04:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-12 08:29:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-06-12 08:29:58 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2017-01-17 11:50:25 +01:00
2017-06-30 10:21:52 -07:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00
2019-04-16 03:53:28 +00:00