mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
LibWeb: Load X(HT)ML documents and transform them into HTML DOM
This commit is contained in:
parent
c1649e3372
commit
5a0123fd2f
Notes:
sideshowbarker
2024-07-17 16:36:13 +09:00
Author: https://github.com/alimpfard
Commit: 5a0123fd2f
Pull-request: https://github.com/SerenityOS/serenity/pull/13310
Reviewed-by: https://github.com/IdanHo
9 changed files with 347 additions and 29 deletions
|
@ -26,11 +26,6 @@ HTMLScriptElement::HTMLScriptElement(DOM::Document& document, DOM::QualifiedName
|
|||
|
||||
HTMLScriptElement::~HTMLScriptElement() = default;
|
||||
|
||||
void HTMLScriptElement::set_parser_document(Badge<HTMLParser>, DOM::Document& document)
|
||||
{
|
||||
m_parser_document = document;
|
||||
}
|
||||
|
||||
void HTMLScriptElement::begin_delaying_document_load_event(DOM::Document& document)
|
||||
{
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#concept-script-script
|
||||
|
@ -38,11 +33,6 @@ void HTMLScriptElement::begin_delaying_document_load_event(DOM::Document& docume
|
|||
m_document_load_event_delayer.emplace(document);
|
||||
}
|
||||
|
||||
void HTMLScriptElement::set_non_blocking(Badge<HTMLParser>, bool non_blocking)
|
||||
{
|
||||
m_non_blocking = non_blocking;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block
|
||||
void HTMLScriptElement::execute_script()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue