That’s the best pun I could think of, pretty lame to be honest. My first foray into shared experimental CSS (proprietary WebKit properties used to create a clock animation) has fired up an interesting debate; where should the realm of cascaded style sheets end?
This clock experiment does not advocate such use of style sheets, it is instead used to demonstrate the capabilities and possibilities of WebKit’s transform and transition properties. It has inadvertently highlighted the controversial and unexpected nature by which web developers may use them. Should this cross-pollination of behaviour definition become standard? Is it risky? What might the side effects be?
Comments on the Ajaxian post began the discussion, Malic opened the debate (this comment is particularly in reference to ‘transition’ rather than the more widely accepted ‘transform’):
This yielded some opposition but the majority supported the notion, Travis Almand champions the new transform property but strongly questions its counter-part:
CSS should be a style guide, not a programming language.
Before highlighting that the road to behaviour in CSS has already begun with the much used :hover, accompanied by :active, and :focus — user action pseudo-classes, agents sometimes change the rendering in response to user actions; response being the keyword.
John Dowdell of Adobe has also weighed in with an honest rant that I heartily recommend reading, even if I’m slightly jealous that I cannot articulate my prose as well.
The clock example shows that people will use technologies in unexpected ways. The creators of Usenet did not intend mass advertising. […] Stuffing the genie back inside the bottle is harder than looking carefully at the bottle before opening it.
We may not be able to persuasively articulate why this will eventually be considered a bad architectural decision. It’s like when vendors of email clients started talking about how wonderful it would be to add hidden graphics and scripting to the emails strangers send to you. Vague warnings of an unsound future are at a disadvantage to self-interested “But I wanna do it!!” evangelists.
It’s hard to persuasively document future risks. But encumbering HTML and CSS like this is not the way to bless your own multimedia engine.