From 189ef15b2af8a7f60a71700b6fe7ccf3102c105b Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Sun, 11 Mar 2001 13:26:55 +0000 Subject: [PATCH] Fixing height of btns and btn in file input in strict mode Bug 67207 r=kmcclusk a=attinasi --- layout/html/document/src/forms.css | 8 +++++++- layout/style/forms.css | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/layout/html/document/src/forms.css b/layout/html/document/src/forms.css index 7def7c449247..7e57bb388cb6 100644 --- a/layout/html/document/src/forms.css +++ b/layout/html/document/src/forms.css @@ -244,6 +244,12 @@ input[type="file"] > input[type="button"] { height: inherit; } +input[type="file"] > input[type="button"]:-moz-focus-inner + { + padding: 0px 2px 0px 2px; + border: 1px dotted transparent; +} + /* radio buttons */ input[type="radio"] { border: 2px inset ThreeDFace; @@ -314,7 +320,7 @@ input[type="submit"] { border: 2px outset ButtonFace; background-color: ButtonFace; color: ButtonText; - padding: 1px 1px 1px 1px; + padding: 0px 1px 0px 1px; font: button; cursor: default; white-space: pre; diff --git a/layout/style/forms.css b/layout/style/forms.css index 7def7c449247..7e57bb388cb6 100644 --- a/layout/style/forms.css +++ b/layout/style/forms.css @@ -244,6 +244,12 @@ input[type="file"] > input[type="button"] { height: inherit; } +input[type="file"] > input[type="button"]:-moz-focus-inner + { + padding: 0px 2px 0px 2px; + border: 1px dotted transparent; +} + /* radio buttons */ input[type="radio"] { border: 2px inset ThreeDFace; @@ -314,7 +320,7 @@ input[type="submit"] { border: 2px outset ButtonFace; background-color: ButtonFace; color: ButtonText; - padding: 1px 1px 1px 1px; + padding: 0px 1px 0px 1px; font: button; cursor: default; white-space: pre;