From 40a51b8892c9caa0d285a894e042868187c68c7c Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 29 Aug 2012 22:06:34 +0200 Subject: [PATCH] Replace occurrences of -moz-calc(). --- 4chan_x.user.js | 8 ++++++-- script.coffee | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 2ef22eecb..f66115471 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -5386,7 +5386,9 @@ h1 {\ background: -o-linear-gradient(#EEE, #CCC);\ background: linear-gradient(#EEE, #CCC);\ width: 10%;\ - padding: -moz-calc(1px) 0 2px;\ +}\ +.gecko #dump {\ + padding: 1px 0 2px;\ }\ #dump:hover, #dump:focus {\ background: -webkit-linear-gradient(#FFF, #DDD);\ @@ -5564,9 +5566,11 @@ h1 {\ #qr [type=submit] {\ margin: 1px 0;\ padding: 1px; /* not Gecko */\ - padding: 0 -moz-calc(1px); /* Gecko does not respect box-sizing: border-box */\ width: 30%;\ }\ +.gecko #qr [type=submit] {\ + padding: 0 1px; /* Gecko does not respect box-sizing: border-box */\ +}\ \ .fileText:hover .fntrunc,\ .fileText:not(:hover) .fnfull {\ diff --git a/script.coffee b/script.coffee index f37d1bb43..fb4319556 100644 --- a/script.coffee +++ b/script.coffee @@ -4242,7 +4242,9 @@ h1 { background: -o-linear-gradient(#EEE, #CCC); background: linear-gradient(#EEE, #CCC); width: 10%; - padding: -moz-calc(1px) 0 2px; +} +.gecko #dump { + padding: 1px 0 2px; } #dump:hover, #dump:focus { background: -webkit-linear-gradient(#FFF, #DDD); @@ -4420,9 +4422,11 @@ h1 { #qr [type=submit] { margin: 1px 0; padding: 1px; /* not Gecko */ - padding: 0 -moz-calc(1px); /* Gecko does not respect box-sizing: border-box */ width: 30%; } +.gecko #qr [type=submit] { + padding: 0 1px; /* Gecko does not respect box-sizing: border-box */ +} .fileText:hover .fntrunc, .fileText:not(:hover) .fnfull {