Authoring CSS is a complex, time consuming task requiring not only skilled human graphic designers but also skilled human coders. Practice shows that today human authored code is still superior to machine generated CSS, but the code characteristics which make the difference have not been researched or even quantified yet. In this paper we introduce the abstractness factor, a quality metric which reveals the advantages of human authored code and can serve as an optimization criterion and benchmark for automated CSS coding. We argue that a high abstractness factor represents a high maintainability and reusability of the presentation document as well as the content document. By an evaluation of 100,000 HTML pages randomly gathered from the Web we show that today’s typical style sheet document has a significantly higher abstractness factor compared to code fully machine generated by state-of-the-art applications.
[1]
Yun-Jo An,et al.
Building a large, successful website efficiently through inquiry-based design and content management tools
,
2004
.
[2]
Joel Davies,et al.
The convergence of computer programming and graphic design
,
2006
.
[3]
Vincent Quint,et al.
Editing with style
,
2007,
DocEng '07.
[4]
Matthias Keller,et al.
Cascading style sheets: a novel approach towards productive styling with today's standards
,
2009,
WWW '09.
[5]
Gregg C. Vanderheiden,et al.
Web content accessibility guidelines 1.0
,
2001,
INTR.
[6]
José M. Vidal,et al.
Cascading style sheets
,
1997,
World Wide Web J..
[7]
Aaron Weiss,et al.
The web designer's dilemma: when standards and practice diverge
,
2006,
NTWK.