1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:45:07 +00:00
serenity/Libraries/LibWeb
Luke 201cc1bfcc LibWeb: Assert we're parsing a fragment on fragment cases
The specification says that parts labelled as a "fragment case" will
only occur when parsing a fragment. It says that if it occurs when
not parsing a fragment, then it is a specification error.

We should probably assume at this point that it's an implementation
error. This fixes a few little mistakes that were caught out by this.

Also moves the context element outside insertion mode reset,
as other (unimplemented) parts refer to it, such as
"adjusted current node".

Also cleans up insertion mode reset.
2020-07-22 00:02:40 +02:00
..
Bindings LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
CodeGenerators LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
CSS LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
DOM LibWeb: Implement quirks mode detection 2020-07-21 01:08:32 +02:00
Frame LibWeb: Check if layout node is still present after dispatch_event 2020-07-11 11:34:59 +02:00
Layout LibWeb: Use the StackingContext tree for hit testing 2020-07-01 19:10:58 +02:00
Loader LibWeb: Add type for FrameLoader::load 2020-07-08 23:45:12 +02:00
Painting LibWeb: Use the StackingContext tree for hit testing 2020-07-01 19:10:58 +02:00
Parser LibWeb: Assert we're parsing a fragment on fragment cases 2020-07-22 00:02:40 +02:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CMakeLists.txt LibWeb: Implement quirks mode detection 2020-07-21 01:08:32 +02:00
DOMTreeModel.cpp LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp LibWeb: Rename LayoutNode::style() => specified_style() 2020-06-24 13:54:31 +02:00
Dump.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
LayoutTreeModel.cpp LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
LayoutTreeModel.h LibWeb+Browser: Add a barebones LayoutTreeModel to the inspector window 2020-06-12 22:30:11 +02:00
Origin.h LibWeb: Add Origin concept (protocol, host, port tuple) 2020-04-07 23:01:45 +02:00
Page.cpp LibWeb: Add type for FrameLoader::load 2020-07-08 23:45:12 +02:00
Page.h LibWeb: Make the link context menu hook include the destination URL 2020-07-06 20:00:56 +02:00
PageView.cpp LibWeb: Add type for FrameLoader::load 2020-07-08 23:45:12 +02:00
PageView.h LibWeb: Add a shared WebViewHooks base class for both web view widgets 2020-07-06 21:19:03 +02:00
StylePropertiesModel.cpp LibWeb: Sort style properties by name in the inspector window 2020-06-13 19:53:28 +02:00
StylePropertiesModel.h LibWeb: replace some tab characters with spaces 2020-05-28 17:01:31 +02:00
TreeNode.h LibWeb: Add LayoutRange::normalized() 2020-06-29 00:39:51 +02:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
WebContentClient.cpp LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentClient.h LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentView.cpp LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentView.h LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebViewHooks.h LibWeb: Add a shared WebViewHooks base class for both web view widgets 2020-07-06 21:19:03 +02:00