diff --git a/layout/html/document/src/forms.css b/layout/html/document/src/forms.css index f189589ce2aa..f1c9419661ad 100644 --- a/layout/html/document/src/forms.css +++ b/layout/html/document/src/forms.css @@ -304,7 +304,7 @@ input[type="image"][disabled] { } input[type="image"]:focus { - -moz-outline: 1px dotted -moz-FieldText; + -moz-outline: 1px dotted invert; } /* file selector */ diff --git a/layout/html/document/src/quirk.css b/layout/html/document/src/quirk.css index 3efec86e826d..9001c8b2b008 100644 --- a/layout/html/document/src/quirk.css +++ b/layout/html/document/src/quirk.css @@ -44,11 +44,6 @@ input[type=image] { border: 2px solid blue; } -/* border when focused -- only change style to dotted */ -input[type=image]:focus { - border-style: dotted; -} - /* border when disabled -- only change color to gray */ input[type=image][disabled] { border-color: GrayText; diff --git a/layout/style/forms.css b/layout/style/forms.css index f189589ce2aa..f1c9419661ad 100644 --- a/layout/style/forms.css +++ b/layout/style/forms.css @@ -304,7 +304,7 @@ input[type="image"][disabled] { } input[type="image"]:focus { - -moz-outline: 1px dotted -moz-FieldText; + -moz-outline: 1px dotted invert; } /* file selector */ diff --git a/layout/style/quirk.css b/layout/style/quirk.css index 3efec86e826d..9001c8b2b008 100644 --- a/layout/style/quirk.css +++ b/layout/style/quirk.css @@ -44,11 +44,6 @@ input[type=image] { border: 2px solid blue; } -/* border when focused -- only change style to dotted */ -input[type=image]:focus { - border-style: dotted; -} - /* border when disabled -- only change color to gray */ input[type=image][disabled] { border-color: GrayText;