- Notifications
You must be signed in to change notification settings - Fork22
Fix: Compute the task list item index correctly.#26
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
chanakyabhardwajj commentedAug 2, 2021
@koddsson Could you please review again? |
chanakyabhardwajj commentedAug 4, 2021
@github/web-systems-reviewers I would appreciate if you could review this PR. |
koddsson commentedAug 4, 2021
Sorry, this wasn't showing up in the first responder queue because the reviewer's team wasn't requested. It is now, but I'll take this on. |
koddsson left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good to me ✨
Uh oh!
There was an error while loading.Please reload this page.
Fixes#25
Problem
If a task list contained elements other than task list items (for example
<a>) then the position of the checked/unchecke task list item was being calculated incorrectly.Fix
The position of a task list item should be computed using only other task list items (and ignoring any other elements).