mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
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:
parent
fd2ef43cb4
commit
114a7b357b
Notes:
sideshowbarker
2024-07-17 18:19:44 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/114a7b357b Pull-request: https://github.com/SerenityOS/serenity/pull/12727
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue