On Thu, Dec 13, 2012 at 2:12 PM, Antti Koivisto <[email protected]> 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
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to