W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: [CSSOM] CSSRule.NAMESPACE_RULE

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 12 Mar 2010 23:49:18 +0100
Message-ID: <4B9AC4EE.9060108@disruptive-innovations.com>
To: Simon Fraser <smfr@me.com>
Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Le 12/03/10 19:14, Simon Fraser a écrit :

> It seems that the real problem here is that we use raw numeric
> values for CSSRulel types. If rule types were identified by a
> string label, or if we could force authors to always use the
> constant values on CSSRule (maybe by some trick like making the
> type opaque, if IDL allows that), then we wouldn't have this problem.

I suspect string labels are never going to happen because of the huge
footprint impact it would have on systems like Gecko that are entirely
CSS-based. Honestly, we (and I mean the CSS WG and globally the W3C
here) should be able to maintain a repository of integers... It's not
_that_ hard.

</Daniel>
Received on Friday, 12 March 2010 22:49:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:43 UTC