alpinejs / alpine

A rugged, minimal framework for composing JavaScript behavior in your markup.
https://alpinejs.dev
MIT License
27.92k stars 1.22k forks source link

:construction: Updates List of boolean attributes to follow spec #4325

Closed ekwoka closed 1 month ago

ekwoka commented 1 month ago

This PR simply updates the list of Boolean Attributes to follow updates in the spec, as well as moves the list out of the function and into a set for improved performance (and sorting my alphabet to make updates easier).

The actual attribute changes are

- allowpaymentrequest
+ inert
+ shadowrootclonable
+ shadowrootdelegatesfocus
+ shadowrootserializable

allowpaymentrequest was deprecated a long time ago, so I vote for removal.

Not included is credentialess which is a draft attribute, but is supported by everything except FireFox.

calebporzio commented 1 month ago

great, thanks!