KevAdamson.com

KevAdamson.com :
Freelance Illustration, Web Design, Graphic Design and Animation




RSS Subscribe to my blogRSS


Single CSS Testing Prefix? : Dec 29 2009

Web Design / Comments

One fits all :)

Is anyone else a bit slightly miffed at having to add all the different prefix variations for advanced CSS3 declarations yo?

Surely all these cool new browsers that are all for progress and sharing and open standards and the like could get together and say (something like):

"Hey FireFox. It's Safari here. How was your Christmas? You get that sheep you wanted? Anyway. Just to let you know, we've decided that we're going to start all our advanced CSS3 test declarations with -beta- and we thought it would be a good idea for all of us to do the same. You know, to keep developers' CSS manageable and save a few kilobytes hither and thither. Oh, and can you pass on the info to Opera and the others too? Thanks. Bye!"

It would mean this ...

#somethingcool {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-o-border-radius: 10px;
-khtml-border-radius: 10px;
-ms-border-radius: 10px;
-partridge-in-a-pear-tree-border-radius: 10px;
border-radius: 10px;
}

... could, in theory, become this ...

#somethingcool {
-beta-border-radius: 10px;
border-radius: 10px;
}

Or, if that's just not possible

Perhaps a clever PHP egg could write some kind of parser to add the prefixes on the fly or something or nothing? Not ideal, but better than nowt ...

Anyway, here is a list of all the current CSS prefixes what I know:

  • -ms- Microsoft
  • mso- Microsoft Office
  • -moz- Mozilla Foundation (Gecko-based browsers)
  • -o- Opera Software
  • -atsc- Advanced Television Standards Committee
  • -wap- The WAP Forum
  • -webkit- Safari (and other WebKit-based browsers)
  • -khtml- Konqueror browser

In terms of those ideas above: put them in your pipe, smoke them, have a thinky, and then let me know what your words of response be ...



SAY STUFFSAY STUFF


BLOG : “ TALKING OF DESIGN

FIND AN ARTICLE FIND AN ARTICLE

Keyword Search for an Article:

Article Category List:

Article by Date:


READ AN ARTICLE READ AN ARTICLE

Latest Articles:

It started with a table

11/04/13
Web Design, Whimsical Twoddle

Some sniffing around web.archive.org has made me aware that it will soon be 10 years since I put up my first freelance portfolio...  ( more )


Twitter & Flickr

TWITTERING TWITTERING

"It's a Painful Business" 3 hours of "On The Hour" and related http://t.co/4xsBkOgI...

7 minutes ago