summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-02-22 14:14:51 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-24 08:04:25 +0100
commit114a7b357bdd5b9abaea77d7389b8482babe1285 (patch)
treeb09f61460ea92072c02639a7fae3258e97a81103 /Userland/Libraries/LibWeb/DOM
parentfd2ef43cb488f3236958df13e3059b55688e5c9e (diff)
downloadserenity-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.cpp3
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