1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 13:17:36 +00:00
serenity/Libraries/LibWeb/Parser
Andreas Kling 7ed80ae96c LibWeb: Make the CSS parser a little more tolerant to invalid CSS
Sometimes people put a '}' where it doesn't belong, or various other
things go wrong. 99% of the time, it's our fault, but either way,
this patch makes us not crash or infinite-loop in some common cases.

The real solution here is to write a proper CSS lexer-parser according
to the language spec, this is just a hack fix to make more sites load
at all.
2020-05-26 22:31:22 +02:00
..
CSSParser.cpp LibWeb: Make the CSS parser a little more tolerant to invalid CSS 2020-05-26 22:31:22 +02:00
CSSParser.h AK: Stop allowing implicit downcast with RefPtr and NonnullRefPtr 2020-04-05 11:19:00 +02:00
HTMLDocumentParser.cpp LibWeb: Fix step within reconstruct the active elements 2020-05-26 21:52:46 +02:00
HTMLDocumentParser.h LibWeb: Start fleshing out the "in table" parser insertion mode 2020-05-25 20:30:34 +02:00
HTMLParser.cpp LibWeb: Add more HTML entities 2020-05-26 22:23:09 +02:00
HTMLParser.h LibWeb: Handle iso-8859-1 web content a little bit better 2020-05-03 23:01:58 +02:00
HTMLToken.cpp LibWeb: More work on the HTML parser and tokenizer 2020-05-24 23:54:22 +02:00
HTMLToken.h LibWeb: Handle some more parser inputs in the "in head" insertion mode 2020-05-25 20:16:48 +02:00
HTMLTokenizer.cpp LibWeb: Allow HTML tokenizer to emit more than one token 2020-05-26 15:50:05 +02:00
HTMLTokenizer.h LibWeb: Allow HTML tokenizer to emit more than one token 2020-05-26 15:50:05 +02:00
StackOfOpenElements.cpp LibWeb: Start fleshing out the "in table" parser insertion mode 2020-05-25 20:30:34 +02:00
StackOfOpenElements.h LibWeb: Start fleshing out the "in table" parser insertion mode 2020-05-25 20:30:34 +02:00