Joy
Joy

Reputation: 287

How to solve Firefox border bug without invalid CSS3 code

Firefox on Ubuntu adds a dotted border on active elements like input submit if you set a custom border. For example:

<input style="border:1px solid black" type="submit"/>

I opened a bug here, but is there a temporary solution until they fix it without using following invalid css3 code?

input::-moz-focus-inner {
   border: 0;
} 

Upvotes: 1

Views: 54

Answers (1)

Nickolay
Nickolay

Reputation: 32063

If you're talking about this:

Dotted outline on a non-native button

then it's expected behavior, that's been in Gecko since the beginning, and I'm not sure why you think it's a bug.

I'm pretty sure you can't disable it without overriding the default stylesheet like you did.

Upvotes: 1

Related Questions