1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00: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
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()
{