1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

LibWeb: Stub Document.queryCommandSupported

This commit is contained in:
Luke Wilde 2022-11-05 14:48:57 +00:00 committed by Andreas Kling
parent d6cfc735ae
commit 6b0152e150
Notes: sideshowbarker 2024-07-17 04:42:27 +09:00
3 changed files with 10 additions and 0 deletions

View file

@ -2280,6 +2280,13 @@ void Document::did_stop_being_active_document_in_browsing_context(Badge<HTML::Br
tear_down_layout_tree();
}
// https://w3c.github.io/editing/docs/execCommand/#querycommandsupported()
bool Document::query_command_supported(String const& command) const
{
dbgln("(STUBBED) Document::query_command_supported(command='{}')", command);
return false;
}
// https://html.spec.whatwg.org/multipage/scripting.html#appropriate-template-contents-owner-document
JS::NonnullGCPtr<DOM::Document> Document::appropriate_template_contents_owner_document()
{