Browser compatibility guides

DOMTokenList.length

Which browsers can use this member of the DOMTokenList interface?

Browser support

By , all four targets had shipped the implementation listed below. Devices still running an older browser can need a fallback.

First release of the recorded unqualified implementation
BrowserVersionRelease date
Chrome82010-12-02
Firefox3.62010-01-21
Safari on macOS5.12011-07-20
Safari on iOS52011-10-12

What to test before release

Run the user journey that reaches DOMTokenList.length on your oldest supported browser. Test what the user sees if that member is unavailable. Record whether the task still finishes, which fallback ran, and whether the result was saved correctly.

The table describes implementation availability. Device capabilities, the execution context, and user permissions can affect runtime behavior. Read the MDN reference for length.

More from DOMTokenList

Growth Purple engineering reference. Version comparisons use MDN Browser Compatibility Data v8.1.10, snapshot 2026-11-19, released under CC0.