Jonathan Rietveld 7ef95e8963
Allow CSS selectors with whitespace in hx-trigger (#1913)
* Allow CSS selectors with whitespace in `hx-trigger`

Parsing of `hx-trigger` scans for whitespace, so if a CSS selector is used that contains whitespace, e.g. `form input`, a syntax error is raised.
A workaround is implemented by allowing such a CSS selector to be wrapped in either curly braces or parentheses.

* Add explanation whitespace in CSS selector to docs

* Tests for CSS selectors containing whitespace

* Use faster RegEx test, remove redundant variable declarations

* Added Descendant Combinator support to `root` and `target` modifiers

* Add missing semicolon

* Tests for descendant combinators in `root` and `target` modifiers

* Improve descendant combinator test coverage
2023-11-16 13:45:46 -07:00
..
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-07-17 10:26:27 -04:00
2023-08-01 14:28:29 -05:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00
2023-03-18 11:29:38 -04:00