- From: <bugzilla@jessica.w3.org>
- Date: Mon, 28 Apr 2014 05:03:32 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25475 --- Comment #2 from Jim Michaels <jmichae3@yahoo.com> --- the counter itself would probably be implemented probably an int or int64_t (c++) or a Number (js) for the case of system:numeric; (implies an integer counter number I should think?)). the rest is simple number-base conversion. the digits you extract from the counter value) http://jesusnjim.com/programming/number-base-conversion.html#nbc-btb http://jesusnjim.com/programming/number-base-conversion.html#algorithm-tostring note the summation equation. it's short (the first part, there are several = signs... from what I saw of the examples in the counter-style stuff, it appears to be a base-n counter where n is the number of symbols. cool stuff. hope this comment helps someone for implementation. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 28 April 2014 05:03:33 UTC