Skip to content

Duplicate content property removed  #471

@JDrizzy

Description

@JDrizzy

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:"▲"/""}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions