Bug 1519013 - Add initial-scale=1 in scrollintoview.html. r=botond a=pascalc
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Thu, 28 Mar 2019 03:04:28 +0000
changeset 526013 bbfac9aab6652834c444233c9c0468b810b43a3c
parent 526012 5b205e13c5560e961886b396ce1dcb5888e72c25
child 526014 e6c48e95795d81acaaa6ebaad26cad10d804af9e
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond, pascalc
bugs1519013
milestone67.0
Bug 1519013 - Add initial-scale=1 in scrollintoview.html. r=botond a=pascalc `initial-scale=1` prevents from scaling down the content so that scrollIntoView works as expected. Differential Revision: https://phabricator.services.mozilla.com/D19248
testing/web-platform/tests/css/cssom-view/scrollintoview.html
--- a/testing/web-platform/tests/css/cssom-view/scrollintoview.html
+++ b/testing/web-platform/tests/css/cssom-view/scrollintoview.html
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <title>CSSOM View - scrollIntoView</title>
 <meta charset="utf-8">
+<meta name="viewport" content="initial-scale=1">
 <link rel="author" title="Chris Wu" href="mailto:pwx.frontend@gmail.com">
 <link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview">
 <link rel="help" href="https://heycam.github.io/webidl/#es-operations">
 <link rel="help" href="https://heycam.github.io/webidl/#es-overloads">
 <meta name="flags" content="dom">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <style>