diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-10-08 15:54:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-08 23:02:57 +0200 |
commit | b1f8a73a0578e85b983eaa2edeb1ccf28ef0cfaf (patch) | |
tree | 44a704de26b428ac28e45336814a833c802049d6 /Userland/Libraries/LibWeb/Layout/FormattingContext.cpp | |
parent | 87a30418bfff4d1a8481eec0a11a947f4c3b2485 (diff) | |
download | serenity-b1f8a73a0578e85b983eaa2edeb1ccf28ef0cfaf.zip |
LibWeb: Parse CSS `Supports`
... according to
https://www.w3.org/TR/css-conditional-3/#typedef-supports-condition
This works very similarly to `@media`, but is different enough to
require its own parsing. (Though, the draft of Conditional-4 currently
mentions combining the two into a `@when` rule.)
Made some small changes to parsing code to make this work. Notably,
making `consume_a_declaration()` fail gracefully instead of
`VERIFY()`ing.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FormattingContext.cpp')
0 files changed, 0 insertions, 0 deletions