Automated refactoring for size reduction of CSS Style Sheets
Visualitza/Obre
Report (765,1Kb) (Accés restringit)
Estadístiques de LA Referencia / Recolecta
Inclou dades d'ús des de 2022
Cita com:
hdl:2099.1/24227
Tipus de documentTreball Final de Grau
Data2013
Condicions d'accésAccés restringit per decisió de l'autor
Tots els drets reservats. Aquesta obra està protegida pels drets de propietat intel·lectual i
industrial corresponents. Sense perjudici de les exempcions legals existents, queda prohibida la seva
reproducció, distribució, comunicació pública o transformació sense l'autorització del titular dels drets
Abstract
Cascading Style Sheets (CSS) is a standard language for stylizing and formatting
web documents. It plays an increasingly important role in web user experience.
However, developers tend to write CSS from a result driven point of view, not paying a lot of attention to the CSS file structure as long as it produces the desired results. To obtain the intended output in the browser, developers usually debug a CSS file on a particular document instance. Nevertheless style sheets normally apply to a set of documents, so modifications added while focusing on a particular instance might affect other instances from the set.
We present a first prototype of static CSS semantical analyzer and optimizer that is capable of automatically detecting and removing redundant property declarations and rules. We build on earlier work on tree logics to locate redundancies due to the semantics of selectors and properties. Existing purely syntactic CSS optimizers might be used in conjunction with our tool, for performing complementary (and orthogonal) size reduction, toward the common
goal of providing cleaner and easily debuggable CSS files.
Col·leccions
Fitxers | Descripció | Mida | Format | Visualitza |
---|---|---|---|---|
pgf_bosch_marti.pdf | Report | 765,1Kb | Accés restringit |