On 2014-03-12, 7:07 PM, Xidorn Quan wrote:
We're planning to ship @counter-style rule and associated API
CSSCounterStyleRule.
Spec: http://dev.w3.org/csswg/css-counter-styles/
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=966166
This new rule allows authors to defined their own counter styles which
can be used in list-style-type and counter()/counters().
The spec is transiting to CR:
http://lists.w3.org/Archives/Public/www-style/2014Jan/0610.html
Thanks. It seems like dbaron is in favor if shipping this. I think
that's a good idea.
Looking at the implementation[1], it seems like you're exposing a new
CSS-OM API (through nsIDOMCSSCounterStyleRule). Is that correct?
It's sad to see us ship a new feature using the old XPConnect based DOM
bindings, as we have been transition to the new WebIDL based bindings
[2]. That being said, doing that probably means doing the work to
expose the base interface (nsIDOMCSSRule) as well. Do you mind doing
this before landing this code please?
[1] https://bug966166.bugzilla.mozilla.org/attachment.cgi?id=8389791
[2] https://developer.mozilla.org/en/Mozilla/WebIDL_bindings
Thanks!
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform