mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
LibWeb: A whole bunch of work towards spec-compliant <script> elements
This is still very unfinished, but there's at least a skeleton of code.
This commit is contained in:
parent
3a30180e1e
commit
45da08a1e6
8 changed files with 365 additions and 34 deletions
|
@ -48,7 +48,7 @@ int main(int argc, char** argv)
|
|||
auto contents = file_or_error.value()->read_all();
|
||||
|
||||
Web::HTMLDocumentParser parser(contents);
|
||||
parser.run();
|
||||
parser.run(URL::create_with_file_protocol(input_path));
|
||||
|
||||
auto& document = parser.document();
|
||||
Web::dump_tree(document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue