Enum css::domain::selectors::PseudoElement
[−]
[src]
pub enum PseudoElement { after, backdrop(Option<VendorPrefix>), before, cue, first_letter, first_line, marker, grammar_error, placeholder(Option<VendorPrefix>), selection(Option<VendorPrefix>), spelling_error, progress_bar(Option<VendorPrefix>), range_progress(Option<VendorPrefix>), range_thumb(Option<VendorPrefix>), range_track(Option<VendorPrefix>), anonymous_block(Option<VendorPrefix>), details_summary(Option<VendorPrefix>), details_content(Option<VendorPrefix>), text(Option<VendorPrefix>), input_text(Option<VendorPrefix>), table_wrapper(Option<VendorPrefix>), anonymous_table_wrapper(Option<VendorPrefix>), anonymous_table(Option<VendorPrefix>), anonymous_table_row(Option<VendorPrefix>), anonymous_table_cell(Option<VendorPrefix>), inline_block_wrapper(Option<VendorPrefix>), inline_absolute(Option<VendorPrefix>), browse(Option<VendorPrefix>), check(Option<VendorPrefix>), clear(Option<VendorPrefix>), expand(Option<VendorPrefix>), fill_lower(Option<VendorPrefix>), reveal(Option<VendorPrefix>), value(Option<VendorPrefix>), anonymous_positioned_block(Option<VendorPrefix>), canvas(Option<VendorPrefix>), cell_content(Option<VendorPrefix>), focus_inner(Option<VendorPrefix>), focus_outer(Option<VendorPrefix>), inline_table(Option<VendorPrefix>), page(Option<VendorPrefix>), page_sequence(Option<VendorPrefix>), pagebreak(Option<VendorPrefix>), pagecontent(Option<VendorPrefix>), scrolled_canvas(Option<VendorPrefix>), scrolled_content(Option<VendorPrefix>), scrolled_page_sequence(Option<VendorPrefix>), svg_foreign_content(Option<VendorPrefix>), table(Option<VendorPrefix>), table_cell(Option<VendorPrefix>), table_column(Option<VendorPrefix>), table_column_group(Option<VendorPrefix>), table_outer(Option<VendorPrefix>), table_row(Option<VendorPrefix>), table_row_group(Option<VendorPrefix>), viewport(Option<VendorPrefix>), viewport_scroll(Option<VendorPrefix>), xul_anonymous_block(Option<VendorPrefix>), tree_cell_text(Option<VendorPrefix>), tree_row(Option<VendorPrefix>), file_upload_button(Option<VendorPrefix>), inner_spin_button(Option<VendorPrefix>), meter_bar(Option<VendorPrefix>), meter_even_less_good_value(Option<VendorPrefix>), meter_inner_element(Option<VendorPrefix>), meter_optimum_value(Option<VendorPrefix>), meter_suboptimum_value(Option<VendorPrefix>), outer_spin_button(Option<VendorPrefix>), progress_inner_element(Option<VendorPrefix>), progress_value(Option<VendorPrefix>), search_cancel_button(Option<VendorPrefix>), search_results_button(Option<VendorPrefix>), search_decoration(Option<VendorPrefix>), }
A pseudo-element, both public and private. Includes browser-specific pseudo-elements and pseudo-elements which, although named differently, map to near equivalency
Variants
after
backdrop(Option<VendorPrefix>)
before
cue
first_letter
first_line
marker
grammar_error
placeholder(Option<VendorPrefix>)
selection(Option<VendorPrefix>)
spelling_error
progress_bar(Option<VendorPrefix>)
Not standardized but there are near equivalents amongst the various browsers under different names (we use the Mozilla name without the -moz- prefix)
range_progress(Option<VendorPrefix>)
Not standardized but there are near equivalents amongst the various browsers under different names (we use the Mozilla name without the -moz- prefix)
range_thumb(Option<VendorPrefix>)
Not standardized but there are near equivalents amongst the various browsers under different names (we use the Mozilla name without the -moz- prefix)
range_track(Option<VendorPrefix>)
Not standardized but there are near equivalents amongst the various browsers under different names (we use the Mozilla name without the -moz- prefix)
anonymous_block(Option<VendorPrefix>)
-servo- and -moz- only
details_summary(Option<VendorPrefix>)
-servo- only
details_content(Option<VendorPrefix>)
-servo- only
text(Option<VendorPrefix>)
-servo- only
input_text(Option<VendorPrefix>)
-servo- only
table_wrapper(Option<VendorPrefix>)
-servo- only
anonymous_table_wrapper(Option<VendorPrefix>)
-servo- only
anonymous_table(Option<VendorPrefix>)
-servo- only
anonymous_table_row(Option<VendorPrefix>)
-servo- only
anonymous_table_cell(Option<VendorPrefix>)
-servo- only
inline_block_wrapper(Option<VendorPrefix>)
-servo- only
inline_absolute(Option<VendorPrefix>)
-servo- only
browse(Option<VendorPrefix>)
-ms- only
check(Option<VendorPrefix>)
-ms- only
clear(Option<VendorPrefix>)
-ms- only
expand(Option<VendorPrefix>)
-ms- only
fill_lower(Option<VendorPrefix>)
-ms- only
reveal(Option<VendorPrefix>)
-ms- only
value(Option<VendorPrefix>)
-ms- only
anonymous_positioned_block(Option<VendorPrefix>)
-moz- only
canvas(Option<VendorPrefix>)
-moz- only
cell_content(Option<VendorPrefix>)
-moz- only
focus_inner(Option<VendorPrefix>)
-moz- only
focus_outer(Option<VendorPrefix>)
-moz- only
inline_table(Option<VendorPrefix>)
-moz- only
page(Option<VendorPrefix>)
-moz- only
page_sequence(Option<VendorPrefix>)
-moz- only
pagebreak(Option<VendorPrefix>)
-moz- only
pagecontent(Option<VendorPrefix>)
-moz- only
scrolled_canvas(Option<VendorPrefix>)
-moz- only
scrolled_content(Option<VendorPrefix>)
-moz- only
scrolled_page_sequence(Option<VendorPrefix>)
-moz- only
svg_foreign_content(Option<VendorPrefix>)
-moz- only
table(Option<VendorPrefix>)
-moz- only
table_cell(Option<VendorPrefix>)
-moz- only
table_column(Option<VendorPrefix>)
-moz- only
table_column_group(Option<VendorPrefix>)
-moz- only
table_outer(Option<VendorPrefix>)
-moz- only
table_row(Option<VendorPrefix>)
-moz- only
table_row_group(Option<VendorPrefix>)
-moz- only
viewport(Option<VendorPrefix>)
-moz- only
viewport_scroll(Option<VendorPrefix>)
-moz- only
xul_anonymous_block(Option<VendorPrefix>)
-moz- only
tree_cell_text(Option<VendorPrefix>)
tree_row(Option<VendorPrefix>)
-webkit- only
-webkit- only
meter_bar(Option<VendorPrefix>)
-webkit- only
meter_even_less_good_value(Option<VendorPrefix>)
-webkit- only
meter_inner_element(Option<VendorPrefix>)
-webkit- only
meter_optimum_value(Option<VendorPrefix>)
-webkit- only
meter_suboptimum_value(Option<VendorPrefix>)
-webkit- only
-webkit- only
progress_inner_element(Option<VendorPrefix>)
-webkit- only
progress_value(Option<VendorPrefix>)
-webkit- only
-webkit- only
-webkit- only
search_decoration(Option<VendorPrefix>)
-webkit- only (not documented on MDN on 7th November 2017)
Methods
impl PseudoElement
[src]
fn supports_user_action_state(&self) -> bool
[src]
Whether this pseudo-element supports user action selectors.
Trait Implementations
impl Debug for PseudoElement
[src]
impl Clone for PseudoElement
[src]
fn clone(&self) -> PseudoElement
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for PseudoElement
[src]
fn cmp(&self, __arg_0: &PseudoElement) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.22.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd for PseudoElement
[src]
fn partial_cmp(&self, __arg_0: &PseudoElement) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Eq for PseudoElement
[src]
impl PartialEq for PseudoElement
[src]
fn eq(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests for !=
.
impl Hash for PseudoElement
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ToCss for PseudoElement
[src]
fn to_css<W: Write>(&self, dest: &mut W) -> Result
[src]
Serialize self
in CSS syntax, writing to dest
.
fn to_css_string(&self) -> String
[src]
Serialize self
in CSS syntax and return a string. Read more
impl PseudoElement for PseudoElement
[src]
type Impl = OurSelectorImpl
The SelectorImpl
this pseudo-element is used for.
fn supports_pseudo_class(
&self,
pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
[src]
&self,
pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
Whether the pseudo-element supports a given state selector to the right of it. Read more