Re: [csswg-drafts] [css-counter-styles] range fallback is neither widely implemented nor sensible as specified

> (2) remove range properties from the normative stylesheets and allow UAs to do better than 10,000

Removing range from the stylesheets doesn't make sense; styles like Armenian *are only defined* over certain ranges. The rule can technically generate higher values, but it would just be total nonsense.  If you wanted UAs to be able to do better than the specified range, that's something we could do with an explicit allowance, but the rule as written needs 'range'.

> (3) move range and fallback to level 4, and stylesheet authors would just have to define numbering (or use predefined numbering) if they needed higher values - without requiring the UA to fail at 10,000.

So what do you get when you do use a larger number than it's intended for? Just a really really huge representation? That seems like a bad thing to have happen by default.

----

We also still need some rule for what happens when a counter style simply *can't* generate a representation for a particular value, like an additive style where all the weights are even (can't generate reprs for odd values).  This falls back to decimal today, and I can't see any other possible way to do this.

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

Received on Wednesday, 28 March 2018 20:05:45 UTC