Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Automated refactoring for size reduction of CSS style sheets
 
conference paper

Automated refactoring for size reduction of CSS style sheets

Bosch, Martí
•
Genevès, Pierre
•
Layaïda, Nabil
2014
Proceedings of the 2014 ACM symposium on Document engineering
14th ACM Symposium on Document Engineering

Cascading Style Sheets (CSS) is a standard language for stylizing and formatting web documents. Its role in web user experience becomes increasingly important. However, CSS files tend to be designed from a result-driven point of view, without much attention devoted to the CSS file struc-ture as long as it produces the desired results. Furthermore, the rendering intended in the browser is often checked and debugged with a document instance. Style sheets normally apply to a set of documents, therefore modifications added while focusing on a particular instance might affect other documents of the set. We present a first prototype of static CSS semantical an-alyzer and optimizer that is capable of automatically de-tecting and removing redundant property declarations and rules. We build on earlier work on tree logics to locate re-dundancies 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 smaller and cleaner CSS files.

  • Details
  • Metrics
Type
conference paper
DOI
10.1145/2644866.2644885
Author(s)
Bosch, Martí
Genevès, Pierre
Layaïda, Nabil
Date Issued

2014

Published in
Proceedings of the 2014 ACM symposium on Document engineering
Volume

14

Subjects

cascading sytle sheets

•

automated refactoring

•

tree logic

Editorial or Peer reviewed

REVIEWED

Written at

OTHER

EPFL units
IINFCOM  
Event nameEvent placeEvent date
14th ACM Symposium on Document Engineering

Fort Collins, Colorado, USA

September, 2014

Available on Infoscience
December 7, 2016
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/131813
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés