Home
last modified time | relevance | path

Searched refs:CssRule (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/style/stylesheets/
H A Dmod.rs92 pub enum CssRule { enum
110 impl CssRule { impl
118 CssRule::Namespace(_) => 0, in size_of()
122 CssRule::Import(_) => 0, in size_of()
130 CssRule::FontFace(_) => 0, in size_of()
133 CssRule::Viewport(_) => 0, in size_of()
139 CssRule::Page(ref lock) => in size_of()
199 impl CssRule { impl
279 impl DeepCloneWithLock for CssRule { implementation
286 ) -> CssRule { in deep_clone_with_lock() argument
[all …]
H A Drules_iterator.rs23 stack: SmallVec<[slice::Iter<'a, CssRule>; 3]>,
60 type Item = &'a CssRule;
83 CssRule::Namespace(_) | in next()
84 CssRule::Style(_) | in next()
85 CssRule::FontFace(_) | in next()
86 CssRule::CounterStyle(_) | in next()
87 CssRule::Viewport(_) | in next()
88 CssRule::Keyframes(_) | in next()
89 CssRule::Page(_) | in next()
115 CssRule::Media(ref lock) => { in next()
[all …]
H A Drule_list.rs14 use stylesheets::{CssRule, RulesMutateError};
21 pub struct CssRules(pub Vec<CssRule>);
55 pub fn new(rules: Vec<CssRule>, shared_lock: &SharedRwLock) -> Arc<Locked<CssRules>> { in new() argument
64 CssRule::Namespace(..) | in only_ns_or_import()
65 CssRule::Import(..) => true, in only_ns_or_import()
83 if let CssRule::Namespace(..) = *rule { in remove_rule()
126 -> Result<CssRule, RulesMutateError>; in insert_rule() argument
137 -> Result<CssRule, RulesMutateError> { in insert_rule() argument
153 rules.0.get(index - 1).map(CssRule::rule_state) in insert_rule()
160 CssRule::parse( in insert_rule()
[all …]
/dports/www/firefox/firefox-99.0/servo/components/style/stylesheets/
H A Dmod.rs249 pub enum CssRule { enum
269 impl CssRule { impl
276 CssRule::Namespace(_) => 0, in size_of()
280 CssRule::Import(_) => 0, in size_of()
290 CssRule::FontFace(_) => 0, in size_of()
293 CssRule::Viewport(_) => 0, in size_of()
309 CssRule::LayerBlock(_) | CssRule::LayerStatement(_) | CssRule::ScrollTimeline(_) => 0, in size_of()
357 impl CssRule { implementation
438 impl DeepCloneWithLock for CssRule { implementation
445 ) -> CssRule { in deep_clone_with_lock() argument
[all …]
H A Drules_iterator.rs57 rule: &'a CssRule, in children() argument
65 CssRule::Namespace(_) | in children()
66 CssRule::Style(_) | in children()
67 CssRule::FontFace(_) | in children()
68 CssRule::CounterStyle(_) | in children()
69 CssRule::Viewport(_) | in children()
70 CssRule::Keyframes(_) | in children()
72 CssRule::Page(_) | in children()
120 type Item = &'a CssRule;
205 rule: &CssRule, in is_effective() argument
[all …]
H A Drule_list.rs13 use crate::stylesheets::{AllowImportRules, CssRule, RulesMutateError};
21 pub struct CssRules(pub Vec<CssRule>);
58 pub fn new(rules: Vec<CssRule>, shared_lock: &SharedRwLock) -> Arc<Locked<CssRules>> { in new() argument
66 CssRule::Namespace(..) | CssRule::Import(..) => true, in only_ns_or_import()
83 if let CssRule::Namespace(..) = *rule { in remove_rule()
132 ) -> Result<CssRule, RulesMutateError>; in insert_rule() argument
145 ) -> Result<CssRule, RulesMutateError> { in insert_rule() argument
164 .map(CssRule::rule_state) in insert_rule()
174 CssRule::parse( in insert_rule()
/dports/www/firefox-esr/firefox-91.8.0/servo/components/style/stylesheets/
H A Dmod.rs245 pub enum CssRule { enum
262 impl CssRule { impl
269 CssRule::Namespace(_) => 0, in size_of()
273 CssRule::Import(_) => 0, in size_of()
283 CssRule::FontFace(_) => 0, in size_of()
286 CssRule::Viewport(_) => 0, in size_of()
287 CssRule::Keyframes(_) => 0, in size_of()
340 impl CssRule { impl
417 impl DeepCloneWithLock for CssRule { implementation
424 ) -> CssRule { in deep_clone_with_lock() argument
[all …]
H A Drules_iterator.rs57 rule: &'a CssRule, in children_of_rule() argument
68 CssRule::Namespace(_) | in children_of_rule()
69 CssRule::Style(_) | in children_of_rule()
70 CssRule::FontFace(_) | in children_of_rule()
71 CssRule::CounterStyle(_) | in children_of_rule()
72 CssRule::Viewport(_) | in children_of_rule()
73 CssRule::Keyframes(_) | in children_of_rule()
74 CssRule::Page(_) | in children_of_rule()
116 type Item = &'a CssRule;
201 rule: &CssRule, in is_effective() argument
[all …]
H A Drule_list.rs13 use crate::stylesheets::{AllowImportRules, CssRule, RulesMutateError};
21 pub struct CssRules(pub Vec<CssRule>);
58 pub fn new(rules: Vec<CssRule>, shared_lock: &SharedRwLock) -> Arc<Locked<CssRules>> { in size_of()
66 CssRule::Namespace(..) | CssRule::Import(..) => true, in size_of()
83 if let CssRule::Namespace(..) = *rule { in size_of()
132 ) -> Result<CssRule, RulesMutateError>;
145 ) -> Result<CssRule, RulesMutateError> {
164 .map(CssRule::rule_state)
174 CssRule::parse(
/dports/mail/thunderbird/thunderbird-91.8.0/servo/components/style/stylesheets/
H A Dmod.rs245 pub enum CssRule { enum
262 impl CssRule { impl
269 CssRule::Namespace(_) => 0, in size_of()
273 CssRule::Import(_) => 0, in size_of()
283 CssRule::FontFace(_) => 0, in size_of()
286 CssRule::Viewport(_) => 0, in size_of()
287 CssRule::Keyframes(_) => 0, in size_of()
340 impl CssRule { impl
417 impl DeepCloneWithLock for CssRule { implementation
424 ) -> CssRule { in deep_clone_with_lock() argument
[all …]
H A Drules_iterator.rs57 rule: &'a CssRule, in children_of_rule() argument
68 CssRule::Namespace(_) | in children_of_rule()
69 CssRule::Style(_) | in children_of_rule()
70 CssRule::FontFace(_) | in children_of_rule()
71 CssRule::CounterStyle(_) | in children_of_rule()
72 CssRule::Viewport(_) | in children_of_rule()
73 CssRule::Keyframes(_) | in children_of_rule()
74 CssRule::Page(_) | in children_of_rule()
116 type Item = &'a CssRule;
201 rule: &CssRule, in is_effective() argument
[all …]
H A Drule_list.rs13 use crate::stylesheets::{AllowImportRules, CssRule, RulesMutateError};
21 pub struct CssRules(pub Vec<CssRule>);
58 pub fn new(rules: Vec<CssRule>, shared_lock: &SharedRwLock) -> Arc<Locked<CssRules>> { in new() argument
66 CssRule::Namespace(..) | CssRule::Import(..) => true, in only_ns_or_import()
83 if let CssRule::Namespace(..) = *rule { in remove_rule()
132 ) -> Result<CssRule, RulesMutateError>; in insert_rule() argument
145 ) -> Result<CssRule, RulesMutateError> { in insert_rule() argument
164 .map(CssRule::rule_state) in insert_rule()
174 CssRule::parse( in insert_rule()
/dports/lang/spidermonkey78/firefox-78.9.0/servo/components/style/stylesheets/
H A Dmod.rs242 pub enum CssRule { enum
259 impl CssRule { impl
266 CssRule::Namespace(_) => 0, in size_of()
270 CssRule::Import(_) => 0, in size_of()
280 CssRule::FontFace(_) => 0, in size_of()
283 CssRule::Viewport(_) => 0, in size_of()
284 CssRule::Keyframes(_) => 0, in size_of()
337 impl CssRule { implementation
414 impl DeepCloneWithLock for CssRule { implementation
421 ) -> CssRule { in deep_clone_with_lock() argument
[all …]
H A Drules_iterator.rs24 stack: SmallVec<[slice::Iter<'a, CssRule>; 3]>,
38 rules: &'a [CssRule], in new() argument
62 type Item = &'a CssRule;
85 CssRule::Namespace(_) | in next()
86 CssRule::Style(_) | in next()
87 CssRule::FontFace(_) | in next()
88 CssRule::CounterStyle(_) | in next()
89 CssRule::Viewport(_) | in next()
90 CssRule::Keyframes(_) | in next()
91 CssRule::Page(_) | in next()
[all …]
H A Drule_list.rs13 use crate::stylesheets::{AllowImportRules, CssRule, RulesMutateError};
21 pub struct CssRules(pub Vec<CssRule>);
58 pub fn new(rules: Vec<CssRule>, shared_lock: &SharedRwLock) -> Arc<Locked<CssRules>> { in new() argument
66 CssRule::Namespace(..) | CssRule::Import(..) => true, in only_ns_or_import()
83 if let CssRule::Namespace(..) = *rule { in remove_rule()
132 ) -> Result<CssRule, RulesMutateError>; in insert_rule() argument
145 ) -> Result<CssRule, RulesMutateError> { in insert_rule() argument
164 .map(CssRule::rule_state) in insert_rule()
174 CssRule::parse( in insert_rule()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/subresource_filter/tools/rule_parser/
H A Drule.h97 struct CssRule { struct
99 CssRule();
101 CssRule(const CssRule&);
102 ~CssRule();
103 CssRule& operator=(const CssRule&); argument
105 bool operator==(const CssRule& other) const;
106 bool operator!=(const CssRule& other) const { return !operator==(other); }
109 url_pattern_index::proto::CssRule ToProtobuf() const;
128 std::string ToString(const url_pattern_index::proto::CssRule& rule); argument
132 std::ostream& operator<<(std::ostream& os, const CssRule& rule);
H A Drule.cc137 CssRule::CssRule() = default;
139 CssRule::CssRule(const CssRule&) = default;
141 CssRule::~CssRule() = default;
143 CssRule& CssRule::operator=(const CssRule&) = default;
145 bool CssRule::operator==(const CssRule& other) const { in operator ==()
150 url_pattern_index::proto::CssRule CssRule::ToProtobuf() const { in ToProtobuf()
151 url_pattern_index::proto::CssRule result; in ToProtobuf()
175 void CssRule::Canonicalize() { in Canonicalize()
324 std::string ToString(const url_pattern_index::proto::CssRule& rule) { in ToString()
347 std::ostream& operator<<(std::ostream& os, const CssRule& rule) { in operator <<()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/subresource_filter/tools/rule_parser/
H A Drule.h97 struct CssRule { struct
99 CssRule();
101 CssRule(const CssRule&);
102 ~CssRule();
103 CssRule& operator=(const CssRule&); argument
105 bool operator==(const CssRule& other) const;
106 bool operator!=(const CssRule& other) const { return !operator==(other); }
109 url_pattern_index::proto::CssRule ToProtobuf() const;
128 std::string ToString(const url_pattern_index::proto::CssRule& rule); argument
132 std::ostream& operator<<(std::ostream& os, const CssRule& rule);
H A Drule.cc137 CssRule::CssRule() = default;
139 CssRule::CssRule(const CssRule&) = default;
141 CssRule::~CssRule() = default;
143 CssRule& CssRule::operator=(const CssRule&) = default;
145 bool CssRule::operator==(const CssRule& other) const { in operator ==()
150 url_pattern_index::proto::CssRule CssRule::ToProtobuf() const { in ToProtobuf()
151 url_pattern_index::proto::CssRule result; in ToProtobuf()
175 void CssRule::Canonicalize() { in Canonicalize()
324 std::string ToString(const url_pattern_index::proto::CssRule& rule) { in ToString()
347 std::ostream& operator<<(std::ostream& os, const CssRule& rule) { in operator <<()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/web-sys-0.3.55/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { impl
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/web-sys-0.3.55/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { impl
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/web-sys-0.3.55/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { implementation
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/web-sys-0.3.55/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { impl
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/web-sys-0.3.51/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { impl
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/web-sys-0.3.53/src/features/
H A Dgen_CssRule.rs13 pub type CssRule; typedef
20 pub fn type_(this: &CssRule) -> u16; in type_()
27 pub fn css_text(this: &CssRule) -> String; in css_text()
34 pub fn set_css_text(this: &CssRule, value: &str); in set_css_text() argument
41 pub fn parent_rule(this: &CssRule) -> Option<CssRule>; in parent_rule() argument
49 pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>; in parent_style_sheet()
51 impl CssRule { impl

12345678910>>...41