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

Css improvements 2022: combinators, attribute-selectors, and :checked #809

Merged
merged 13 commits into from
Feb 5, 2024

Conversation

ArneBab
Copy link
Contributor

@ArneBab ArneBab commented Dec 10, 2022

  • Support CSS combinators, i.e. a ~ b
  • support more attribute selectors
  • support :checked

@ArneBab ArneBab force-pushed the css-improvements-2022 branch 2 times, most recently from 179e0cd to 135a9e0 Compare December 10, 2022 17:12
@ArneBab ArneBab changed the title Css improvements 2022 Css improvements 2022: combinators, attribute-selectors, and :checked Dec 29, 2022
@ArneBab
Copy link
Contributor Author

ArneBab commented Sep 5, 2023

Added tests and fixed a bug that caused only the first char of the key in a[foo$=bar] to be checked, so $= was accepted — falsely.

Found that bug because the test succeeded even after I removed the changes — unexpected success pointed to a bug ☺

Also simplified the implementation for ~, because > and + were already supported, I just hadn’t spotted that. Found while adding the test.

@ArneBab ArneBab force-pushed the css-improvements-2022 branch from e96b018 to 20e056b Compare September 5, 2023 19:54
@ArneBab ArneBab requested a review from Bombe September 5, 2023 19:55
@ArneBab ArneBab force-pushed the css-improvements-2022 branch from 6dff862 to bc3a20d Compare September 7, 2023 08:25
@ArneBab ArneBab force-pushed the css-improvements-2022 branch from 839599b to 4e18c49 Compare January 30, 2024 21:38
@ArneBab
Copy link
Contributor Author

ArneBab commented Jan 30, 2024

@Bombe I fixed the merge conflicts and force pushed the result — is this good to go?

@ArneBab ArneBab merged commit b3887bf into next Feb 5, 2024
1 check passed
@ArneBab
Copy link
Contributor Author

ArneBab commented Feb 5, 2024

Merged — thank you for your review!

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