- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 30 May 2013 10:36:05 -0700
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: John Daggett <jdaggett@mozilla.com>, www-style list <www-style@w3.org>
On Thu, May 30, 2013 at 1:09 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > The idea is that CSSPageRule would inherit from CSSGroupingRule in addition > to providing a CSSStyleDeclaration style attribute. The margin rules inside > @page would be represented by new sub-types of CSSRule. I’m not sure yet if > we should define 16 different types (and corresponding constants) or just > one with an at_keyword or similar attribute. The latter. The fact that they have different names is just a syntactic convenience; they're otherwise identical besides their name, and so should expose the same interface, with an attribute identifying them. ~TJ
Received on Thursday, 30 May 2013 17:36:58 UTC