Skip to content

[dir] Selectors in input are not well supported #14

@rolfen

Description

@rolfen

Input

[dir="ltr"] fl {
	float:right;
}

Output

[dir="ltr"] fl {
	float:right;
}

html[dir="ltr"] [dir="ltr"] fl {
}

html[dir="rtl"] [dir="ltr"] fl {
}

There may be two issues here:

  • [dir] selectors in input are a spacial case should be ignored or better handled.
  • Maybe empty declarations should not be printed. As a workaround, I'm using postcss-discard-empty to filter them out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions