dc.contributor | Genevès, Pierre |
dc.contributor | Layaïda, Nabil |
dc.contributor.author | Bosch Padros, Martí |
dc.date.accessioned | 2014-12-12T19:05:16Z |
dc.date.issued | 2013 |
dc.identifier.uri | http://hdl.handle.net/2099.1/24227 |
dc.description.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. |
dc.language.iso | eng |
dc.publisher | Universitat Politècnica de Catalunya |
dc.publisher | Université Grenoble Alpes |
dc.subject | Àrees temàtiques de la UPC::So, imatge i multimèdia::Creació multimèdia::Edició web |
dc.subject | Àrees temàtiques de la UPC::Informàtica::Llenguatges de programació |
dc.subject.lcsh | Web publishing |
dc.subject.lcsh | Cascading style sheets |
dc.title | Automated refactoring for size reduction of CSS Style Sheets |
dc.type | Bachelor thesis |
dc.subject.lemac | Edició de webs |
dc.subject.lemac | Fulls d'estil en cascada |
dc.rights.access | Restricted access - author's decision |
dc.date.lift | 10000-01-01 |
dc.audience.educationlevel | Grau |
dc.audience.mediator | Escola Tècnica Superior d'Enginyeria Industrial de Barcelona |
dc.description.mobility | Outgoing |