mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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
This commit is contained in:
parent
8d2ae3f1c5
commit
3a51e530d2
1 changed files with 1 additions and 2 deletions
|
@ -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<OverflowBlock>) ->
|
|||
};
|
||||
|
||||
match query_value {
|
||||
OverflowBlock::None | OverflowBlock::OptionalPaged => false,
|
||||
OverflowBlock::None => false,
|
||||
OverflowBlock::Scroll => scrolling,
|
||||
OverflowBlock::Paged => !scrolling,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue