mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
b297c10fbf
commit
9e4535cb00
1 changed files with 0 additions and 8 deletions
|
@ -278,15 +278,7 @@ pub trait StylesheetInDocument: ::std::fmt::Debug {
|
|||
|
||||
rule_filter! {
|
||||
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_keyframes_rules(Keyframes => KeyframesRule),
|
||||
effective_supports_rules(Supports => SupportsRule),
|
||||
effective_page_rules(Page => PageRule),
|
||||
effective_document_rules(Document => DocumentRule),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue