-
Notifications
You must be signed in to change notification settings - Fork 788
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
[CSS] Descendant type selectors can't have a numeric in their name #1836
Labels
bug
Something isn't working
Comments
davep
added a commit
to davep/textual-sandbox
that referenced
this issue
Feb 19, 2023
davep
added a commit
to davep/textual
that referenced
this issue
Feb 19, 2023
This was referenced Feb 19, 2023
davep
added a commit
that referenced
this issue
Feb 20, 2023
Allow numbers in descendant-combined type selectors (fix #1836)
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
davep
added a commit
to davep/textual
that referenced
this issue
Mar 14, 2023
The start of what will hopefully become a one-stop comprehensive test of all the fun corners of stylesheet parsing. While not intended to replace all the other unit tests for CSS, this test should help to quickly and easily be sure that nothing breaks any valid CSS. Influenced by Textualize#1253 and Textualize#1836 this code starts the process of implementing the requirement outlined in Textualize#1838. Adding more rules -- simple and/or weird -- that are expected and known to parse without a problem is encouraged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following code:
When run we get the following error:
The same thing happens with
Vertical LabelH1
. On the other hand, if I remove the number from the inherited label widget:this works fine. Likewise, if I retain the name but don't use combination:
that also works fine.
I would suspect a variation on #1253.
The text was updated successfully, but these errors were encountered: