[webkit-dev] CSSGroupingRule and a bit of refactoring?

Tab Atkins Jr. jackalmage at gmail.com
Thu Dec 20 17:33:47 PST 2012


On Thu, Dec 13, 2012 at 2:12 PM, Antti Koivisto <koivisto at iki.fi> wrote:
> We already have internal type corresponding to the new CSSGroupingRule,
> StyleRuleBlock. Technically refactoring the CSSOM like this would be fairly
> trivial.
>
> It is not clear to me what value this new type adds though. In JS you don't
> really care if types have a common base as long as they share similar
> looking interface. Are there some concrete use cases?

No, it's just a refactoring on the CSS side, so we don't have to
repeat a bunch of stuff every time we have an at-rule that contains
other rules.  It just makes the WebIDL easier and less error-prone.

~TJ


More information about the webkit-dev mailing list