Timothy Flynn
5ec76331e8
LibWeb: Invoke our internal attribute change handler from Attr
...
Currently, every public DOM::Element method which changes an attribute
fires this handler itself. This was missed in commit 720f7ba , so any
user of that API would not fire the internal handler.
To fix this, and prevent any missing invocations in the future, invoke
the handler from from Attr::handle_attribute_changes. This method is
reached for all attribute changes, including adding/removing attributes.
This ensures the handler will always be fired, and reduces the footprint
of this ad-hoc behavior.
Note that our ad-hoc handler is not the "attribute change steps" noted
by the spec. Those are overridden only by a couple of specific elements,
e.g. HTMLSlotElement. However, we could easily make our ad-hoc handler
hook into those steps in the future.
2023-09-02 13:55:32 -04:00
..
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-09-02 13:55:32 -04:00
2023-09-02 01:46:37 +03:30
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-16 12:16:05 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-31 22:27:48 +01:00
2023-08-28 09:47:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-19 15:12:00 +02:00
2023-07-12 13:16:23 +02:00
2023-08-13 15:38:42 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-09-02 13:55:32 -04:00
2023-09-02 13:55:32 -04:00
2023-08-09 22:10:58 -04:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-27 05:34:54 +02:00
2023-08-20 11:04:03 +02:00
2023-08-20 11:04:03 +02:00
2023-08-20 11:04:03 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-26 13:51:18 +02:00
2023-08-26 13:51:18 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-07 16:03:27 +02:00
2023-08-07 16:03:27 +02:00
2023-09-02 13:55:32 -04:00
2023-08-13 15:38:42 +02:00
2023-08-28 23:36:22 +02:00
2023-09-01 12:45:38 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-23 08:06:25 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-23 08:06:25 +02:00
2023-08-26 13:51:18 +02:00
2023-08-26 13:51:18 +02:00
2023-08-26 13:51:18 +02:00
2023-08-29 10:05:02 +02:00
2023-08-29 10:05:02 +02:00
2023-08-29 10:05:02 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-09 17:09:28 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00