W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [cssom][css3-page] OM for margin at-rules

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 25 Feb 2013 08:35:57 +0100
Message-ID: <512B145D.10406@disruptive-innovations.com>
To: www-style@w3.org
On 24/02/13 19:21, Simon Sapin wrote:

> As described there, my suggestion is to add a .cssRules attribute (that
> would be similar to that of CSSMediaRule) in addition to the existing
> .style attribute that contains declarations.

Or Mozilla's CSSGroupingRule.

> This API does not preserve the relative position of margin at-rules
> compared to declarations, but thatís ok IMO since that position is not
> significant. Serialization *should* write at-rules after declarations to
> mitigate broken parsers in older UAs.

Whatever the solution, I want it discussed AND stabilized. I am fed
up with solutions that are not editable. Editability is the root of my
business and my income...

Received on Tuesday, 21 January 2014 19:31:41 UTC

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