Bug 254269
| 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 | ||
Vitor Roriz
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: "";
}
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107053810>
Vitor Roriz
Pull request: https://github.com/WebKit/WebKit/pull/11810
Vitor Roriz
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/39143
EWS
Committed 261971@main (140b74df15a9): <https://commits.webkit.org/261971@main>
Reviewed commits have been landed. Closing PR #11810 and removing active labels.