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

unrecognized psuedos with arguments parse as declaration-values #2990

Merged
merged 1 commit into from
Oct 4, 2019

Conversation

jquense
Copy link
Contributor

@jquense jquense commented Sep 16, 2019

See sass/sass-spec#1462

fixes #2424, fixes #2944 I think.

Not a c++ dev so please forgive me if this is bad 🙏 It seems to work, i've added a few tests and removed some existing TODO's but i guess i need to PR those to the spec repo directly. I'm not sure on the order of operations on that...

I didn't know know how to parse the unknown case, so reused the css custom variable logic since I think they should be the same, or close?

@nschonni
Copy link
Collaborator

Think you might need to enable some sass-spec tests to make sure this is working.
You can see the format used by the PR description so that libsass and sass-spec can test runs for particular PRs in #2949

@jquense
Copy link
Contributor Author

jquense commented Sep 17, 2019

Yes PR for that coming soon, took me a bit to get the repo setup, but I think I've got it now. We'll send over

Copy link
Contributor

@mgreter mgreter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @jquense !

@mgreter mgreter merged commit 04a234a into sass:master Oct 4, 2019
@jquense jquense deleted the parse-unknown-psuedos branch March 31, 2020 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libsass throws on non-selector psuedo selector params Parse pseudo selector arguments as declaration values
3 participants