-
200704 Jan
Posted in Modules
Some of you might have noticed that this site is not valid CSS, which is of course a tid bit weird for a site as this… There’s a reason for this though. New CSS3 features are often “tested” by browser manufacturers by implementing them as vendor specific extensions. These are allowed by both CSS2.1 and CSS3, yet, the validator does error on them, even when it’s validation profile is set to CSS3.
So what is a vendor specific extension?
A vendor specific extensions can start with a “-” (dash) or a “_” (underscore), usually followed by an abbreviation of the company or the browser project the extension is specific for, f.i. “-moz-” for Mozilla browsers, or “-webkit-” for WebKit based browsers. This vendor specific prefix is followed by the property name. A good example of this is
-webkit-border-radius, or-moz-border-radius.Why is it important to test new properties like this?
For a specification to leave the CR phase and become a final recommendation, it has to have two complete implementations. Without testing it like this, a specification would almost never reach the final recommendation phase. Which is why I think the validator should allow these properties. I have mailed the CSS validator mailing list to ask why this is not happening at the moment.
The two specifications, 2.1 and 3, both have an informative section on the subject as well, listing the known prefixes. These two lists are the same, and, typically enough, miss a few extensions, among which
-webkit-and-khtml-.You can skip to the end and leave a response.
-
Comments
-
01.
The thread on the CSS validator mailing-list:
http://lists.w3.org/Archives/Public/www-validator-css/2007Jan/thread.html#msg30 -
02.
What’s your opinion on this Olivier? Perhaps the specification isn’t clear enough on this… In my personal opinion a style sheet SHOULD be valid when using vendor specific extensions.
-
03.
test long / blog about Web Design, Development, & SEO brought to you by dotPWX says:Comment » June 15th, 2009 at 5:29 pm
[...] Vendor-specific extensions to CSS3 [...]
-
04.
Take Your Design to the Next Level with CSS3 « leylamanavi.com says:Comment » June 15th, 2009 at 9:03 pm
[...] Vendor-specific extensions to CSS3 [...]
-
05.
Rolandyh’s World of Web » Blog Archive » Take Your Design To The Next Level With CSS3 says:Comment » June 16th, 2009 at 2:31 am
[...] Vendor-specific extensions to CSS3 [...]
-
06.
Take Your Design To The Next Level With CSS3 - Myfreepedia.com says:Comment » June 16th, 2009 at 8:11 am
[...] Vendor-specific extensions to CSS3 [...]
-
07.
Take Your Design To The Next Level With CSS3 | Fresh News - Blog Design, Wordpress, Blogger, and Web Development says:Comment » June 22nd, 2009 at 7:12 pm
[...] Vendor-specific extensions to CSS3 [...]
-
01.
TAG CLOUD
acid3
advanced layout
advanced layout module
background
border
Browsers
color
css
CSS3.info
CSS WG
csswg
developer tools
disabled
enabled
Feedback
firefox
firefox 3.1
fonts
generated content
grid positioning
hixie
HSLA
HTML5
ie6
ie7
ie8
jina bolton
jquery
media player
News
Opera
Opera Dragonfly
presentations
RGBA
safari
Selectors
slides
SVG
text rendering
W3C
wasp
Web Fonts
webkit
windows

Leave a Comment