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

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

Open
rolfen opened this issue Nov 1, 2017 · 0 comments
Open

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

rolfen opened this issue Nov 1, 2017 · 0 comments

Comments

@rolfen
Copy link
Contributor

rolfen commented Nov 1, 2017

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.
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