Constraint-Based Document Layout for the Web

Authors: Alan Borning, Richard Lin, and Kim Marriott

Multimedia Systems, Vol. 8 No. 3, 2000, pages 177-189.


Abstract

Constraints can be used to specify declaratively the desired layout of a web document. We present a system architecture in which both the author and the viewer can impose page layout constraints, some required and some preferential. The final appearance of the web page is thus the result of negotiation between author and viewer, where this negotiation is carried out by solving the set of required and preferential constraints imposed by both parties. We identify two plausible system architectures, based on different ways of dividing the work of constraint solving between web server and web client. We describe a prototype constraint-based web authoring system and viewing tool that provides linear arithmetic constraints for specifying the layout of the document as well as finite domain constraints for specifying font size relationships. Finally, we provide an empirical evaluation of the prototype.


full paper (.ps.gz)

Constraints home page