skip to main content
10.1145/2361354.2361360acmconferencesArticle/Chapter ViewAbstractPublication PagesdocengConference Proceedingsconference-collections
research-article

ALMcss: a javascript implementation of the CSS template layout module

Published:04 September 2012Publication History

ABSTRACT

Traditionally, web standards in general and Cascading Style Sheets (CSS) in particular take a long time from when they are defined by the W3C until they are implemented by browser vendors. This has been a limitation not only for authors, who had to wait even years before they were able to use certain CSS properties in their web pages, but also for the creators of the specification itself, who were not able to test their proposals in practice.

In this paper we present ALMcss, a JavaScript prototype that implements the CSS Template Layout Module, a proposal for an addition to CSS to make it a more capable layout language. It has been developed inside the W3C CSS Working Group by two of the authors of this paper. We present the rationale of the module and an introduction to its syntax, before discussing the design of our prototype.

ALMcss has served us as a proof of concept that the Template Layout Module is not only feasible, but it can be in fact implemented in current web browsers using just JavaScript and the Document Object Model (DOM). In addition, ALMcss allows web designers to start to use today the new layout capabilities of CSS that the module provides, even before it becomes an official W3C specification.

References

  1. A. V. Aho and J. D. Ullman. Principles of Compiler Design. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. B. Bos and C. Acebal. CSS Template Layout Module. W3C Working Draft 29 April 2010, 2010. http://www.w3.org/TR/2010/WD-css3-layout- 20100429/.Google ScholarGoogle Scholar
  3. C. Braganza, K. Marriott, P. Moulder, M. Wybrow, and T. Dwyer. Scrolling behaviour with single- and multi-column layout. In Proceedings of the 18th international conference on World wide web - WWW '09, page 831, New York, NY, USA, Apr. 2009. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. F. Buschmann, R. Meunier, H. Rohnert, P. Sommerlad, and M. Stal. Pattern-oriented software architecture: a system of patterns. John Wiley & Sons, Inc., New York, NY, USA, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. Edwards. IE7, 2008. http://dean.edwards.name/IE7/.Google ScholarGoogle Scholar
  6. C. Fernández Acebal. ALMcss : separación de estructura y presentación en la Web mediante posicionamiento avanzado en CSS (ALMcss: Separation between Structure and Presentation on the Web with CSS Advanced Layout). Phd thesis, Universidad de Oviedo, 2010.Google ScholarGoogle Scholar
  7. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design patterns: elements of reusable object-oriented software. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. C. Jacobs, W. Li, E. Schrier, D. Bargeron, and D. Salesin. Adaptive grid-based document layout. ACM Transactions on Graphics, 22(3):838, July 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Resig. The DOM Is a Mess, 2009. http://yuilibrary.com/theater/john-resig/resig-dom/.Google ScholarGoogle Scholar
  10. A. Robinson. In search of the One True Layout, 2005. http://www.positioniseverything.net/articles/onetruelayout/.Google ScholarGoogle Scholar
  11. C. Savarese. Introducing the CSS3 Multi-Column Module. A List Apart, 2005. http://www.alistapart.com/articles/css3multicolumn.Google ScholarGoogle Scholar

Index Terms

  1. ALMcss: a javascript implementation of the CSS template layout module

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          DocEng '12: Proceedings of the 2012 ACM symposium on Document engineering
          September 2012
          256 pages
          ISBN:9781450311168
          DOI:10.1145/2361354

          Copyright © 2012 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 4 September 2012

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate178of537submissions,33%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader