Struct style::properties::StyleBuilder [] [src]

pub struct StyleBuilder<'a> {
    pub device: &'a Device,
    pub rules: Option<StrongRuleNode>,
    pub pseudo: Option<&'a PseudoElement>,
    pub writing_mode: WritingMode,
    pub flags: ComputedValueFlags,
    // some fields omitted
}

A type used to compute a struct with minimal overhead.

This allows holding references to the parent/default computed values without actually cloning them, until we either build the style, or mutate the inherited value.

Fields

The device we're using to compute style.

This provides access to viewport unit ratios, etc.

The rule node representing the ordered list of rules matched for this node.

The pseudo-element this style will represent.

The writing mode flags.

TODO(emilio): Make private.

Flags for the computed value.

Methods

impl<'a> StyleBuilder<'a>
[src]

[src]

Whether we're a visited style.

[src]

Creates a StyleBuilder holding only references to the structs of s, in order to create a derived style.

[src]

Copy the reset properties from style.

[src]

Inherit background_color from our parent style.

[src]

Reset background_color to the initial value.

[src]

Set the background_color to the computed value value.

[src]

Inherit background_image from our parent style.

[src]

Reset background_image to the initial value.

[src]

Inherit background_position_x from our parent style.

[src]

Reset background_position_x to the initial value.

[src]

Inherit background_position_y from our parent style.

[src]

Reset background_position_y to the initial value.

[src]

Inherit background_repeat from our parent style.

[src]

Reset background_repeat to the initial value.

[src]

Inherit background_attachment from our parent style.

[src]

Reset background_attachment to the initial value.

[src]

Inherit background_clip from our parent style.

[src]

Reset background_clip to the initial value.

[src]

Inherit background_origin from our parent style.

[src]

Reset background_origin to the initial value.

[src]

Inherit background_size from our parent style.

[src]

Reset background_size to the initial value.

[src]

Inherit border_top_color from our parent style.

[src]

Reset border_top_color to the initial value.

[src]

Set the border_top_color to the computed value value.

[src]

Inherit border_top_style from our parent style.

[src]

Reset border_top_style to the initial value.

[src]

Set the border_top_style to the computed value value.

[src]

Inherit border_top_width from our parent style.

[src]

Reset border_top_width to the initial value.

[src]

Set the border_top_width to the computed value value.

[src]

Inherit border_left_color from our parent style.

[src]

Reset border_left_color to the initial value.

[src]

Set the border_left_color to the computed value value.

[src]

Inherit border_left_style from our parent style.

[src]

Reset border_left_style to the initial value.

[src]

Set the border_left_style to the computed value value.

[src]

Inherit border_left_width from our parent style.

[src]

Reset border_left_width to the initial value.

[src]

Set the border_left_width to the computed value value.

[src]

Inherit border_bottom_color from our parent style.

[src]

Reset border_bottom_color to the initial value.

[src]

Set the border_bottom_color to the computed value value.

[src]

Inherit border_bottom_style from our parent style.

[src]

Reset border_bottom_style to the initial value.

[src]

Set the border_bottom_style to the computed value value.

[src]

Inherit border_bottom_width from our parent style.

[src]

Reset border_bottom_width to the initial value.

[src]

Set the border_bottom_width to the computed value value.

[src]

Inherit border_right_color from our parent style.

[src]

Reset border_right_color to the initial value.

[src]

Set the border_right_color to the computed value value.

[src]

Inherit border_right_style from our parent style.

[src]

Reset border_right_style to the initial value.

[src]

Set the border_right_style to the computed value value.

[src]

Inherit border_right_width from our parent style.

[src]

Reset border_right_width to the initial value.

[src]

Set the border_right_width to the computed value value.

[src]

Inherit border_block_start_color from our parent style.

[src]

Reset border_block_start_color to the initial value.

[src]

Set the border_block_start_color to the computed value value.

[src]

Inherit border_block_start_style from our parent style.

[src]

Reset border_block_start_style to the initial value.

[src]

Set the border_block_start_style to the computed value value.

[src]

Inherit border_block_start_width from our parent style.

[src]

Reset border_block_start_width to the initial value.

[src]

Set the border_block_start_width to the computed value value.

[src]

Inherit border_block_end_color from our parent style.

[src]

Reset border_block_end_color to the initial value.

[src]

Set the border_block_end_color to the computed value value.

[src]

Inherit border_block_end_style from our parent style.

[src]

Reset border_block_end_style to the initial value.

[src]

Set the border_block_end_style to the computed value value.

[src]

Inherit border_block_end_width from our parent style.

[src]

Reset border_block_end_width to the initial value.

[src]

Set the border_block_end_width to the computed value value.

[src]

Inherit border_inline_start_color from our parent style.

[src]

Reset border_inline_start_color to the initial value.

[src]

Set the border_inline_start_color to the computed value value.

[src]

Inherit border_inline_start_style from our parent style.

[src]

Reset border_inline_start_style to the initial value.

[src]

Set the border_inline_start_style to the computed value value.

[src]

Inherit border_inline_start_width from our parent style.

[src]

Reset border_inline_start_width to the initial value.

[src]

Set the border_inline_start_width to the computed value value.

[src]

Inherit border_inline_end_color from our parent style.

[src]

Reset border_inline_end_color to the initial value.

[src]

Set the border_inline_end_color to the computed value value.

[src]

Inherit border_inline_end_style from our parent style.

[src]

Reset border_inline_end_style to the initial value.

[src]

Set the border_inline_end_style to the computed value value.

[src]

Inherit border_inline_end_width from our parent style.

[src]

Reset border_inline_end_width to the initial value.

[src]

Set the border_inline_end_width to the computed value value.

[src]

Inherit border_top_left_radius from our parent style.

[src]

Reset border_top_left_radius to the initial value.

[src]

Set the border_top_left_radius to the computed value value.

[src]

Inherit border_top_right_radius from our parent style.

[src]

Reset border_top_right_radius to the initial value.

[src]

Set the border_top_right_radius to the computed value value.

[src]

Inherit border_bottom_right_radius from our parent style.

[src]

Reset border_bottom_right_radius to the initial value.

[src]

Set the border_bottom_right_radius to the computed value value.

[src]

Inherit border_bottom_left_radius from our parent style.

[src]

Reset border_bottom_left_radius to the initial value.

[src]

Set the border_bottom_left_radius to the computed value value.

[src]

Inherit border_image_source from our parent style.

[src]

Reset border_image_source to the initial value.

[src]

Set the border_image_source to the computed value value.

[src]

Inherit border_image_outset from our parent style.

[src]

Reset border_image_outset to the initial value.

[src]

Set the border_image_outset to the computed value value.

[src]

Inherit border_image_repeat from our parent style.

[src]

Reset border_image_repeat to the initial value.

[src]

Set the border_image_repeat to the computed value value.

[src]

Inherit border_image_width from our parent style.

[src]

Reset border_image_width to the initial value.

[src]

Set the border_image_width to the computed value value.

[src]

Inherit border_image_slice from our parent style.

[src]

Reset border_image_slice to the initial value.

[src]

Set the border_image_slice to the computed value value.

[src]

Inherit display from our parent style.

[src]

Reset display to the initial value.

[src]

Set the display to the computed value value.

[src]

Inherit position from our parent style.

[src]

Reset position to the initial value.

[src]

Set the position to the computed value value.

[src]

Inherit float from our parent style.

[src]

Reset float to the initial value.

[src]

Set the float to the computed value value.

[src]

Inherit clear from our parent style.

[src]

Reset clear to the initial value.

[src]

Set the clear to the computed value value.

[src]

Inherit _servo_display_for_hypothetical_box from our parent style.

[src]

Reset _servo_display_for_hypothetical_box to the initial value.

[src]

Set the _servo_display_for_hypothetical_box to the computed value value.

[src]

Inherit vertical_align from our parent style.

[src]

Reset vertical_align to the initial value.

[src]

Set the vertical_align to the computed value value.

[src]

Inherit _servo_overflow_clip_box from our parent style.

[src]

Reset _servo_overflow_clip_box to the initial value.

[src]

Set the _servo_overflow_clip_box to the computed value value.

[src]

Inherit overflow_x from our parent style.

[src]

Reset overflow_x to the initial value.

[src]

Set the overflow_x to the computed value value.

[src]

Inherit overflow_y from our parent style.

[src]

Reset overflow_y to the initial value.

[src]

Set the overflow_y to the computed value value.

[src]

Inherit transition_duration from our parent style.

[src]

Reset transition_duration to the initial value.

[src]

Inherit transition_timing_function from our parent style.

[src]

Reset transition_timing_function to the initial value.

[src]

Inherit transition_property from our parent style.

[src]

Reset transition_property to the initial value.

[src]

Inherit transition_delay from our parent style.

[src]

Reset transition_delay to the initial value.

[src]

Inherit animation_name from our parent style.

[src]

Reset animation_name to the initial value.

[src]

Inherit animation_duration from our parent style.

[src]

Reset animation_duration to the initial value.

[src]

Inherit animation_timing_function from our parent style.

[src]

Reset animation_timing_function to the initial value.

[src]

Inherit animation_iteration_count from our parent style.

[src]

Reset animation_iteration_count to the initial value.

[src]

Inherit animation_direction from our parent style.

[src]

Reset animation_direction to the initial value.

[src]

Inherit animation_play_state from our parent style.

[src]

Reset animation_play_state to the initial value.

[src]

Inherit animation_fill_mode from our parent style.

[src]

Reset animation_fill_mode to the initial value.

[src]

Inherit animation_delay from our parent style.

[src]

Reset animation_delay to the initial value.

[src]

Inherit transform from our parent style.

[src]

Reset transform to the initial value.

[src]

Set the transform to the computed value value.

[src]

Inherit perspective from our parent style.

[src]

Reset perspective to the initial value.

[src]

Set the perspective to the computed value value.

[src]

Inherit perspective_origin from our parent style.

[src]

Reset perspective_origin to the initial value.

[src]

Set the perspective_origin to the computed value value.

[src]

Inherit backface_visibility from our parent style.

[src]

Reset backface_visibility to the initial value.

[src]

Set the backface_visibility to the computed value value.

[src]

Inherit transform_style from our parent style.

[src]

Reset transform_style to the initial value.

[src]

Set the transform_style to the computed value value.

[src]

Inherit transform_origin from our parent style.

[src]

Reset transform_origin to the initial value.

[src]

Set the transform_origin to the computed value value.

[src]

Inherit color from our parent style.

[src]

Reset color to the initial value.

[src]

Set the color to the computed value value.

[src]

Inherit column_width from our parent style.

[src]

Reset column_width to the initial value.

[src]

Set the column_width to the computed value value.

[src]

Inherit column_count from our parent style.

[src]

Reset column_count to the initial value.

[src]

Set the column_count to the computed value value.

[src]

Inherit column_gap from our parent style.

[src]

Reset column_gap to the initial value.

[src]

Set the column_gap to the computed value value.

[src]

Inherit content from our parent style.

[src]

Reset content to the initial value.

[src]

Set the content to the computed value value.

[src]

Inherit counter_increment from our parent style.

[src]

Reset counter_increment to the initial value.

[src]

Set the counter_increment to the computed value value.

[src]

Inherit counter_reset from our parent style.

[src]

Reset counter_reset to the initial value.

[src]

Set the counter_reset to the computed value value.

[src]

Inherit opacity from our parent style.

[src]

Reset opacity to the initial value.

[src]

Set the opacity to the computed value value.

[src]

Inherit box_shadow from our parent style.

[src]

Reset box_shadow to the initial value.

[src]

Inherit clip from our parent style.

[src]

Reset clip to the initial value.

[src]

Set the clip to the computed value value.

[src]

Inherit filter from our parent style.

[src]

Reset filter to the initial value.

[src]

Inherit mix_blend_mode from our parent style.

[src]

Reset mix_blend_mode to the initial value.

[src]

Set the mix_blend_mode to the computed value value.

[src]

Inherit font_family from our parent style.

[src]

Reset font_family to the initial value.

[src]

Set the font_family to the computed value value.

[src]

Inherit font_style from our parent style.

[src]

Reset font_style to the initial value.

[src]

Set the font_style to the computed value value.

[src]

Inherit font_variant_caps from our parent style.

[src]

Reset font_variant_caps to the initial value.

[src]

Set the font_variant_caps to the computed value value.

[src]

Inherit font_weight from our parent style.

[src]

Reset font_weight to the initial value.

[src]

Set the font_weight to the computed value value.

[src]

Inherit font_stretch from our parent style.

[src]

Reset font_stretch to the initial value.

[src]

Set the font_stretch to the computed value value.

[src]

Inherit visibility from our parent style.

[src]

Reset visibility to the initial value.

[src]

Set the visibility to the computed value value.

[src]

Inherit writing_mode from our parent style.

[src]

Reset writing_mode to the initial value.

[src]

Set the writing_mode to the computed value value.

[src]

Inherit direction from our parent style.

[src]

Reset direction to the initial value.

[src]

Set the direction to the computed value value.

[src]

Inherit image_rendering from our parent style.

[src]

Reset image_rendering to the initial value.

[src]

Set the image_rendering to the computed value value.

[src]

Inherit border_collapse from our parent style.

[src]

Reset border_collapse to the initial value.

[src]

Set the border_collapse to the computed value value.

[src]

Inherit empty_cells from our parent style.

[src]

Reset empty_cells to the initial value.

[src]

Set the empty_cells to the computed value value.

[src]

Inherit caption_side from our parent style.

[src]

Reset caption_side to the initial value.

[src]

Set the caption_side to the computed value value.

[src]

Inherit border_spacing from our parent style.

[src]

Reset border_spacing to the initial value.

[src]

Set the border_spacing to the computed value value.

[src]

Inherit line_height from our parent style.

[src]

Reset line_height to the initial value.

[src]

Set the line_height to the computed value value.

[src]

Inherit text_transform from our parent style.

[src]

Reset text_transform to the initial value.

[src]

Set the text_transform to the computed value value.

[src]

Inherit text_indent from our parent style.

[src]

Reset text_indent to the initial value.

[src]

Set the text_indent to the computed value value.

[src]

Inherit overflow_wrap from our parent style.

[src]

Reset overflow_wrap to the initial value.

[src]

Set the overflow_wrap to the computed value value.

[src]

Inherit word_break from our parent style.

[src]

Reset word_break to the initial value.

[src]

Set the word_break to the computed value value.

[src]

Inherit text_justify from our parent style.

[src]

Reset text_justify to the initial value.

[src]

Set the text_justify to the computed value value.

[src]

Inherit text_align from our parent style.

[src]

Reset text_align to the initial value.

[src]

Set the text_align to the computed value value.

[src]

Inherit letter_spacing from our parent style.

[src]

Reset letter_spacing to the initial value.

[src]

Set the letter_spacing to the computed value value.

[src]

Inherit word_spacing from our parent style.

[src]

Reset word_spacing to the initial value.

[src]

Set the word_spacing to the computed value value.

[src]

Inherit _servo_text_decorations_in_effect from our parent style.

[src]

Reset _servo_text_decorations_in_effect to the initial value.

[src]

Set the _servo_text_decorations_in_effect to the computed value value.

[src]

Inherit white_space from our parent style.

[src]

Reset white_space to the initial value.

[src]

Set the white_space to the computed value value.

[src]

Inherit text_shadow from our parent style.

[src]

Reset text_shadow to the initial value.

[src]

Inherit text_rendering from our parent style.

[src]

Reset text_rendering to the initial value.

[src]

Set the text_rendering to the computed value value.

[src]

Inherit list_style_position from our parent style.

[src]

Reset list_style_position to the initial value.

[src]

Set the list_style_position to the computed value value.

[src]

Inherit list_style_type from our parent style.

[src]

Reset list_style_type to the initial value.

[src]

Set the list_style_type to the computed value value.

[src]

Inherit list_style_image from our parent style.

[src]

Reset list_style_image to the initial value.

[src]

Set the list_style_image to the computed value value.

[src]

Inherit quotes from our parent style.

[src]

Reset quotes to the initial value.

[src]

Set the quotes to the computed value value.

[src]

Inherit margin_top from our parent style.

[src]

Reset margin_top to the initial value.

[src]

Set the margin_top to the computed value value.

[src]

Inherit margin_left from our parent style.

[src]

Reset margin_left to the initial value.

[src]

Set the margin_left to the computed value value.

[src]

Inherit margin_bottom from our parent style.

[src]

Reset margin_bottom to the initial value.

[src]

Set the margin_bottom to the computed value value.

[src]

Inherit margin_right from our parent style.

[src]

Reset margin_right to the initial value.

[src]

Set the margin_right to the computed value value.

[src]

Inherit margin_block_start from our parent style.

[src]

Reset margin_block_start to the initial value.

[src]

Set the margin_block_start to the computed value value.

[src]

Inherit margin_block_end from our parent style.

[src]

Reset margin_block_end to the initial value.

[src]

Set the margin_block_end to the computed value value.

[src]

Inherit margin_inline_start from our parent style.

[src]

Reset margin_inline_start to the initial value.

[src]

Set the margin_inline_start to the computed value value.

[src]

Inherit margin_inline_end from our parent style.

[src]

Reset margin_inline_end to the initial value.

[src]

Set the margin_inline_end to the computed value value.

[src]

Inherit outline_color from our parent style.

[src]

Reset outline_color to the initial value.

[src]

Set the outline_color to the computed value value.

[src]

Inherit outline_style from our parent style.

[src]

Reset outline_style to the initial value.

[src]

Set the outline_style to the computed value value.

[src]

Inherit outline_width from our parent style.

[src]

Reset outline_width to the initial value.

[src]

Set the outline_width to the computed value value.

[src]

Inherit outline_offset from our parent style.

[src]

Reset outline_offset to the initial value.

[src]

Set the outline_offset to the computed value value.

[src]

Inherit padding_top from our parent style.

[src]

Reset padding_top to the initial value.

[src]

Set the padding_top to the computed value value.

[src]

Inherit padding_left from our parent style.

[src]

Reset padding_left to the initial value.

[src]

Set the padding_left to the computed value value.

[src]

Inherit padding_bottom from our parent style.

[src]

Reset padding_bottom to the initial value.

[src]

Set the padding_bottom to the computed value value.

[src]

Inherit padding_right from our parent style.

[src]

Reset padding_right to the initial value.

[src]

Set the padding_right to the computed value value.

[src]

Inherit padding_block_start from our parent style.

[src]

Reset padding_block_start to the initial value.

[src]

Set the padding_block_start to the computed value value.

[src]

Inherit padding_block_end from our parent style.

[src]

Reset padding_block_end to the initial value.

[src]

Set the padding_block_end to the computed value value.

[src]

Inherit padding_inline_start from our parent style.

[src]

Reset padding_inline_start to the initial value.

[src]

Set the padding_inline_start to the computed value value.

[src]

Inherit padding_inline_end from our parent style.

[src]

Reset padding_inline_end to the initial value.

[src]

Set the padding_inline_end to the computed value value.

[src]

Inherit cursor from our parent style.

[src]

Reset cursor to the initial value.

[src]

Set the cursor to the computed value value.

[src]

Inherit pointer_events from our parent style.

[src]

Reset pointer_events to the initial value.

[src]

Set the pointer_events to the computed value value.

[src]

Inherit top from our parent style.

[src]

Reset top to the initial value.

[src]

Set the top to the computed value value.

[src]

Inherit left from our parent style.

[src]

Reset left to the initial value.

[src]

Set the left to the computed value value.

[src]

Inherit bottom from our parent style.

[src]

Reset bottom to the initial value.

[src]

Set the bottom to the computed value value.

[src]

Inherit right from our parent style.

[src]

Reset right to the initial value.

[src]

Set the right to the computed value value.

[src]

Inherit offset_block_start from our parent style.

[src]

Reset offset_block_start to the initial value.

[src]

Set the offset_block_start to the computed value value.

[src]

Inherit offset_block_end from our parent style.

[src]

Reset offset_block_end to the initial value.

[src]

Set the offset_block_end to the computed value value.

[src]

Inherit offset_inline_start from our parent style.

[src]

Reset offset_inline_start to the initial value.

[src]

Set the offset_inline_start to the computed value value.

[src]

Inherit offset_inline_end from our parent style.

[src]

Reset offset_inline_end to the initial value.

[src]

Set the offset_inline_end to the computed value value.

[src]

Inherit z_index from our parent style.

[src]

Reset z_index to the initial value.

[src]

Set the z_index to the computed value value.

[src]

Inherit flex_direction from our parent style.

[src]

Reset flex_direction to the initial value.

[src]

Set the flex_direction to the computed value value.

[src]

Inherit flex_wrap from our parent style.

[src]

Reset flex_wrap to the initial value.

[src]

Set the flex_wrap to the computed value value.

[src]

Inherit justify_content from our parent style.

[src]

Reset justify_content to the initial value.

[src]

Set the justify_content to the computed value value.

[src]

Inherit align_content from our parent style.

[src]

Reset align_content to the initial value.

[src]

Set the align_content to the computed value value.

[src]

Inherit align_items from our parent style.

[src]

Reset align_items to the initial value.

[src]

Set the align_items to the computed value value.

[src]

Inherit flex_grow from our parent style.

[src]

Reset flex_grow to the initial value.

[src]

Set the flex_grow to the computed value value.

[src]

Inherit flex_shrink from our parent style.

[src]

Reset flex_shrink to the initial value.

[src]

Set the flex_shrink to the computed value value.

[src]

Inherit align_self from our parent style.

[src]

Reset align_self to the initial value.

[src]

Set the align_self to the computed value value.

[src]

Inherit order from our parent style.

[src]

Reset order to the initial value.

[src]

Set the order to the computed value value.

[src]

Inherit flex_basis from our parent style.

[src]

Reset flex_basis to the initial value.

[src]

Set the flex_basis to the computed value value.

[src]

Inherit width from our parent style.

[src]

Reset width to the initial value.

[src]

Set the width to the computed value value.

[src]

Inherit min_width from our parent style.

[src]

Reset min_width to the initial value.

[src]

Set the min_width to the computed value value.

[src]

Inherit max_width from our parent style.

[src]

Reset max_width to the initial value.

[src]

Set the max_width to the computed value value.

[src]

Inherit height from our parent style.

[src]

Reset height to the initial value.

[src]

Set the height to the computed value value.

[src]

Inherit min_height from our parent style.

[src]

Reset min_height to the initial value.

[src]

Set the min_height to the computed value value.

[src]

Inherit max_height from our parent style.

[src]

Reset max_height to the initial value.

[src]

Set the max_height to the computed value value.

[src]

Inherit block_size from our parent style.

[src]

Reset block_size to the initial value.

[src]

Set the block_size to the computed value value.

[src]

Inherit min_block_size from our parent style.

[src]

Reset min_block_size to the initial value.

[src]

Set the min_block_size to the computed value value.

[src]

Inherit max_block_size from our parent style.

[src]

Reset max_block_size to the initial value.

[src]

Set the max_block_size to the computed value value.

[src]

Inherit inline_size from our parent style.

[src]

Reset inline_size to the initial value.

[src]

Set the inline_size to the computed value value.

[src]

Inherit min_inline_size from our parent style.

[src]

Reset min_inline_size to the initial value.

[src]

Set the min_inline_size to the computed value value.

[src]

Inherit max_inline_size from our parent style.

[src]

Reset max_inline_size to the initial value.

[src]

Set the max_inline_size to the computed value value.

[src]

Inherit box_sizing from our parent style.

[src]

Reset box_sizing to the initial value.

[src]

Set the box_sizing to the computed value value.

[src]

Inherit table_layout from our parent style.

[src]

Reset table_layout to the initial value.

[src]

Set the table_layout to the computed value value.

[src]

Inherit text_overflow from our parent style.

[src]

Reset text_overflow to the initial value.

[src]

Set the text_overflow to the computed value value.

[src]

Inherit unicode_bidi from our parent style.

[src]

Reset unicode_bidi to the initial value.

[src]

Set the unicode_bidi to the computed value value.

[src]

Inherit text_decoration_line from our parent style.

[src]

Reset text_decoration_line to the initial value.

[src]

Set the text_decoration_line to the computed value value.

[src]

Inherits style from the parent element, accounting for the default computed values that need to be provided as well.

[src]

Returns whether we have a visited style.

[src]

Returns whether we're a pseudo-elements style.

[src]

Returns the style we're getting reset properties from.

[src]

Gets an immutable view of the current Background style.

[src]

Gets a mutable view of the current Background style.

[src]

Gets a mutable view of the current Background style.

[src]

Gets a mutable view of the current Background style.

[src]

Gets a mutable view of the current Background style, only if it's been mutated before.

[src]

Reset the current Background style to its default value.

[src]

Gets an immutable view of the current Border style.

[src]

Gets a mutable view of the current Border style.

[src]

Gets a mutable view of the current Border style.

[src]

Gets a mutable view of the current Border style.

[src]

Gets a mutable view of the current Border style, only if it's been mutated before.

[src]

Reset the current Border style to its default value.

[src]

Gets an immutable view of the current Box style.

[src]

Gets a mutable view of the current Box style.

[src]

Gets a mutable view of the current Box style.

[src]

Gets a mutable view of the current Box style.

[src]

Gets a mutable view of the current Box style, only if it's been mutated before.

[src]

Reset the current Box style to its default value.

[src]

Gets an immutable view of the current Color style.

[src]

Gets a mutable view of the current Color style.

[src]

Gets a mutable view of the current Color style.

[src]

Gets a mutable view of the current Color style.

[src]

Gets a mutable view of the current Color style, only if it's been mutated before.

[src]

Reset the current Color style to its default value.

[src]

Gets an immutable view of the current Column style.

[src]

Gets a mutable view of the current Column style.

[src]

Gets a mutable view of the current Column style.

[src]

Gets a mutable view of the current Column style.

[src]

Gets a mutable view of the current Column style, only if it's been mutated before.

[src]

Reset the current Column style to its default value.

[src]

Gets an immutable view of the current Counters style.

[src]

Gets a mutable view of the current Counters style.

[src]

Gets a mutable view of the current Counters style.

[src]

Gets a mutable view of the current Counters style.

[src]

Gets a mutable view of the current Counters style, only if it's been mutated before.

[src]

Reset the current Counters style to its default value.

[src]

Gets an immutable view of the current Effects style.

[src]

Gets a mutable view of the current Effects style.

[src]

Gets a mutable view of the current Effects style.

[src]

Gets a mutable view of the current Effects style.

[src]

Gets a mutable view of the current Effects style, only if it's been mutated before.

[src]

Reset the current Effects style to its default value.

[src]

Gets an immutable view of the current Font style.

[src]

Gets a mutable view of the current Font style.

[src]

Gets a mutable view of the current Font style.

[src]

Gets a mutable view of the current Font style.

[src]

Gets a mutable view of the current Font style, only if it's been mutated before.

[src]

Reset the current Font style to its default value.

[src]

Gets an immutable view of the current InheritedBox style.

[src]

Gets a mutable view of the current InheritedBox style.

[src]

Gets a mutable view of the current InheritedBox style.

[src]

Gets a mutable view of the current InheritedBox style.

[src]

Gets a mutable view of the current InheritedBox style, only if it's been mutated before.

[src]

Reset the current InheritedBox style to its default value.

[src]

Gets an immutable view of the current InheritedTable style.

[src]

Gets a mutable view of the current InheritedTable style.

[src]

Gets a mutable view of the current InheritedTable style.

[src]

Gets a mutable view of the current InheritedTable style.

[src]

Gets a mutable view of the current InheritedTable style, only if it's been mutated before.

[src]

Reset the current InheritedTable style to its default value.

[src]

Gets an immutable view of the current InheritedText style.

[src]

Gets a mutable view of the current InheritedText style.

[src]

Gets a mutable view of the current InheritedText style.

[src]

Gets a mutable view of the current InheritedText style.

[src]

Gets a mutable view of the current InheritedText style, only if it's been mutated before.

[src]

Reset the current InheritedText style to its default value.

[src]

Gets an immutable view of the current List style.

[src]

Gets a mutable view of the current List style.

[src]

Gets a mutable view of the current List style.

[src]

Gets a mutable view of the current List style.

[src]

Gets a mutable view of the current List style, only if it's been mutated before.

[src]

Reset the current List style to its default value.

[src]

Gets an immutable view of the current Margin style.

[src]

Gets a mutable view of the current Margin style.

[src]

Gets a mutable view of the current Margin style.

[src]

Gets a mutable view of the current Margin style.

[src]

Gets a mutable view of the current Margin style, only if it's been mutated before.

[src]

Reset the current Margin style to its default value.

[src]

Gets an immutable view of the current Outline style.

[src]

Gets a mutable view of the current Outline style.

[src]

Gets a mutable view of the current Outline style.

[src]

Gets a mutable view of the current Outline style.

[src]

Gets a mutable view of the current Outline style, only if it's been mutated before.

[src]

Reset the current Outline style to its default value.

[src]

Gets an immutable view of the current Padding style.

[src]

Gets a mutable view of the current Padding style.

[src]

Gets a mutable view of the current Padding style.

[src]

Gets a mutable view of the current Padding style.

[src]

Gets a mutable view of the current Padding style, only if it's been mutated before.

[src]

Reset the current Padding style to its default value.

[src]

Gets an immutable view of the current Pointing style.

[src]

Gets a mutable view of the current Pointing style.

[src]

Gets a mutable view of the current Pointing style.

[src]

Gets a mutable view of the current Pointing style.

[src]

Gets a mutable view of the current Pointing style, only if it's been mutated before.

[src]

Reset the current Pointing style to its default value.

[src]

Gets an immutable view of the current Position style.

[src]

Gets a mutable view of the current Position style.

[src]

Gets a mutable view of the current Position style.

[src]

Gets a mutable view of the current Position style.

[src]

Gets a mutable view of the current Position style, only if it's been mutated before.

[src]

Reset the current Position style to its default value.

[src]

Gets an immutable view of the current Table style.

[src]

Gets a mutable view of the current Table style.

[src]

Gets a mutable view of the current Table style.

[src]

Gets a mutable view of the current Table style.

[src]

Gets a mutable view of the current Table style, only if it's been mutated before.

[src]

Reset the current Table style to its default value.

[src]

Gets an immutable view of the current Text style.

[src]

Gets a mutable view of the current Text style.

[src]

Gets a mutable view of the current Text style.

[src]

Gets a mutable view of the current Text style.

[src]

Gets a mutable view of the current Text style, only if it's been mutated before.

[src]

Reset the current Text style to its default value.

[src]

Returns whether this computed style represents a floated object.

[src]

Returns whether this computed style represents an out of flow-positioned object.

[src]

Whether this style has a top-layer style. That's implemented in Gecko via the -moz-top-layer property, but servo doesn't have any concept of a top layer (yet, it's needed for fullscreen).

[src]

Turns this StyleBuilder into a proper ComputedValues instance.

[src]

Access to various information about our inherited styles. We don't expose an inherited ComputedValues directly, because in the ::first-line case some of the inherited information needs to come from one ComputedValues instance and some from a different one. Inherited writing-mode.

[src]

Inherited style flags.

[src]

And access to inherited style structs. Gets our inherited Background. We don't name these accessors inherited_background because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_background instead.

[src]

Gets our inherited Border. We don't name these accessors inherited_border because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_border instead.

[src]

Gets our inherited Box. We don't name these accessors inherited_box because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_box instead.

[src]

Gets our inherited Color. We don't name these accessors inherited_color because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_color instead.

[src]

Gets our inherited Column. We don't name these accessors inherited_column because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_column instead.

[src]

Gets our inherited Counters. We don't name these accessors inherited_counters because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_counters instead.

[src]

Gets our inherited Effects. We don't name these accessors inherited_effects because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_effects instead.

[src]

Gets our inherited Font. We don't name these accessors inherited_font because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_font instead.

[src]

Gets our inherited InheritedBox. We don't name these accessors inherited_inheritedbox because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_inheritedbox instead.

[src]

Gets our inherited InheritedTable. We don't name these accessors inherited_inheritedtable because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_inheritedtable instead.

[src]

Gets our inherited InheritedText. We don't name these accessors inherited_inheritedtext because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_inheritedtext instead.

[src]

Gets our inherited List. We don't name these accessors inherited_list because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_list instead.

[src]

Gets our inherited Margin. We don't name these accessors inherited_margin because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_margin instead.

[src]

Gets our inherited Outline. We don't name these accessors inherited_outline because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_outline instead.

[src]

Gets our inherited Padding. We don't name these accessors inherited_padding because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_padding instead.

[src]

Gets our inherited Pointing. We don't name these accessors inherited_pointing because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_pointing instead.

[src]

Gets our inherited Position. We don't name these accessors inherited_position because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_position instead.

[src]

Gets our inherited Table. We don't name these accessors inherited_table because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_table instead.

[src]

Gets our inherited Text. We don't name these accessors inherited_text because we already have things like "box" vs "inherited_box" as struct names. Do the next-best thing and call them parent_text instead.