]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unsupported vendor prefixes for @viewport (#19955)
authoreiselzby <eiselt.zbynek@gmail.com>
Thu, 2 Jun 2016 17:04:20 +0000 (19:04 +0200)
committerChris Rebert <github@chrisrebert.com>
Thu, 2 Jun 2016 17:04:20 +0000 (10:04 -0700)
Fixes #19871

docs/_includes/getting-started/browser-device-support.html
docs/assets/css/ie10-viewport-bug-workaround.css

index 8a3a155eeddf5f18711dfe1addc0f322ca08089f..33cacdc5fbf0c3c5954107d8cfb8d4230ebbad62 100644 (file)
 {% endhighlight %}
   <p>However, this doesn't work for devices running Windows Phone 8 versions older than <a href="http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/10/14/introducing-windows-phone-preview-for-developers.aspx">Update 3 (a.k.a. GDR3)</a>, as it causes such devices to show a mostly desktop view instead of narrow "phone" view. To address this, you'll need to <strong>include the following CSS and JavaScript to work around the bug</strong>.</p>
 {% highlight scss %}
-@-webkit-viewport   { width: device-width; }
-@-moz-viewport      { width: device-width; }
 @-ms-viewport       { width: device-width; }
 @-o-viewport        { width: device-width; }
 @viewport           { width: device-width; }
index 8b3803b48dab8cd6dc87212741bc9fa2a0ca3f05..4b9518e2187ea6a0ba8878ddf3aca129cd024904 100644 (file)
@@ -8,8 +8,6 @@
  * See the Getting Started docs for more information:
  * http://getbootstrap.com/getting-started/#support-ie10-width
  */
-@-webkit-viewport { width: device-width; }
-@-moz-viewport    { width: device-width; }
 @-ms-viewport     { width: device-width; }
 @-o-viewport      { width: device-width; }
 @viewport         { width: device-width; }