ladybird/Libraries/LibWeb/Parser
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
..
CSSParser.cpp LibWeb: Support "pt" length units :^) 2020-06-28 15:25:32 +02:00
CSSParser.h LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
Entities.cpp LibWeb: Fix parser interpreting """ as "&quot" 2020-06-10 10:34:28 +02:00
Entities.h LibWeb: Support named character references (e.g "&") 2020-05-28 11:44:19 +02:00
HTMLDocumentParser.cpp LibWeb: Assert we're parsing a fragment on fragment cases 2020-07-22 00:02:40 +02:00
HTMLDocumentParser.h LibWeb: Assert we're parsing a fragment on fragment cases 2020-07-22 00:02:40 +02:00
HTMLToken.cpp LibWeb: Update parser with more insertion modes :^) 2020-06-21 10:13:31 +02:00
HTMLToken.h LibWeb: Implement quirks mode detection 2020-07-21 01:08:32 +02:00
HTMLTokenizer.cpp LibWeb: Implement quirks mode detection 2020-07-21 01:08:32 +02:00
HTMLTokenizer.h LibWeb: Unbreak character reference and DOCTYPE parsing post-UTF-8 2020-06-04 22:09:36 +02:00
ListOfActiveFormattingElements.cpp LibWeb: Implement more table support in the new HTML parser 2020-05-28 00:27:46 +02:00
ListOfActiveFormattingElements.h LibWeb: Implement more table support in the new HTML parser 2020-05-28 00:27:46 +02:00
StackOfOpenElements.cpp LibWeb: Fix misunderstood implementation of "table" and "select" scopes 2020-06-21 17:42:00 +02:00
StackOfOpenElements.h LibWeb: Implement more of the foster parenting algorithm in the parser 2020-06-21 17:42:00 +02:00