mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 16:28:48 +00:00
We do not fire `beforeinput` events since other browsers do not seem to do so either. The spec asks us to check whether a command's action modified the DOM tree. This means adding or removing nodes and attributes, or changing character data anywhere in the tree. We have `Document::dom_tree_version()` for node updates, but for character data a new version number is introduced that allows us to easily keep track of any text changes in the entire tree. |
||
---|---|---|
.. | ||
Internal | ||
CommandNames.cpp | ||
CommandNames.h | ||
Commands.cpp | ||
Commands.h | ||
ExecCommand.cpp |