Open
Bug 1377414
Opened 7 years ago
Updated 2 years ago
Gecko treat 'none' as a predefined counter style, while stylo treat it as a separate keyword value
Categories
(Core :: CSS Parsing and Computation, enhancement, P5)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: xidorn, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [stylo])
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.
Updated•7 years ago
|
Whiteboard: [stylo]
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Updated•7 years ago
|
Priority: P3 → P5
Comment 1•7 years ago
|
||
Marking as part of documentation plan for intentional stylo differences
Keywords: dev-doc-needed
Comment 2•7 years ago
|
||
Documented:
https://developer.mozilla.org/en-US/docs/Web/CSS/@counter-style#Quantum_CSS_notes
Is this description OK?
Keywords: dev-doc-needed → dev-doc-complete
Reporter | ||
Comment 3•7 years ago
|
||
That description is opposite. Gecko allows "none" in those places, while Stylo doesn't. The spec was updated recently to reflect Stylo's behavior.
Comment 4•7 years ago
|
||
(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.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
Comment 5•7 years ago
|
||
status-firefox59:
--- → ?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•