Automated refactoring for size reduction of CSS Style Sheets

Carregant...
Miniatura

Fitxers

Report (.pdf, 765.11 KB) (Accés restringit)
El pots comprar en digital a:
El pots comprar en paper a:

Projectes de recerca

Unitats organitzatives

Número de la revista

Títol de la revista

ISSN de la revista

Títol del volum

Correu electrònic de l'autor

Tribunal avaluador

Realitzat a/amb

Tipus de document

Treball Final de Grau

Data

Condicions d'accés

Accés restringit per decisió de l'autor

item.page.rightslicense

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ó de la persona titular dels drets

Assignatures relacionades

Assignatures relacionades

Publicacions relacionades

Datasets relacionats

Datasets relacionats

Projecte CCD

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.

Descripció

Provinença

Titulació

Document relacionat

Citació

Ajut

DOI

Versió de l'editor

Altres identificadors

Referències