-
Notifications
You must be signed in to change notification settings - Fork 756
Description
Hi everybody,
Counter styles specification says at https://www.w3.org/TR/css-counter-styles-3/#counter-styles:
Note: prefix and suffix don’t play a part in this algorithm. This is intentional; the prefix and suffix aren’t part of the string returned by the counter() or counters() functions. Instead, the prefix and suffix are added by the algorithm that constructs the value of the content property for the ::marker pseudo-element. This also implies that the prefix and suffix always come from the specified counter-style, even if the actual representation is constructed by a fallback style.
However, some related WPT tests (below) expects that the suffix and prefix come from the fallback style:
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/suffix-fallback.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/system-additive.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/system-alphabetic.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/system-extends.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/system-symbolic.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/fallback-cycle.html
imported/w3c/web-platform-tests/css/css-counter-styles/counter-style-at-rule/descriptor-prefix.html
I've created a related issue at the WPT repo (web-platform-tests/wpt#38772) since there were related changes to the expected values here web-platform-tests/wpt@90a953f
I'd like to clarify what the proper behavior should be.