flukeout / css-diner

CSS Diner
http://cssdiner.com
Mozilla Public License 2.0
2.72k stars 343 forks source link

Too limited selector support #82

Open jslegers opened 10 years ago

jslegers commented 10 years ago

When I look at the first level, each of the following would be valid selectors :

And that's just some of the many valid selector options. Yet, plate and plate:empty are the only two selectors in this list that actually work. I noticed the problem persists in other levels as well.

While I really love what you're trying to do and I believe this could be a very useful tool to teach even elementary school kids how to code in CSS, I believe the CSS selector support is still much too limited to be useful for that purpose.

Nevertheless, lots of kudos for this amazing idea and this project as an early prototype ! !

flukeout commented 10 years ago

Hey, thanks for the feedback! I scoped all of the selectors the user types in to already look inside the .table div, which is why none of the ones you listed work. It's an easy change to make all of the selectors you listed work, so I'll put that on my to-do list. Thanks again, man!

barnettjw commented 10 years ago

Related to issue #20