|Summary:||element.tabIndex returns 0 for <frameset> and <legend> elements|
|Product:||WebKit||Reporter:||Richard Barrell <robarrell>|
|Status:||RESOLVED CONFIGURATION CHANGED|
|Severity:||Normal||CC:||ahmad.saleem792, ap, cdumez, rniwa, tyler_w|
|Version:||528+ (Nightly build)|
Description Richard Barrell 2010-07-21 09:51:22 PDT
Comment 1 Richard Barrell 2010-07-21 10:17:44 PDT
Just for reference, I've just dug out the office iPad and tried the same page in Safari on that, and I get the same result as in every other Webkit browser.
Comment 2 Ahmad Saleem 2022-06-02 11:35:09 PDT
Created attachment 459968 [details] Safari 15.5 matches other browsers (except one case differs from Chrome) I noted using attached test case that Safari 15.5 on macOS 12.4 matches Firefox Nightly 104 behavior by returning -1 and also shows all activeElements depending on frames and tabIndex returning same. Only difference was for "after legend.focus()" in Chrome, which returned "BODY" different from Safari and Chrome. Please refer attached screenshots for the updated results. I am not familiar with relevant web spec to identify which is correct behaviour but just wanted to share updated output.
Comment 3 Ryosuke Niwa 2022-06-30 13:49:56 PDT
Gecko & WebKit behave correctly here.