Open Bug 1377414 Opened 5 years ago Updated 4 years ago
Gecko treat 'none' as a predefined counter style, while stylo treat it as a separate keyword value
This is a recent spec change from w3c/csswg-drafts#1295. The only effective difference as far as I can see is that "system" and "fallback" descriptors of @counter-style rule would reject 'none' as a valid value, which is currently valid in Gecko. Also, there is some inconsistency from this currently, that the counter style rule object is still implemented in Gecko side, which means it still uses the grammar from Gecko. So although the parsing (implemented in Servo) would reject 'none' in those cases, if you set it via CSSOM, that would still be accepted. This inconsistency would be fixed in the future after we drop the current style system. This shouldn't cause any real issue, but it is still a behavior change we may want to track.
Marking as part of documentation plan for intentional stylo differences
Documented: https://developer.mozilla.org/en-US/docs/Web/CSS/@counter-style#Quantum_CSS_notes Is this description OK?
That description is opposite. Gecko allows "none" in those places, while Stylo doesn't. The spec was updated recently to reflect Stylo's behavior.
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #3) > That description is opposite. Gecko allows "none" in those places, while > Stylo doesn't. The spec was updated recently to reflect Stylo's behavior. Thanks for catching this; I've fixed it now.
You need to log in before you can comment on or make changes to this bug.