Constraint cascading style sheets for the Web

Constraint cascading style sheets for the Web
复制标题

Web 的约束级联样式表

DOI:
10.1145/320719.322588
复制
发表时间:
1999
期刊:
25th International Conference on Software Engineering, 2003. Proceedings.
影响因子:
--
通讯作者:
Peter James Stuckey
Peter James Stuckey
中科院分区:
--
文献类型:
--
作者:
Greg J. Badros;A. Borning;K. Marriott;Peter James Stuckey

文献摘要

被引文献

相似文献

级联样式表是由W3C引入的,作为控制HTML文档外观的一种机制。在本文中,我们演示了如何约束提供了一个强大的统一的形式主义声明性的理解和指定Web文档的样式表。有了约束,我们可以自然地、声明性地指定复杂的行为,比如属性的继承和冲突样式规则的级联。我们给出了一个基于约束的样式表模型,CCSS,这是几乎所有的CSS 2.0规范兼容的详细描述。它允许更灵活的布局规范,并且还允许设计者提供更好地满足用户的期望和环境限制的多种布局。我们还描述了一个原型扩展的Amaya浏览器,证明了CCSS的可行性。
Cascading Style Sheets have been introduced by the W3C as a mechanism for controlling the appearance of HTML documents. In this paper, we demonstrate how constraints provide a powerful unifying formalism for declaratively understanding and specifying style sheets for web documents. With constraints we can naturally and declaratively specify complex behavior such as inheritance of properties and cascading of conflicting style rules. We give a detailed description of a constraint-based style sheet model, CCSS, which is compatible with virtually all of the CSS 2.0 specification. It allows more flexible specification of layout, and also allows the designer to provide multiple layouts that better meet the desires of the user and environmental restrictions. We also describe a prototype extension of the Amaya browser that demonstrates the feasibility of CCSS.