Andreas Kling
62ec42c112
LibWeb: Remove some unnecessary throwaway strings in the CSS parser
...
We've had StringView::ends_with(..., CaseSensitivity) for a while,
so let's use it to avoid creating a bunch of unnecessary strings here.
2020-08-07 20:35:05 +02:00
Andreas Kling
498845ea2f
LibWeb: Handle CSS "ex" lengths (relative to font x-height)
...
These are pretty rare, but they do come up in some places and it's not
hard to support. The Gfx::Font information is approximate (and bad)
but we can fix that separately.
2020-08-07 20:30:59 +02:00
Andreas Kling
481e838054
LibWeb: Fix bad #include in CSSParser.cpp
2020-07-28 19:28:29 +02:00
Andreas Kling
7daeddb9e9
LibWeb: Move the CSS parser into CSS/Parser/
2020-07-28 19:23:18 +02:00