Re: [csswg-drafts] [css-lists] Serialization of counter-increment/set/reset (#4216)

Current implementations observed using https://jsfiddle.net/ericwilligers/f243bvn8/

Firefox / Edge 18:
When serializing specified or resolved value, every author-supplied value appears, in the author-supplied order.

Blink / Safari:
When serializing specified value, every author-supplied value appears, in the author-supplied order.
When serializing resolved value, each counter-name only appears once, in arbitrary order (e.g. "end" before "begin"). Blink's implementation uses a [hash table](https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/style/counter_directives.h?q=CounterDirectiveMap&sq=package:chromium&l=109&dr=CSs).


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4216#issuecomment-529053130 using your GitHub account

Received on Saturday, 7 September 2019 00:20:05 UTC