mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
LibWeb: Implement document.execCommand("delete")
To facilitate the implementation of "delete" and all associated algorithms, split off this piece of `Document` into a separate directory. This sets up the infrastructure for arbitrary commands to be supported.
This commit is contained in:
parent
c87960f8f3
commit
7bb865052a
Notes:
github-actions[bot]
2024-11-30 16:37:23 +00:00
Author: https://github.com/gmta
Commit: 7bb865052a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2655
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/yyny
12 changed files with 2227 additions and 48 deletions
|
@ -143,6 +143,7 @@ interface Document : Node {
|
|||
readonly attribute Element? scrollingElement;
|
||||
|
||||
// https://w3c.github.io/editing/docs/execCommand/
|
||||
// FIXME: [CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional (TrustedHTML or DOMString) value = "");
|
||||
[CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
|
||||
boolean queryCommandEnabled(DOMString commandId);
|
||||
boolean queryCommandIndeterm(DOMString commandId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue