Skip to content

Fix incorrect nesting notations#20

Merged
scottdejonge merged 3 commits intoturretcss:masterfrom
gian-reto:css-nesting
Apr 7, 2018
Merged

Fix incorrect nesting notations#20
scottdejonge merged 3 commits intoturretcss:masterfrom
gian-reto:css-nesting

Conversation

@gian-reto
Copy link
Contributor

When I tried using turretcss with purifycss I stumbled upon 3 parsing errors due to "incorrect" nesting (based on this draft of the CSS Nesting spec).

While I was at it, I also fixed a value error which was already mentioned in the pull request #18 (I was worried it might cause additional issues with purifycss).

This is my first pull request in a long time, so I'd appreciate the feedback if I did something the wrong way 🎉!

gian-reto added 3 commits April 6, 2018 21:45
W3C CSS Validator detects a Value Error: font Parse Error :~"0/0" a
This commit fixes 3 parse errors found by the W3C CSS Validator due to
incorrect nesting. Per CSS Nesting spec, a nesting selector is
mandatory.
@scottdejonge
Copy link
Contributor

Wow! this is great. Good catch on the nested items!

@scottdejonge scottdejonge merged commit f9fcbe1 into turretcss:master Apr 7, 2018
@gian-reto gian-reto deleted the css-nesting branch April 7, 2018 13:12
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

Successfully merging this pull request may close these issues.

2 participants