ladybird/Userland/Libraries/LibWeb/HTML/Parser
Sam Atkins 6ffda5f271 LibWeb: Make HTMLParser::the_end() callable from outside
This is a little awkward: The spec requires when loading media documents
or ones that don't have a DOM, that we "act as if the user agent had
stopped parsing document" which means following this algorithm. Only a
few steps require an HTMLParser, but those that do, involve reaching
into its internals. The simplest solution I could think of (other than
duplicating this fairly hefty function) is making it static and taking
a Document and optional HTMLParser as parameters.
2023-12-26 18:35:29 +01:00
..
Entities.cpp Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
Entities.h Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
HTMLEncodingDetection.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HTMLEncodingDetection.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HTMLParser.cpp LibWeb: Make HTMLParser::the_end() callable from outside 2023-12-26 18:35:29 +01:00
HTMLParser.h LibWeb: Make HTMLParser::the_end() callable from outside 2023-12-26 18:35:29 +01:00
HTMLToken.cpp LibWeb: Port HTMLToken::to_deprecated_string to new AK String 2023-11-06 11:37:08 +01:00
HTMLToken.h LibWeb: Return an Optional<String> from HTMLToken::attribute 2023-11-11 08:50:25 +01:00
HTMLTokenizer.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HTMLTokenizer.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ListOfActiveFormattingElements.cpp LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00
ListOfActiveFormattingElements.h LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00
StackOfOpenElements.cpp LibWeb: Pass DOM namespace strings as FlyString in more places 2023-11-04 21:28:30 +01:00
StackOfOpenElements.h LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00