mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
![]() "width: 500" is not a valid CSS property in standards mode and should be ignored. To plumb the quirks-mode flag into CSS parsing, this patch adds a new CSS::ParsingContext object that must be passed to the CSS parser. Currently it only allows you to check the quirks-mode flag. In the future it will be a good place to put additional information needed for things like relative URL resolution, etc. This narrows <div class=parser> on ACID2 to the correct width. :^) |
||
---|---|---|
.. | ||
CSSParser.cpp | ||
CSSParser.h | ||
Entities.cpp | ||
Entities.h | ||
HTMLDocumentParser.cpp | ||
HTMLDocumentParser.h | ||
HTMLToken.cpp | ||
HTMLToken.h | ||
HTMLTokenizer.cpp | ||
HTMLTokenizer.h | ||
ListOfActiveFormattingElements.cpp | ||
ListOfActiveFormattingElements.h | ||
StackOfOpenElements.cpp | ||
StackOfOpenElements.h |