From 3a51e530d2698c17a942bb261b3ed17e726953e2 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Mon, 22 May 2023 20:44:09 +0000 Subject: [PATCH] style: Remove overflow-block optional-paged Removed overflow-block optional-paged value and reftesting as it was removed from the spec in 2020: https://github.com/w3c/csswg-drafts/issues/5287 1 WPT subtest now newly passes. WPT tests: https://wpt.fyi/results/css/mediaqueries/test_media_queries.html Differential Revision: https://phabricator.services.mozilla.com/D178710 --- components/style/gecko/media_features.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/style/gecko/media_features.rs b/components/style/gecko/media_features.rs index 357f4d7b6ab..2f1ac7b76ba 100644 --- a/components/style/gecko/media_features.rs +++ b/components/style/gecko/media_features.rs @@ -331,7 +331,6 @@ fn eval_inverted_colors( enum OverflowBlock { None, Scroll, - OptionalPaged, Paged, } @@ -351,7 +350,7 @@ fn eval_overflow_block(context: &Context, query_value: Option) -> }; match query_value { - OverflowBlock::None | OverflowBlock::OptionalPaged => false, + OverflowBlock::None => false, OverflowBlock::Scroll => scrolling, OverflowBlock::Paged => !scrolling, }