mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibWeb: Add DOMParser
This allows you to invoke the HTML document parser and retrieve a document as though it was loaded as a web page, minus any scripting ability. This does not currently support XML parsing. This is used by YouTube (or more accurately, Web Components Polyfills) to polyfill templates.
This commit is contained in:
parent
0ea50d44bf
commit
f7ad8c0f94
6 changed files with 93 additions and 0 deletions
|
@ -59,6 +59,7 @@ enum class QuirksMode;
|
|||
namespace Web::HTML {
|
||||
class CanvasRenderingContext2D;
|
||||
class CloseEvent;
|
||||
class DOMParser;
|
||||
class EventHandler;
|
||||
class HTMLAnchorElement;
|
||||
class HTMLAreaElement;
|
||||
|
@ -211,6 +212,7 @@ class DocumentTypeWrapper;
|
|||
class DocumentWrapper;
|
||||
class DOMExceptionWrapper;
|
||||
class DOMImplementationWrapper;
|
||||
class DOMParserWrapper;
|
||||
class ElementWrapper;
|
||||
class EventListenerWrapper;
|
||||
class EventTargetWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue