mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 20:02:07 +00:00
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. |
||
|---|---|---|
| .. | ||
| CSSParser.cpp | ||
| CSSParser.h | ||
| HTMLDocumentParser.cpp | ||
| HTMLDocumentParser.h | ||
| HTMLParser.cpp | ||
| HTMLParser.h | ||
| HTMLToken.cpp | ||
| HTMLToken.h | ||
| HTMLTokenizer.cpp | ||
| HTMLTokenizer.h | ||
| StackOfOpenElements.cpp | ||
| StackOfOpenElements.h | ||