By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,259 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,259 IT Pros & Developers. It's quick & easy.

Error in parsing outline

KeredDrahcir
100+
P: 426
I'm trying the specify outline properties for a link. The css I'm using is:
Expand|Select|Wrap|Line Numbers
  1. outline: invert dotted thin;
However the error console says:
Expected colour but fouud 'invert'. Error in parsing value for 'outline'. Declaration dropped.I can't see the problem anywhere. Can someone point me to what is wrong.
Feb 28 '11 #1
Share this Question
Share on Google+
6 Replies


drhowarddrfine
Expert 5K+
P: 7,435
What is giving you this error? Certainly not the validator.
Feb 28 '11 #2

KeredDrahcir
100+
P: 426
The Firefox Error Console gives me this as a warning.
Feb 28 '11 #3

JKing
Expert 100+
P: 1,206
Invert is one of the few things Firefox does not support.
Feb 28 '11 #4

drhowarddrfine
Expert 5K+
P: 7,435
I'm pretty sure FF does support it but I'll check.

EDIT: By golly, you're right. I don't have time to go through the relevant bug about this (closed as WONTFIX). There seems to be an agreement that FF handles it according to spec but that invert only works in IE8 and Opera. Confused but didn't have time to get into it.
Feb 28 '11 #5

JKing
Expert 100+
P: 1,206
Firefox supports outline just not the keyword invert for the color property. When CSS 2.1 specification came out browsers were no longer required to support the keyword invert. Firefox has chosen to not support it.
Feb 28 '11 #6

KeredDrahcir
100+
P: 426
Okay. Thanks. They should make a note of that on W3Schools since they usually say if things are supported by IE, Firefox, Safari, Opera and Google Chrome so they should have made a mention that Firefox didn't support invert.

I'll take it out. I can live without it. Is there an alternative?
Mar 1 '11 #7

Post your reply

Sign in to post your reply or Sign up for a free account.