style: Part 5: Drop the unused effective_xxx_rules

It seems only effective_style_rules() and effective_viewport_rules() are
used. Let's drop the unused ones.

Differential Revision: https://phabricator.services.mozilla.com/D125905
This commit is contained in:
Boris Chiou 2023-05-27 07:59:56 +02:00 committed by Oriol Brufau
parent b297c10fbf
commit 9e4535cb00

View file

@ -278,15 +278,7 @@ pub trait StylesheetInDocument: ::std::fmt::Debug {
rule_filter! { rule_filter! {
effective_style_rules(Style => StyleRule), effective_style_rules(Style => StyleRule),
effective_media_rules(Media => MediaRule),
effective_font_face_rules(FontFace => FontFaceRule),
effective_font_face_feature_values_rules(FontFeatureValues => FontFeatureValuesRule),
effective_counter_style_rules(CounterStyle => CounterStyleRule),
effective_viewport_rules(Viewport => ViewportRule), effective_viewport_rules(Viewport => ViewportRule),
effective_keyframes_rules(Keyframes => KeyframesRule),
effective_supports_rules(Supports => SupportsRule),
effective_page_rules(Page => PageRule),
effective_document_rules(Document => DocumentRule),
} }
} }