| Summary: | @counter-styles: Single symbol "" does not behave correctly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vitor Roriz <vitor.roriz> |
| Component: | CSS | Assignee: | Vitor Roriz <vitor.roriz> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/39143 | ||
Pull request: https://github.com/WebKit/WebKit/pull/11810 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/39143 Committed 261971@main (140b74df15a9): <https://commits.webkit.org/261971@main> Reviewed commits have been landed. Closing PR #11810 and removing active labels. |
For a system that accepts a single symbol, like cyclic, if we input a symbol that is an empty string, the text representation is being considered invalid and it is falling back to 'decimal'. This is is wrong, since empty string is a valid string. Example: @counter-style foo { system: cyclic; symbols: "" "@"; prefix: ""; suffix: ""; }