From ca3f67b5dae2fece9b79cadbc91c82ceb8cf469a Mon Sep 17 00:00:00 2001 From: "noririty%jcom.home.ne.jp" Date: Sun, 1 Feb 2004 12:14:53 +0000 Subject: [PATCH] cut off -moz-image-region inheritance b=220717, 232793 git-svn-id: svn://10.0.0.236/trunk@152140 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/skin/mac/scrollbox.css | 24 +++++++++++++++++++++++- mozilla/toolkit/skin/win/scrollbox.css | 6 ++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/mozilla/toolkit/skin/mac/scrollbox.css b/mozilla/toolkit/skin/mac/scrollbox.css index 78b67ad1742..3bbf0bc1e5a 100755 --- a/mozilla/toolkit/skin/mac/scrollbox.css +++ b/mozilla/toolkit/skin/mac/scrollbox.css @@ -1 +1,23 @@ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* * Autorepeatbutton */ .autorepeatbutton-up { list-style-image : url("chrome://global/skin/arrow/arrow-up-sharp.gif") } .autorepeatbutton-down { list-style-image : url("chrome://global/skin/arrow/arrow-dn-sharp.gif") } autorepeatbutton { -moz-box-align : center; -moz-box-pack : center; margin : 1px 2px 2px 1px; padding : 4px; } \ No newline at end of file +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* + * Autorepeatbutton + */ +.autorepeatbutton-up + { + list-style-image : url("chrome://global/skin/arrow/arrow-up-sharp.gif"); + } + +.autorepeatbutton-down + { + list-style-image : url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + } + +autorepeatbutton + { + -moz-box-align : center; + -moz-box-pack : center; + margin : 1px 2px 2px 1px; + padding : 4px; + } + diff --git a/mozilla/toolkit/skin/win/scrollbox.css b/mozilla/toolkit/skin/win/scrollbox.css index ab5e3285540..ff92557fb6a 100644 --- a/mozilla/toolkit/skin/win/scrollbox.css +++ b/mozilla/toolkit/skin/win/scrollbox.css @@ -5,12 +5,14 @@ */ .autorepeatbutton-up { - list-style-image : url("chrome://global/skin/arrow/arrow-up.gif") + list-style-image : url("chrome://global/skin/arrow/arrow-up.gif"); + -moz-image-region : auto; /* cut off inheritance */ } .autorepeatbutton-down { - list-style-image : url("chrome://global/skin/arrow/arrow-dn.gif") + list-style-image : url("chrome://global/skin/arrow/arrow-dn.gif"); + -moz-image-region : auto; /* cut off inheritance */ } autorepeatbutton