Bug 1161033 - Use -moz-margin-start/end rather than margin-inline-start/end in UA stylesheets, to avoid being dependent on the writing-mode pref. r=jwatt
authorJonathan Kew <jkew@mozilla.com>
Tue, 05 May 2015 12:20:42 +0100
changeset 242350 a91f9bcf83e83bda4e5bcd485c982859be34766a
parent 242349 50608a9c7b091eb8ba2b59105c7175954a572def
child 242351 abc86341cd753a9b02fb8a1b7ccd2757bf41511b
push id28690
push userkwierso@gmail.com
push dateTue, 05 May 2015 21:41:12 +0000
treeherdermozilla-central@e3d3f273cf88 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs1161033
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1161033 - Use -moz-margin-start/end rather than margin-inline-start/end in UA stylesheets, to avoid being dependent on the writing-mode pref. r=jwatt
layout/style/forms.css
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -822,34 +822,34 @@ meter {
   background: linear-gradient(#f77, #f77, #fcc 20%, #d44 45%, #d44 55%);
 }
 
 input[type=range] {
   -moz-appearance: range;
   display: inline-block;
   inline-size: 12em;
   block-size: 1.3em;
-  margin-inline-start: 0.7em;
-  margin-inline-end: 0.7em;
+  -moz-margin-start: 0.7em;
+  -moz-margin-end: 0.7em;
   margin-block-start: 0;
   margin-block-end: 0;
   /* Override some rules that apply on all input types: */
   cursor: default;
   background: none;
   border: none;
   -moz-binding: none; /* we don't want any of platformHTMLBindings.xml#inputFields */
   /* Prevent nsFrame::HandlePress setting mouse capture to this element. */
   -moz-user-select: none ! important;
 }
 
 input[type=range][orient=block] {
   inline-size: 1.3em;
   block-size: 12em;
-  margin-inline-start: 0;
-  margin-inline-end: 0;
+  -moz-margin-start: 0;
+  -moz-margin-end: 0;
   margin-block-start: 0.7em;
   margin-block-end: 0.7em;
 }
 
 input[type=range][orient=horizontal] {
   width: 12em;
   height: 1.3em;
   margin: 0 0.7em;