mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
LibWeb+Browser: Use the new HTML parser by default
You can still run the old parser with "br -O", but the new one is good enough to be the default parser now. We'll fix issues as we go and eventually remove the old one completely. :^)
This commit is contained in:
parent
517cf65c99
commit
8766e49a7c
5 changed files with 13 additions and 14 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
virtual ~PageView() override;
|
||||
|
||||
// FIXME: Remove this once the new parser is ready.
|
||||
void set_use_new_parser(bool use_new_parser) { m_use_new_parser = use_new_parser; }
|
||||
void set_use_old_parser(bool use_old_parser) { m_use_old_parser = use_old_parser; }
|
||||
|
||||
Document* document();
|
||||
const Document* document() const;
|
||||
|
@ -99,7 +99,7 @@ private:
|
|||
bool m_should_show_line_box_borders { false };
|
||||
bool m_in_mouse_selection { false };
|
||||
|
||||
bool m_use_new_parser { false };
|
||||
bool m_use_old_parser { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue