mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibXML: Set the doctype when parsing via Parser::parse_with_listener
This fixes at least one WPT test under /domparsing
This commit is contained in:
parent
bd25d0b1b4
commit
df7cac539e
Notes:
github-actions[bot]
2024-10-30 13:54:34 +00:00
Author: https://github.com/f-cramer
Commit: df7cac539e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2054
Reviewed-by: https://github.com/alimpfard
8 changed files with 87 additions and 0 deletions
|
@ -31,6 +31,7 @@ public:
|
|||
|
||||
private:
|
||||
virtual void set_source(ByteString) override;
|
||||
virtual void set_doctype(XML::Doctype) override;
|
||||
virtual void element_start(XML::Name const& name, HashMap<XML::Name, ByteString> const& attributes) override;
|
||||
virtual void element_end(XML::Name const& name) override;
|
||||
virtual void text(StringView data) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue