Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS 3 Validation errors for Visual Studio 2010 sp1

I was just wondering if there is a fix for the following validation errors.

Validation (CSS 3.0): text-shadow is not a known CSS property name. Validation (CSS 3.0): text-overflow is not a known CSS property name. Validation (CSS 3.0): none is not a valid value for the max-height property. Validation (CSS 3.0): rotate(180deg) is not a valid value for the -webkit-transform property

Now here is the funny part, when I switch it to the CSS 2.1 Validation, I do get a bunch of other warnings about invalid properties( which are css 3.0 properties), but then I don't get these errors: 'none' is not a valid value for the max-height property and rotate(180deg) is not a valid value for the -webkit-transform.

I've installed SP1 and the css3 schema, checked the registry, and everything is how it's supposed to be. I've checked many answers here. Some of them suggest to uncheck 'Detect unknown properties', 'Detect invalid values', or uncheck 'Detect errors', but that's not what I was looking for. Any suggestions?

like image 258
Shi-Hoo Avatar asked Jan 04 '12 02:01

Shi-Hoo


People also ask

How to add HTML5 in Visual Studio 2010?

Go to Tools -> Options, and then select Text Editor -> HTML -> Validation. You should now be able to select HTML5 or XHTML5 as the target schema.

Where can I download Visual Studio 2010?

You can download Visual Studio 2010 from My.VisualStudio.com. My.VisualStudio.com requires a free Dev Essentials subscription, or a Visual Studio Subscription.

Is ms Visual Studio 2010 free?

This software is a free IDE (Integrated Development Environment) specifically created for programming students.


2 Answers

If you install the Web Standards Update for Microsoft Visual Studio 2010 SP1 and then the CSS 3 Intellisense Schema that should do the trick.
The first one apparently is missing some of the specifications.

Good Luck. Let me know if that worked for you.

like image 166
Michel Triana Avatar answered Oct 05 '22 22:10

Michel Triana


Did you install the Web Standards Update for SP1?

like image 40
Erik Funkenbusch Avatar answered Oct 06 '22 00:10

Erik Funkenbusch