-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Should step 7 of https://html.spec.whatwg.org/#hide-popover-algorithm be a while loop? #9468
Comments
Sorry, I was wrong. Looks like 6.6 of hide popovers until could make sure element is the last element of auto popover list. So there is no need to repeat in hidepopover. Maybe we could remove this? "If the last item in document's auto popover list is element, then break." |
Oh weird, this definitely isn't right. It looks like I changed this from an assert to a check in this PR: #9198 |
Ok, I think the reason that I mistakenly added that break is because I was trying to get this chromium patch into the spec and I was going to make it a while(true) loop or something - the condition of the break matches the condition of the I'll make a spec PR shortly to get this fixed |
Fixes whatwg#9468 I mistakenly added and modified this check while speccing a chromium patch in this PR: whatwg#9198
Spec PR: #9528 |
I mistakenly added and modified this check in whatwg#9198. Fixes whatwg#9468.
Currently it's an if condition, followed by a
break
in step 7.3.@cathiechen @josepharhar
The text was updated successfully, but these errors were encountered: