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

Mutating the tabindex content attribute isn't changing focusability #25713

Closed
pshaughn opened this issue Feb 9, 2020 · 1 comment
Closed

Mutating the tabindex content attribute isn't changing focusability #25713

pshaughn opened this issue Feb 9, 2020 · 1 comment

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Feb 9, 2020

I'm not sure whether there's a specific test for adding tabindex, but html/interaction/focus/processing-model/focus-fixup-rule-one-no-dialogs.html case "Removing the tabindex attribute from a div" tests removing it and fails.

Servo only checks for tabindex in HTMLElement::update_sequentially_focusable_status, which is only called from HTMLElement::bind_to_tree, so any changes to the attribute on an already-inserted node will have no effect on focusability (unless the node happens to also get inserted into a tree again).

@jdm jdm added this to To do in web-platform-test failures via automation Feb 10, 2020
@jdm jdm added the A-content/dom label Feb 10, 2020
bors-servo added a commit that referenced this issue Feb 13, 2020
sketching ElementInternals

Form-associated elements are now working.

Remaining test failures in custom-elements/form-associated/ are:
* whatwg/html#4658 hasn't made it into the standard yet, and ElementInternals-accessibility is all about that functionality.
* ElementInternals-setFormValue hits many race conditions with our iframe order of operations. Isolating just the "submit this form with these custom elements, look at the query" part, the payload of each test actually does pass! Running the tests as written, we end up with different tests overwriting each other's elements and getting very confused. One problem is the about:blank double-load-event thing, but fixing that doesn't fix everything.
* ElementInternals-validation doesn't work because we don't have form validation in general; I've commented the relevant stubs.
* ElementInternals-form-disabled-callback fails on #25713.
@jdm
Copy link
Member

@jdm jdm commented Jun 19, 2020

This was fixed by #26902.

@jdm jdm closed this Jun 19, 2020
web-platform-test failures automation moved this from To do to Done Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.