mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-03-06 05:59:06 +00:00
htmx-quirks-mode
Reverts htmx 4.0 behavior to be closer to 2.0 behavior.
Features
- Restores implicit attribute inheritance for select attributes
- Reverts default swap behavior to
innerHTML
Installation
npm install
Testing
Run tests in Chrome (default):
npm test
Run tests in specific browsers:
npm run test:chrome
npm run test:firefox
npm run test:webkit
Run tests in all browsers:
npm run test:all
Open manual test page:
open test/test.html
Inherited Attributes
The following attributes are inherited from parent elements in quirks mode:
hx-indicatorhx-disabled-elthx-includehx-targethx-boosthx-paramshx-swaphx-encodinghx-confirmhx-synchx-prompthx-push-urlhx-replace-urlhx-select-oobhx-select
Build
Build the distribution files:
npm run build