giles
d6137f0d6f
HS reset/first/last: defaultValue tracking, list-of-elements reset, find().first|last
...
Mock DOM:
- El now tracks defaultValue/defaultChecked/defaultSelected and a reset()
method that walks descendant form controls, restoring them.
- setAttribute(value|checked|selected) sets the matching default-* too, so
the initial HTML state can be restored later.
- parseHTMLFragments + _setInnerHTML capture a textarea's textContent as
its value AND defaultValue.
Generator (pw-body):
- add_action / add_assertion extract .first() / .last() / .nth(N) modifiers
into (nth (dom-query-all …) i) or a (let ((_all …)) (nth _all (- … 1)))
tail so multi-match helpers hit the right element.
Compiler:
- emit-reset! with a .<class>/.<sel> query target now compiles to hs-query-all
so 'reset .resettable' resets every matching control (not just the first).
Net: reset 1→8 (100%).
2026-04-23 17:15:40 +00:00
..
2026-04-13 08:26:48 +00:00
2026-04-17 12:53:09 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 12:18:41 +00:00
2026-04-11 08:52:36 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 12:18:41 +00:00
2026-04-11 08:52:36 +00:00
2026-04-01 23:19:25 +00:00
2026-04-16 22:15:55 +00:00
2026-04-17 12:53:09 +00:00
2026-04-01 23:19:25 +00:00
2026-04-16 14:00:12 +00:00
2026-04-17 12:53:09 +00:00
2026-04-01 23:19:25 +00:00
2026-04-16 17:08:01 +00:00
2026-04-17 12:53:09 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 00:08:00 +00:00
2026-04-04 17:11:12 +00:00
2026-04-01 23:19:25 +00:00
2026-04-12 08:41:38 +00:00
2026-04-12 08:41:38 +00:00
2026-04-01 23:19:25 +00:00
2026-04-11 12:49:57 +00:00
2026-04-11 12:49:57 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 22:52:41 +00:00
2026-04-05 21:18:14 +00:00
2026-04-01 23:19:25 +00:00
2026-04-23 16:53:06 +00:00
2026-04-17 12:53:09 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 21:31:17 +00:00
2026-04-11 08:52:36 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 22:52:41 +00:00
2026-04-05 13:28:17 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 12:18:41 +00:00
2026-04-05 14:38:28 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 12:18:41 +00:00
2026-04-04 17:11:12 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 00:08:00 +00:00
2026-04-08 21:44:58 +00:00
2026-04-01 23:19:25 +00:00
2026-04-05 11:05:17 +00:00
2026-04-23 17:15:40 +00:00
2026-04-22 09:09:56 +00:00
2026-04-15 11:56:15 +00:00
2026-04-18 07:21:41 +00:00
2026-04-23 09:18:21 +00:00
2026-04-22 09:09:56 +00:00
2026-04-23 16:51:17 +00:00
2026-04-22 09:09:56 +00:00
2026-04-23 17:08:04 +00:00
2026-04-22 09:09:56 +00:00
2026-04-23 16:51:17 +00:00
2026-04-22 09:09:56 +00:00
2026-04-04 12:18:41 +00:00
2026-04-04 17:11:12 +00:00
2026-04-01 23:19:25 +00:00
2026-04-22 09:09:56 +00:00
2026-04-16 17:08:01 +00:00
2026-04-18 07:33:05 +00:00
2026-04-18 07:33:05 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 00:08:00 +00:00
2026-04-04 17:11:12 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 00:08:00 +00:00
2026-04-04 17:11:12 +00:00
2026-04-01 23:19:25 +00:00
2026-04-05 21:18:14 +00:00
2026-04-08 21:44:58 +00:00
2026-04-01 23:19:25 +00:00
2026-04-04 12:18:41 +00:00
2026-04-11 08:52:36 +00:00
2026-04-01 23:19:25 +00:00
2026-04-12 18:31:34 +00:00
2026-04-12 18:31:34 +00:00
2026-04-02 11:31:57 +00:00
2026-04-02 11:31:57 +00:00
2026-04-16 17:08:01 +00:00
2026-04-02 11:31:57 +00:00
2026-04-02 11:31:57 +00:00
2026-04-16 17:08:01 +00:00
2026-04-02 09:37:58 +00:00
2026-04-08 21:44:58 +00:00
2026-04-16 17:08:01 +00:00
2026-04-08 21:44:58 +00:00
2026-04-08 21:44:58 +00:00
2026-04-01 23:19:25 +00:00