Created attachment 417680 [details] LayoutTest testcase to overwrite tabindex with non-integer value According to the spec, non-integer and omitted tabindex have the same behavior. https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex Current WebKit implementation doesn't overwrite the internal tabindex value when new tabindex is non-integer. As a result, its behavior is not changed from the previous tabindex. Attached testcase shows the compatibility problem the other browsers. If it's opened in WinCairo MiniBrowser/Safari TP 118, it shows "FAIL". But on Firefox/Chrome, it shows "PASS". I already created the patch, so we'll post another attachment soon.
Created attachment 417681 [details] patch Patch
Seems sensible.
Committed r271523: <https://trac.webkit.org/changeset/271523> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417681 [details].
<rdar://problem/73250245>
Thanks for your review and merging!