alpinejs / alpine

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

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

Closed ekwoka closed 3 months ago

ekwoka commented 3 months 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 3 months ago

great, thanks!