Cascading style sheets

Matthias Keller, Martin Nussbaumer
2009 Proceedings of the 18th international conference on World wide web - WWW '09  
In this paper we present an approach of generating Cascading Style Sheet documents automatically if the desired effect on the content elements is specified. While a Web user agent resolves the CSS rules and computes their effect, our approach handles the way back. We argue, that this can remarkably improve CSS productivity, since the process of CSS authoring always involves this direction implicitly. Our approach claims a new and innovative way to reuse chunks of markup together with its
more » ... ation. It furthermore bears potential for the optimization and reorganization of CSS documents. We describe criteria for CSS code quality we oriented on, including a quantitative indicator for the abstractness of a CSS presentation specification. An evaluation and recomputation of the CSS for 25.000 HTML documents shows that concerning these criteria the automatically generated code comes close to manually authored code.
doi:10.1145/1526709.1526907 dblp:conf/www/KellerN09 fatcat:2cj6pz4cbjekhc2prfbbmg2evu