Ticket #7257 (closed enhancement: fixed)
Core: optimize :tabbable
| Reported by: | adambaratz | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.core | Version: | 1.8.11 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The :tabbable selector is dependent on the :focusable selector. Both pull the tabindex attribute on each element they check. Some milliseconds can be shaved by reusing this value. It's a slight gain, but since :tabbable is run during Dialog initialization, complex dialogs can have real gains from this.
Change History
comment:2 Changed 2 years ago by adambaratz
- Status changed from new to closed
- Resolution set to fixed
Core: reuse tabindex value. Fixed #7257 - optimize :tabbable.
Changeset: fe3b36b8efcabf3d1f1d60523cae87c69a882f27
comment:3 Changed 2 years ago by adambaratz
Core: reuse tabindex value. Fixed #7257 - optimize :tabbable. (cherry picked from commit fe3b36b8efcabf3d1f1d60523cae87c69a882f27)
Changeset: 96f6b1a7db1e3bc74de66153cf9be80152e04430
Note: See
TracTickets for help on using
tickets.


https://github.com/adambaratz/jquery-ui/commit/a847d8644a5102939e13133e5d8601e856d814a9