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

New Scoped css support doesn't render child combinators right #200

Open
sidjai opened this issue Oct 29, 2018 · 0 comments
Open

New Scoped css support doesn't render child combinators right #200

sidjai opened this issue Oct 29, 2018 · 0 comments

Comments

@sidjai
Copy link

sidjai commented Oct 29, 2018

Description of Issue

Tried to update to 5.7.1 from 5.6.x and all the css with child combinators didn't get attached in the render. Scoped css renders the data attribute on the child instead of first element which I think caused this.

Stack Trace / Console Log

input ( in file )
.top > child

expect ( in render ):
.top[data-thing] > child

Actual ( in render ):
.top > child[data-thing]

Additional Comments

Should follow this I think: https://vue-loader.vuejs.org/guide/scoped-css.html#deep-selectors

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