Bug 571489 - Use calc() instead of top: 35% in the svg select arrow image [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Sun, 12 Sep 2010 16:27:31 +0200
changeset 66571 eccb47dbd5797fefc6ea3bb1828363b13fe1d4a1
parent 66570 e9937943b960bbecb64950a2fb771f8f0c65e8ff
child 66572 e5637b80966cbc3e484ddeb12780f9c1b5bbd2da
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs571489
Bug 571489 - Use calc() instead of top: 35% in the svg select arrow image [r=mfinkle]
mobile/chrome/content/bindings.xml
--- a/mobile/chrome/content/bindings.xml
+++ b/mobile/chrome/content/bindings.xml
@@ -1465,14 +1465,14 @@
           ]]>
         </setter>
       </property>
     </implementation>
   </binding>
 
   <binding id="select-button" extends="xul:box">
     <content>
-      <svg:svg width="11px" version="1.1" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 35%; margin-left: 4px;">
+      <svg:svg width="11px" version="1.1" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -moz-calc(50% - 2px); margin-left: 4px;">
         <svg:polyline points="1 1 5 6 9 1" stroke="#414141" stroke-width="2" stroke-linecap="round" fill="transparent" stroke-linejoin="round"/>
       </svg:svg>
     </content>
   </binding>
 </bindings>