Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 2012 Publication 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.
[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/.
[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.
[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.
[5]
D. Edwards. IE7, 2008. http://dean.edwards.name/IE7/.
[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.
[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.
[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.
[9]
J. Resig. The DOM Is a Mess, 2009. http://yuilibrary.com/theater/john-resig/resig-dom/.
[10]
A. Robinson. In search of the One True Layout, 2005. http://www.positioniseverything.net/articles/onetruelayout/.
[11]
C. Savarese. Introducing the CSS3 Multi-Column Module. A List Apart, 2005. http://www.alistapart.com/articles/css3multicolumn.

Cited By

View all
  • (2016)Language design and implementation for the domain of coding conventionsProceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering10.1145/2997364.2997386(90-104)Online publication date: 20-Oct-2016
  • (2015)AEROProceedings of the 2015 ACM Symposium on Document Engineering10.1145/2682571.2797084(187-190)Online publication date: 8-Sep-2015
  • (2015)The Browser as a Document Composition EngineProceedings of the 2015 ACM Symposium on Document Engineering10.1145/2682571.2797063(3-12)Online publication date: 8-Sep-2015

Recommendations

Comments

Information & Contributors

Information

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
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]

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 04 September 2012

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. CSS
  2. CSS3
  3. W3C
  4. browsers
  5. javascript
  6. layout
  7. web standards

Qualifiers

  • Research-article

Conference

DocEng '12
Sponsor:
DocEng '12: ACM Symposium on Document Engineering
September 4 - 7, 2012
Paris, France

Acceptance Rates

Overall Acceptance Rate 194 of 564 submissions, 34%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2016)Language design and implementation for the domain of coding conventionsProceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering10.1145/2997364.2997386(90-104)Online publication date: 20-Oct-2016
  • (2015)AEROProceedings of the 2015 ACM Symposium on Document Engineering10.1145/2682571.2797084(187-190)Online publication date: 8-Sep-2015
  • (2015)The Browser as a Document Composition EngineProceedings of the 2015 ACM Symposium on Document Engineering10.1145/2682571.2797063(3-12)Online publication date: 8-Sep-2015

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media