- From: Ludger Bünger <ludger.buenger@realobjects.com>
- Date: Thu, 04 Oct 2007 10:09:05 +0200
- To: Anne van Kesteren <annevk@opera.com>
- CC: www-style@w3.org
Hello Mr. van Kesteren
After shortly reviewing http://dev.w3.org/csswg/cssom/ we discovered 
that we still have trouble how page margins in page rules will be 
represented in CSSOM.
The current CSSPageRule has no notion about page margins and simply 
returning just a CSSStyleDeclaration does not suffice since a page rule 
consists of alternating style declarations and margins according to 
http://dev.w3.org/csswg/css3-page/#page-selector-and-context:
page <http://dev.w3.org/csswg/css3-page/#page> :
       PAGE_SYM S* IDENT? pseudo_page? S* 
       '{' S* [ declaration | margin ]? [ ';' S* [ declaration | margin ]? ]* '}' S*
       ;
As far as I see, currently there is no concept for enumerating 
alternating style declarations and margin rules, is there?
Furthermore we probably will also need an om-representation for margin 
rules then, which should not be to difficult, will we?
Something like
interface CSSMarginRule : CSSRule <http://dev.w3.org/csswg/cssom/#cssrule> {
           attribute DOMString margin <http://dev.w3.org/csswg/cssom/#cssstylerule-selectortext>;
  readonly attribute CSSStyleDeclaration <http://dev.w3.org/csswg/cssom/#cssstyledeclaration> style <http://dev.w3.org/csswg/cssom/#cssstylerule-style>;
};
Have these issues already been adressed in an internal discussion or 
have they only been unattended so far?
Best regards,
Ludger
-- 
Dipl-Inf. Ludger Bünger
PDFreactor Product Development
- - - - - - - - - - - - - - - -
RealObjects GmbH
Altenkesseler Str. 17/B4
66115 Saarbrücken, Germany
Tel +49 (0)681 98579 0
Fax +49 (0)681 98579 29
http://www.realobjects.com
- - - - - - - - - - - - - - - -
Commercial Register: Amtsgericht Saarbrücken, HRB 12016
Managing Directors: Michael Jung, Markus Neurohr
VAT-ID: DE210373115
Received on Thursday, 4 October 2007 08:09:13 UTC