W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css-page] OM for margin rules (was: [css3-fonts][cssom] CSSFontFeatureValuesRule vs. CSSKeyframesRule)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 30 May 2013 10:36:05 -0700
Message-ID: <CAAWBYDAMc+eOWZXf9YC0au_=Ut+mf7-gyBXnvLpvERbJ1MH8aw@mail.gmail.com>
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

Received on Thursday, 30 May 2013 17:36:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC