My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 15: CSS stylesheet support
3 people starred this issue and may be notified of changes. Back to list
 
Reported by tobiasz.cudnik, Jan 26, 2009
CSS stylesheet support can be used for Event Delegation directly from the
stylesheet to specially prepared methods. Simple mockup:

#browser.ie4 div.contents .section:load {
  stripTables: "odd-tr";
  modifySection: 10 arg1 "argument 2";
}

In this example selector is root for delegation with event stated at the
end. Properties are methods (what would class looks like ? :: ?) and
parameters are method's parameters, separated by space.

Additionally above example contains some browsercheck, which illustrates
another usecase for such functionality.

Probably best tool for this will be CSSTidy[1] with native PHP
implementation. Other possibility is PEAR class. Own implementation is also
considered.

[1] http://csstidy.sourceforge.net/
Comment 1 by tobiasz.cudnik, Feb 22, 2009
You can read more about this on my blog:
http://tobiasz123.wordpress.com/2009/01/27/can-css-stylesheets-be-applied-on-the-server-side/
Sign in to add a comment

Hosted by Google Code