pub enum PseudoElement {
Show 79 variants
after,
backdrop(Option<VendorPrefix>),
before,
cue,
file_selector_button,
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>),
list_bullet(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>),
color_swatch_wrapper(Option<VendorPrefix>),
color_swatch(Option<VendorPrefix>),
calendar_picker_indicator(Option<VendorPrefix>),
details_marker(Option<VendorPrefix>),
}
Expand description
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
list_bullet(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)
color_swatch_wrapper(Option<VendorPrefix>)
-webkit- and -moz-
color_swatch(Option<VendorPrefix>)
-webkit- and -moz-
calendar_picker_indicator(Option<VendorPrefix>)
-webkit- only
details_marker(Option<VendorPrefix>)
-webkit- only
Implementations§
Source§impl PseudoElement
impl PseudoElement
Sourcepub fn supports_user_action_state(&self) -> bool
pub fn supports_user_action_state(&self) -> bool
Whether this pseudo-element supports user action selectors.
Trait Implementations§
Source§impl Clone for PseudoElement
impl Clone for PseudoElement
Source§fn clone(&self) -> PseudoElement
fn clone(&self) -> PseudoElement
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PseudoElement
impl Debug for PseudoElement
Source§impl Hash for PseudoElement
impl Hash for PseudoElement
Source§impl Ord for PseudoElement
impl Ord for PseudoElement
Source§fn cmp(&self, other: &PseudoElement) -> Ordering
fn cmp(&self, other: &PseudoElement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PseudoElement
impl PartialEq for PseudoElement
Source§impl PartialOrd for PseudoElement
impl PartialOrd for PseudoElement
Source§impl PseudoElement for PseudoElement
impl PseudoElement for PseudoElement
Source§type Impl = OurSelectorImpl
type Impl = OurSelectorImpl
SelectorImpl
this pseudo-element is used for.