/dports/www/firefox-esr/firefox-91.8.0/servo/components/style/rule_tree/ |
H A D | source.rs | 22 pub struct StyleSource(ArcUnion<Locked<StyleRule>, Locked<PropertyDeclarationBlock>>); struct 24 impl PartialEq for StyleSource { implementation 30 impl StyleSource { impl 33 StyleSource(ArcUnion::from_first(rule)) in from_rule() 43 StyleSource(ArcUnion::from_second(decls)) in from_declarations()
|
H A D | mod.rs | 24 pub use self::source::StyleSource; 50 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_with_important() 57 let mut important_author = SmallVec::<[(StyleSource, ShadowCascadeOrder); 4]>::new(); in insert_ordered_rules_with_important() 59 let mut important_user = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 60 let mut important_ua = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 177 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules() 184 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_from() 269 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level() 278 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level()
|
H A D | core.rs | 21 use super::{CascadeLevel, StyleSource}; 220 source: Option<StyleSource>, 318 source: StyleSource, in new() argument 556 source: StyleSource, in ensure_child() argument 601 pub fn style_source(&self) -> Option<&StyleSource> { in style_source() argument
|
/dports/www/firefox-esr/firefox-91.8.0/servo/components/style/ |
H A D | applicable_declarations.rs | 8 use crate::rule_tree::{CascadeLevel, StyleSource}; 68 pub source: StyleSource, 85 source: StyleSource::from_declarations(declarations), in from_declarations() 93 pub fn new(source: StyleSource, order: u32, level: CascadeLevel, specificity: u32) -> Self { in new() argument 116 pub fn for_rule_tree(self) -> (StyleSource, CascadeLevel) { in for_rule_tree() argument
|
/dports/www/firefox/firefox-99.0/servo/components/style/rule_tree/ |
H A D | source.rs | 22 pub struct StyleSource(ArcUnion<Locked<StyleRule>, Locked<PropertyDeclarationBlock>>); struct 24 impl PartialEq for StyleSource { implementation 30 impl StyleSource { impl 33 StyleSource(ArcUnion::from_first(rule)) in from_rule() 43 StyleSource(ArcUnion::from_second(decls)) in from_declarations()
|
H A D | mod.rs | 25 pub use self::source::StyleSource; 51 I: Iterator<Item = (StyleSource, CascadePriority)>, in insert_ordered_rules_with_important() 58 let mut important_author = SmallVec::<[(StyleSource, CascadePriority); 4]>::new(); in insert_ordered_rules_with_important() 59 let mut important_user = SmallVec::<[(StyleSource, CascadePriority); 4]>::new(); in insert_ordered_rules_with_important() 60 let mut important_ua = SmallVec::<[(StyleSource, CascadePriority); 4]>::new(); in insert_ordered_rules_with_important() 173 I: Iterator<Item = (StyleSource, CascadePriority)>, in insert_ordered_rules() 180 I: Iterator<Item = (StyleSource, CascadePriority)>, in insert_ordered_rules_from() 266 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level() 275 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level()
|
/dports/mail/thunderbird/thunderbird-91.8.0/servo/components/style/rule_tree/ |
H A D | source.rs | 22 pub struct StyleSource(ArcUnion<Locked<StyleRule>, Locked<PropertyDeclarationBlock>>); struct 24 impl PartialEq for StyleSource { implementation 30 impl StyleSource { implementation 33 StyleSource(ArcUnion::from_first(rule)) in from_rule() 43 StyleSource(ArcUnion::from_second(decls)) in from_declarations()
|
H A D | mod.rs | 24 pub use self::source::StyleSource; 50 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_with_important() 57 let mut important_author = SmallVec::<[(StyleSource, ShadowCascadeOrder); 4]>::new(); in insert_ordered_rules_with_important() 59 let mut important_user = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 60 let mut important_ua = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 177 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules() 184 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_from() 269 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level() 278 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level()
|
H A D | core.rs | 21 use super::{CascadeLevel, StyleSource}; 220 source: Option<StyleSource>, 318 source: StyleSource, in new() argument 556 source: StyleSource, in ensure_child() argument 601 pub fn style_source(&self) -> Option<&StyleSource> { in style_source() argument
|
/dports/mail/thunderbird/thunderbird-91.8.0/servo/components/style/ |
H A D | applicable_declarations.rs | 8 use crate::rule_tree::{CascadeLevel, StyleSource}; 68 pub source: StyleSource, 85 source: StyleSource::from_declarations(declarations), in from_declarations() 93 pub fn new(source: StyleSource, order: u32, level: CascadeLevel, specificity: u32) -> Self { in new() argument 116 pub fn for_rule_tree(self) -> (StyleSource, CascadeLevel) { in for_rule_tree() argument
|
/dports/lang/spidermonkey78/firefox-78.9.0/servo/components/style/ |
H A D | applicable_declarations.rs | 8 use crate::rule_tree::{CascadeLevel, StyleSource}; 68 pub source: StyleSource, 85 source: StyleSource::from_declarations(declarations), in from_declarations() 93 pub fn new(source: StyleSource, order: u32, level: CascadeLevel, specificity: u32) -> Self { in new() argument 116 pub fn for_rule_tree(self) -> (StyleSource, CascadeLevel) { in for_rule_tree() argument
|
/dports/lang/spidermonkey78/firefox-78.9.0/servo/components/style/rule_tree/ |
H A D | source.rs | 22 pub struct StyleSource(ArcUnion<Locked<StyleRule>, Locked<PropertyDeclarationBlock>>); struct 24 impl PartialEq for StyleSource { implementation 30 impl StyleSource { implementation 33 StyleSource(ArcUnion::from_first(rule)) in from_rule() 43 StyleSource(ArcUnion::from_second(decls)) in from_declarations()
|
H A D | mod.rs | 24 pub use self::source::StyleSource; 50 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_with_important() 57 let mut important_author = SmallVec::<[(StyleSource, ShadowCascadeOrder); 4]>::new(); in insert_ordered_rules_with_important() 59 let mut important_user = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 60 let mut important_ua = SmallVec::<[StyleSource; 4]>::new(); in insert_ordered_rules_with_important() 177 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules() 184 I: Iterator<Item = (StyleSource, CascadeLevel)>, in insert_ordered_rules_from() 269 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level() 278 StyleSource::from_declarations(pdb.clone_arc()), in update_rule_at_level()
|
H A D | core.rs | 21 use super::{CascadeLevel, StyleSource}; 220 source: Option<StyleSource>, 318 source: StyleSource, in new() argument 556 source: StyleSource, in ensure_child() argument 601 pub fn style_source(&self) -> Option<&StyleSource> { in style_source() argument
|
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/style/ |
H A D | applicable_declarations.rs | 8 use rule_tree::{CascadeLevel, StyleSource}; 81 pub source: StyleSource, 96 source: StyleSource::Declarations(declarations), in from_declarations() 104 pub fn new(source: StyleSource, in new() argument 131 pub fn order_and_level(self) -> (StyleSource, CascadeLevel) { in order_and_level() argument
|
H A D | rule_cache.rs | 11 use rule_tree::{StrongRuleNode, StyleSource}; 101 StyleSource::Declarations(ref decls) => { in get_rule_node_for_cache() 108 StyleSource::None => {} in get_rule_node_for_cache() 109 StyleSource::Style(_) => break, in get_rule_node_for_cache()
|
/dports/www/firefox/firefox-99.0/servo/components/style/ |
H A D | applicable_declarations.rs | 8 use crate::rule_tree::{CascadeLevel, StyleSource}; 142 pub source: StyleSource, 162 source: StyleSource::from_declarations(declarations), in from_declarations() 172 source: StyleSource, in new() argument 207 pub fn for_rule_tree(self) -> (StyleSource, CascadePriority) { in for_rule_tree() argument
|
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/style/rule_tree/ |
H A D | mod.rs | 84 pub enum StyleSource { enum 94 impl PartialEq for StyleSource { implementation 100 impl StyleSource { implementation 103 use self::StyleSource::*; in ptr_equals() 113 use self::StyleSource::*; in dump() 138 StyleSource::None => false, in is_some() 613 source: StyleSource, 691 source: StyleSource, in new() argument 711 source: StyleSource::None, in root() 883 source: StyleSource, in ensure_child() argument [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/servo/tests/unit/style/rule_tree/ |
H A D | bench.rs | 13 use style::rule_tree::{CascadeLevel, RuleTree, StrongRuleNode, StyleSource}; 48 fn parse_rules(css: &str) -> Vec<(StyleSource, CascadeLevel)> { in parse_rules() argument 66 StyleSource::from_rule(style_rule.clone()), in parse_rules() 74 fn test_insertion(rule_tree: &RuleTree, rules: Vec<(StyleSource, CascadeLevel)>) -> StrongRuleNode { in test_insertion() argument 78 fn test_insertion_style_attribute(rule_tree: &RuleTree, rules: &[(StyleSource, CascadeLevel)], in test_insertion_style_attribute() argument 82 …rules.push((StyleSource::from_declarations(Arc::new(shared_lock.wrap(PropertyDeclarationBlock::wit… in test_insertion_style_attribute()
|
/dports/www/firefox/firefox-99.0/servo/tests/unit/style/rule_tree/ |
H A D | bench.rs | 13 use style::rule_tree::{CascadeLevel, RuleTree, StrongRuleNode, StyleSource}; 48 fn parse_rules(css: &str) -> Vec<(StyleSource, CascadeLevel)> { in parse_rules() argument 66 StyleSource::from_rule(style_rule.clone()), in parse_rules() 74 fn test_insertion(rule_tree: &RuleTree, rules: Vec<(StyleSource, CascadeLevel)>) -> StrongRuleNode { in test_insertion() argument 78 fn test_insertion_style_attribute(rule_tree: &RuleTree, rules: &[(StyleSource, CascadeLevel)], in test_insertion_style_attribute() argument 82 …rules.push((StyleSource::from_declarations(Arc::new(shared_lock.wrap(PropertyDeclarationBlock::wit… in test_insertion_style_attribute()
|
/dports/lang/spidermonkey60/firefox-60.9.0/servo/tests/unit/style/rule_tree/ |
H A D | bench.rs | 13 use style::rule_tree::{CascadeLevel, RuleTree, StrongRuleNode, StyleSource}; 48 fn parse_rules(css: &str) -> Vec<(StyleSource, CascadeLevel)> { in parse_rules() argument 68 }).cloned().map(StyleSource::Style).map(|s| { in parse_rules() 73 fn test_insertion(rule_tree: &RuleTree, rules: Vec<(StyleSource, CascadeLevel)>) -> StrongRuleNode { in test_insertion() argument 77 fn test_insertion_style_attribute(rule_tree: &RuleTree, rules: &[(StyleSource, CascadeLevel)], in test_insertion_style_attribute() argument 81 …rules.push((StyleSource::Declarations(Arc::new(shared_lock.wrap(PropertyDeclarationBlock::with_one( in test_insertion_style_attribute()
|
/dports/mail/thunderbird/thunderbird-91.8.0/servo/tests/unit/style/rule_tree/ |
H A D | bench.rs | 13 use style::rule_tree::{CascadeLevel, RuleTree, StrongRuleNode, StyleSource}; 48 fn parse_rules(css: &str) -> Vec<(StyleSource, CascadeLevel)> { in parse_rules() argument 66 StyleSource::from_rule(style_rule.clone()), in parse_rules() 74 fn test_insertion(rule_tree: &RuleTree, rules: Vec<(StyleSource, CascadeLevel)>) -> StrongRuleNode { in test_insertion() argument 78 fn test_insertion_style_attribute(rule_tree: &RuleTree, rules: &[(StyleSource, CascadeLevel)], in test_insertion_style_attribute() argument 82 …rules.push((StyleSource::from_declarations(Arc::new(shared_lock.wrap(PropertyDeclarationBlock::wit… in test_insertion_style_attribute()
|
/dports/lang/spidermonkey78/firefox-78.9.0/servo/tests/unit/style/rule_tree/ |
H A D | bench.rs | 13 use style::rule_tree::{CascadeLevel, RuleTree, StrongRuleNode, StyleSource}; 48 fn parse_rules(css: &str) -> Vec<(StyleSource, CascadeLevel)> { in parse_rules() argument 66 StyleSource::from_rule(style_rule.clone()), in parse_rules() 74 fn test_insertion(rule_tree: &RuleTree, rules: Vec<(StyleSource, CascadeLevel)>) -> StrongRuleNode { in test_insertion() argument 78 fn test_insertion_style_attribute(rule_tree: &RuleTree, rules: &[(StyleSource, CascadeLevel)], in test_insertion_style_attribute() argument 82 …rules.push((StyleSource::from_declarations(Arc::new(shared_lock.wrap(PropertyDeclarationBlock::wit… in test_insertion_style_attribute()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/style/ |
H A D | ServoStyleSet.cpp | 135 aParentContext->StyleSource().AsServoComputedValues(); in ResolveStyleForText() 149 aParentContext ? aParentContext->StyleSource().AsServoComputedValues() : nullptr; in ResolveStyleForOtherNonElement() 174 aParentContext->StyleSource().AsServoComputedValues(), in ResolvePseudoElementStyle() 194 aParentContext ? aParentContext->StyleSource().AsServoComputedValues() in ResolveAnonymousBoxStyle() 369 aParentContext->StyleSource().AsServoComputedValues(), in ProbePseudoElementStyle()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/ |
H A D | custom_scrollbar.cc | 148 if (!StyleSource()->GetLayoutObject()) in GetScrollbarPseudoElementStyle() 150 const ComputedStyle* source_style = StyleSource()->GetLayoutObject()->Style(); in GetScrollbarPseudoElementStyle() 152 StyleSource()->StyleForPseudoElement( in GetScrollbarPseudoElementStyle() 266 &StyleSource()->GetDocument(), scrollable_area_, this, part_type); in UpdateScrollbarPart()
|