Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate content property removed #471

Open
JDrizzy opened this issue Sep 26, 2023 · 0 comments
Open

Duplicate content property removed #471

JDrizzy opened this issue Sep 26, 2023 · 0 comments

Comments

@JDrizzy
Copy link

JDrizzy commented Sep 26, 2023

The content property allows for an alternative text value which is not supported in Firefox and Safari. A library that I'm using works around this issue by including a content value twice. This is to ensure a sort icon is always displayed regardless of browser support.

Using the latest version of CSSO (5.0.5) breaks this icon display for all browsers since the duplicate content value is removed.

Input

.test:before {
  content: "▲";
  content: "▲"/"";
}

Output

.test:before{content:"▲"/""}

Expected

.test:before{content:"▲";content:"▲"/""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant