mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:37:34 +00:00
LibWeb: Bring up basic external script execution in the new parser
This only works in some narrow cases, but should be enough for our own welcome.html at least. :^)
This commit is contained in:
parent
2cb50f6750
commit
4c9c6b3a7b
7 changed files with 60 additions and 3 deletions
|
@ -130,6 +130,8 @@ public:
|
|||
NonnullRefPtr<Text> create_text_node(const String& data);
|
||||
|
||||
void set_pending_parsing_blocking_script(Badge<HTMLScriptElement>, HTMLScriptElement*);
|
||||
HTMLScriptElement* pending_parsing_blocking_script() { return m_pending_parsing_blocking_script; }
|
||||
NonnullRefPtr<HTMLScriptElement> take_pending_parsing_blocking_script(Badge<HTMLDocumentParser>);
|
||||
|
||||
private:
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue