diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-02-22 14:14:51 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-24 08:04:25 +0100 |
commit | 114a7b357bdd5b9abaea77d7389b8482babe1285 (patch) | |
tree | b09f61460ea92072c02639a7fae3258e97a81103 /Userland/Libraries/LibWeb/DOM | |
parent | fd2ef43cb488f3236958df13e3059b55688e5c9e (diff) | |
download | serenity-114a7b357bdd5b9abaea77d7389b8482babe1285.zip |
LibWeb: Implement `@media(overflow-inline)`
I guess I got confused by this before, but it's actually the same as
overflow-block.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Window.cpp b/Userland/Libraries/LibWeb/DOM/Window.cpp index fbdfac53c1..abf429587a 100644 --- a/Userland/Libraries/LibWeb/DOM/Window.cpp +++ b/Userland/Libraries/LibWeb/DOM/Window.cpp @@ -333,7 +333,8 @@ Optional<CSS::MediaFeatureValue> Window::query_media_feature(FlyString const& na return CSS::MediaFeatureValue(inner_height() >= inner_width() ? "portrait" : "landscape"); if (name.equals_ignoring_case("overflow-block"sv)) return CSS::MediaFeatureValue("scroll"); - // FIXME: overflow-inline + if (name.equals_ignoring_case("overflow-inline"sv)) + return CSS::MediaFeatureValue("scroll"); if (name.equals_ignoring_case("pointer"sv)) return CSS::MediaFeatureValue("fine"); // FIXME: resolution |