LibWeb: Implement @media(overflow-inline)

I guess I got confused by this before, but it's actually the same as
overflow-block.
This commit is contained in:
Sam Atkins 2022-02-22 14:14:51 +00:00 committed by Andreas Kling
parent fd2ef43cb4
commit 114a7b357b
Notes: sideshowbarker 2024-07-17 18:19:44 +09:00

View file

@ -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