Andreas Kling
efe9d36eba
LibWeb: Always scroll PageView to top when a new document is set
2020-06-06 14:14:43 +02:00
Andreas Kling
075bd75859
LibWeb: Add a FrameLoader class and move PageView's loading logic there
...
Each Frame now has a FrameLoader which will be responsible for handling
loading inside that frame.
2020-06-06 14:14:43 +02:00
Andreas Kling
2149820260
LibWeb: Use HTML::AttributeNames::foo instead of FlyString("foo")
...
To avoid the costly instantiation of FlyStrings whenever we're looking
up attributes, use the premade HTML::AttributeNames globals. :^)
2020-06-03 21:53:00 +02:00
Andreas Kling
6ed11f1d1c
LibWeb: Move ResourceLoader into a new Loader/ directory
2020-06-01 20:42:50 +02:00
Andreas Kling
e58e315e0f
LibWeb: Make input widget (buttons, text boxes, etc) scroll with page
...
We now relayout all LayoutWidgets when the view is scrolled. This will
cause them to follow along with the rest of the page content.
2020-06-01 19:52:38 +02:00
Andreas Kling
8766e49a7c
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. :^)
2020-06-01 19:08:31 +02:00
FalseHonesty
7ca562b200
LibMarkdown: Change MD Document parse API to return a RefPtr
...
Markdown documents are now obtained via the static Document::parse
method, which returns a RefPtr<Document>, or nullptr on failure.
2020-05-30 00:32:12 +02:00
Andreas Kling
42243d2e06
LibWeb: Rename Web::HtmlView => Web::PageView
...
This widget doesn't just view HTML, it views a web page. :^)
2020-05-28 18:22:54 +02:00