NetSurf
|
Node in box tree. More...
#include <box.h>
Data Fields | |
box_type | type |
Type of box. More... | |
box_flags | flags |
Box flags. More... | |
struct dom_node * | node |
DOM node that generated this box or NULL. More... | |
css_select_results * | styles |
Computed styles for elements and their pseudo elements. More... | |
css_computed_style * | style |
Style for this box. More... | |
lwc_string * | id |
value of id attribute (or name for anchors) More... | |
struct box * | next |
Next sibling box, or NULL. More... | |
struct box * | prev |
Previous sibling box, or NULL. More... | |
struct box * | children |
First child box, or NULL. More... | |
struct box * | last |
Last child box, or NULL. More... | |
struct box * | parent |
Parent box, or NULL. More... | |
struct box * | inline_end |
INLINE_END box corresponding to this INLINE box, or INLINE box corresponding to this INLINE_END box. More... | |
struct box * | float_children |
First float child box, or NULL. More... | |
struct box * | next_float |
Next sibling float box. More... | |
struct box * | float_container |
If box is a float, points to box's containing block. More... | |
int | clear_level |
Level below which subsequent floats must be cleared. More... | |
int | cached_place_below_level |
Level below which floats have been placed. More... | |
int | x |
Coordinate of left padding edge relative to parent box, or relative to ancestor that contains this box in float_children for FLOAT_. More... | |
int | y |
Coordinate of top padding edge, relative as for x. More... | |
int | width |
Width of content box (excluding padding etc.). More... | |
int | height |
Height of content box (excluding padding etc.). More... | |
int | descendant_x0 |
left edge of descendants More... | |
int | descendant_y0 |
top edge of descendants More... | |
int | descendant_x1 |
right edge of descendants More... | |
int | descendant_y1 |
bottom edge of descendants More... | |
int | margin [4] |
Margin: TOP, RIGHT, BOTTOM, LEFT. More... | |
int | padding [4] |
Padding: TOP, RIGHT, BOTTOM, LEFT. More... | |
struct box_border | border [4] |
Border: TOP, RIGHT, BOTTOM, LEFT. More... | |
struct scrollbar * | scroll_x |
Horizontal scroll. More... | |
struct scrollbar * | scroll_y |
Vertical scroll. More... | |
int | min_width |
Width of box taking all line breaks (including margins etc). More... | |
int | max_width |
Width that would be taken with no line breaks. More... | |
char * | text |
Text, or NULL if none. More... | |
size_t | length |
Length of text. More... | |
int | space |
Width of space after current text (depends on font and size). More... | |
size_t | byte_offset |
Byte offset within a textual representation of this content. More... | |
struct nsurl * | href |
Link, or NULL. More... | |
const char * | target |
Link target, or NULL. More... | |
const char * | title |
Title, or NULL. More... | |
unsigned int | columns |
Number of columns for TABLE / TABLE_CELL. More... | |
unsigned int | rows |
Number of rows for TABLE only. More... | |
unsigned int | start_column |
Start column for TABLE_CELL only. More... | |
struct column * | col |
Array of table column data for TABLE only. More... | |
int | list_value |
List item value. More... | |
struct box * | list_marker |
List marker box if this is a list-item, or NULL. More... | |
struct form_control * | gadget |
Form control data, or NULL if not a form control. More... | |
char * | usemap |
(Image)map to use with this object, or NULL if none More... | |
struct hlcache_handle * | background |
Background image for this box, or NULL if none. More... | |
struct hlcache_handle * | object |
Object in this box (usually an image), or NULL if none. More... | |
struct object_params * | object_params |
Parameters for the object, or NULL. More... | |
struct browser_window * | iframe |
Iframe's browser_window, or NULL if none. More... | |
struct hlcache_handle* box::background |
Background image for this box, or NULL if none.
Definition at line 435 of file box.h.
Referenced by box_create(), html_fetch_object(), html_object_callback(), html_object_done(), html_redraw_background(), html_redraw_box_has_background(), and html_redraw_inline_background().
struct box_border box::border[4] |
Border: TOP, RIGHT, BOTTOM, LEFT.
Definition at line 327 of file box.h.
Referenced by box_contains_point(), box_create(), box_handle_scrollbars(), box_hscrollbar_present(), box_vscrollbar_present(), form_open_select_menu(), form_redraw_select_menu(), form_select_menu_callback(), form_select_mouse_drag_end(), html_redraw(), html_redraw_borders(), html_redraw_box(), html_redraw_inline_borders(), html_reformat(), layout_absolute(), layout_block_context(), layout_block_find_dimensions(), layout_document(), layout_flex(), layout_flex__place_line_items_cross(), layout_flex__place_line_items_main(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_line(), layout_next_margin_block(), layout_solve_width(), layout_table(), lh__delta_outer_height(), lh__delta_outer_width(), mouse_action_select_menu(), table_used_border_for_cell(), table_used_bottom_border_for_cell(), table_used_left_border_for_cell(), table_used_right_border_for_cell(), and table_used_top_border_for_cell().
size_t box::byte_offset |
Byte offset within a textual representation of this content.
Definition at line 370 of file box.h.
Referenced by box_create(), box_dump(), coords_from_range(), default_mouse_action(), find_occurrences_html_box(), html_redraw_text_box(), html_selection_drag_end(), mouse_action_drag_selection(), selected_part(), selection_copy(), and selection_label_subtree().
int box::cached_place_below_level |
Level below which floats have been placed.
Definition at line 272 of file box.h.
Referenced by box_create(), layout_block_context(), layout_line(), layout_table(), and place_float_below().
struct box* box::children |
First child box, or NULL.
Definition at line 226 of file box.h.
Referenced by box_count_children(), box_create(), box_dump(), box_find_by_id(), box_free(), box_is_first_child(), box_move_xy(), box_nearest_text_box(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), coords_from_range(), extract_text(), find_occurrences_html_box(), form__select_process_selection(), get_pointer_shape(), html_box_convert_done(), html_redraw_background(), html_redraw_box_children(), html_redraw_find_bg_box(), html_redraw_text_decoration_block(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_document(), layout_flex_ctx__populate_item_data(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_block(), layout_minmax_inline_container(), layout_minmax_line(), layout_minmax_table(), layout_move_children(), layout_next_margin_block(), layout_position_absolute(), layout_position_relative(), layout_table(), selection_copy(), selection_label_subtree(), table_calculate_column_types(), table_cell_top_process_row(), and table_used_left_border_for_cell().
int box::clear_level |
Level below which subsequent floats must be cleared.
This is used only for boxes with float_children
Definition at line 267 of file box.h.
Referenced by layout_block_context(), and layout_line().
struct column* box::col |
Array of table column data for TABLE only.
Definition at line 407 of file box.h.
Referenced by box_create(), box_dump(), box_normalise_table_spans(), layout_minmax_table(), layout_table(), and table_calculate_column_types().
unsigned int box::columns |
Number of columns for TABLE / TABLE_CELL.
Definition at line 392 of file box.h.
Referenced by box_construct_element(), box_create(), box_dump(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_spans(), layout_minmax_table(), layout_table(), table_calculate_column_types(), table_cell_top_process_row(), table_used_left_border_for_cell(), and table_used_right_border_for_cell().
int box::descendant_x0 |
left edge of descendants
Definition at line 309 of file box.h.
Referenced by box_contains_point(), box_create(), box_dump(), html_redraw_box(), layout_calculate_descendant_bboxes(), and layout_update_descendant_bbox().
int box::descendant_x1 |
right edge of descendants
Definition at line 311 of file box.h.
Referenced by box_create(), box_dump(), box_handle_scrollbars(), box_hscrollbar_present(), html_redraw_box(), html_reformat(), layout_calculate_descendant_bboxes(), and layout_update_descendant_bbox().
int box::descendant_y0 |
top edge of descendants
Definition at line 310 of file box.h.
Referenced by box_contains_point(), box_create(), box_dump(), html_redraw_box(), layout_calculate_descendant_bboxes(), layout_table(), and layout_update_descendant_bbox().
int box::descendant_y1 |
bottom edge of descendants
Definition at line 312 of file box.h.
Referenced by box_create(), box_dump(), box_handle_scrollbars(), box_vscrollbar_present(), html_redraw_box(), html_reformat(), layout_calculate_descendant_bboxes(), layout_table(), and layout_update_descendant_bbox().
box_flags box::flags |
Box flags.
Definition at line 186 of file box.h.
Referenced by box_button(), box_canvas(), box_construct_element(), box_construct_element_after(), box_construct_text(), box_create(), box_embed(), box_free_box(), box_iframe(), box_image(), box_input(), box_object(), box_pre(), box_select(), box_talloc_destructor(), box_textarea(), html_object_callback(), html_object_done(), html_redraw_box(), layout_absolute(), layout_block_context(), layout_block_find_dimensions(), layout_calculate_descendant_bboxes(), layout_float_find_dimensions(), layout_line(), layout_lists(), layout_minmax_block(), layout_minmax_line(), layout_next_margin_block(), layout_text_box_split(), and lh__box_is_object().
struct box* box::float_children |
First float child box, or NULL.
Float boxes are in the tree twice, in this list for the block box which defines the area for floats, and also in the standard tree given by children, next, prev, etc.
Definition at line 251 of file box.h.
Referenced by add_float_to_container(), box_create(), box_dump(), box_move_xy(), box_nearest_text_box(), html_redraw_box_children(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_line(), layout_position_absolute(), layout_position_relative(), layout_table(), and place_float_below().
struct box* box::float_container |
If box is a float, points to box's containing block.
Definition at line 261 of file box.h.
Referenced by box_coords(), box_create(), box_dump(), box_move_xy(), layout_absolute(), layout_apply_minmax_height(), layout_compute_relative_offset(), layout_find_dimensions(), layout_flex_item(), layout_line(), and layout_table().
struct form_control* box::gadget |
Form control data, or NULL if not a form control.
Definition at line 423 of file box.h.
Referenced by box_button(), box_construct_element(), box_create(), box_dump(), box_free_box(), box_input(), box_select(), box_textarea(), box_textarea_callback(), box_textarea_create_textarea(), box_textarea_keypress(), get_mouse_action_node(), get_pointer_shape(), html__set_file_gadget_filename(), html_drop_file_at_point(), html_get_contextual_content(), html_redraw_box(), html_redraw_file(), html_scroll_at_point(), html_set_file_gadget_filename(), html_set_selection(), html_texty_element_update(), layout_block_context(), layout_float_find_dimensions(), layout_line(), layout_minmax_block(), layout_minmax_line(), lh__box_is_replace(), and mouse_action_drag_textarea().
int box::height |
Height of content box (excluding padding etc.).
Definition at line 293 of file box.h.
Referenced by add_float_to_container(), box_bounds(), box_contains_point(), box_create(), box_dump(), box_handle_scrollbars(), box_nearer_text_box(), box_nearest_text_box(), box_pick_text_box(), box_vscrollbar_present(), coords_from_range(), find_sides(), form_select_menu_callback(), form_select_mouse_drag_end(), get_mouse_action_node(), html__redraw_a_box(), html_box_drag_start(), html_object_callback(), html_overflow_scroll_drag_end(), html_redraw(), html_redraw_a_box(), html_redraw_background(), html_redraw_box(), html_redraw_text_box(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), html_reformat(), html_textsearch_bounds(), layout_absolute(), layout_apply_minmax_height(), layout_block_add_scrollbar(), layout_block_context(), layout_block_find_dimensions(), layout_calculate_descendant_bboxes(), layout_clear(), layout_compute_offsets(), layout_document(), layout_find_dimensions(), layout_flex(), layout_flex__base_and_main_sizes(), layout_flex__build_line(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_inline_container(), layout_line(), layout_lists(), layout_table(), lh__box_size_cross(), lh__box_size_cross_ptr(), lh__box_size_main(), lh__box_size_main_ptr(), mouse_action_drag_scrollbar(), mouse_action_select_menu(), and place_float_below().
struct nsurl* box::href |
Link, or NULL.
Definition at line 376 of file box.h.
Referenced by box_a(), box_construct_element_after(), box_create(), box_dump(), box_extract_properties(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_talloc_destructor(), get_mouse_action_node(), get_pointer_shape(), and html_get_contextual_content().
lwc_string* box::id |
value of id attribute (or name for anchors)
Definition at line 210 of file box.h.
Referenced by box_a(), box_construct_element_after(), box_create(), box_dump(), box_find_by_id(), and box_talloc_destructor().
struct browser_window* box::iframe |
Iframe's browser_window, or NULL if none.
Definition at line 452 of file box.h.
Referenced by box_create(), box_dump(), browser_window_create_iframes(), browser_window_destroy_iframes(), get_mouse_action_node(), html_drop_file_at_point(), html_get_contextual_content(), html_redraw_box(), html_scroll_at_point(), layout_block_context(), and layout_calculate_descendant_bboxes().
struct box* box::inline_end |
INLINE_END box corresponding to this INLINE box, or INLINE box corresponding to this INLINE_END box.
Definition at line 242 of file box.h.
Referenced by box_construct_element_after(), box_create(), box_dump(), html_redraw_box(), html_redraw_text_decoration(), html_redraw_text_decoration_inline(), layout_calculate_descendant_bboxes(), layout_line(), layout_minmax_line(), and layout_position_relative().
struct box* box::last |
Last child box, or NULL.
Definition at line 231 of file box.h.
Referenced by box_construct_text(), box_create(), box_dump(), box_extract_properties(), box_insert_sibling(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), layout_text_box_split(), and table_cell_top_process_group().
size_t box::length |
Length of text.
Definition at line 360 of file box.h.
Referenced by box_construct_marker(), box_construct_text(), box_create(), box_dump(), box_image(), box_input(), box_select(), default_mouse_action(), extract_text(), find_occurrences_html_box(), form__select_process_selection(), html_redraw_text_box(), html_selection_drag_end(), layout__set_numerical_marker_text(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_line(), layout_text_box_split(), mouse_action_drag_selection(), save_text_add_to_buffer(), selected_part(), selection_copy(), selection_copy_box(), and selection_label_subtree().
struct box* box::list_marker |
List marker box if this is a list-item, or NULL.
Definition at line 417 of file box.h.
Referenced by box_construct_marker(), box_contains_point(), box_create(), box_dump(), box_nearer_text_box(), box_nearest_text_box(), coords_from_range(), extract_text(), html_redraw_box(), layout__get_list_item_count(), layout__ordered_list_count(), layout__set_numerical_marker_text(), layout_calculate_descendant_bboxes(), layout_lists(), save_text_solve_whitespace(), selection_copy(), and selection_label_subtree().
int box::list_value |
List item value.
Definition at line 412 of file box.h.
Referenced by box_create(), layout__ordered_list_count(), and layout__set_numerical_marker_text().
int box::margin[4] |
Margin: TOP, RIGHT, BOTTOM, LEFT.
Definition at line 317 of file box.h.
Referenced by box_create(), box_dump(), box_pick_text_box(), get_mouse_action_node(), html_redraw_background(), html_redraw_box(), html_reformat(), layout_absolute(), layout_block_context(), layout_block_find_dimensions(), layout_document(), layout_find_dimensions(), layout_flex(), layout_flex__build_line(), layout_flex__place_line_items_main(), layout_float(), layout_float_find_dimensions(), layout_line(), layout_next_margin_block(), layout_solve_width(), layout_table(), and lh__non_auto_margin().
int box::max_width |
Width that would be taken with no line breaks.
Must be non-negative.
Definition at line 349 of file box.h.
Referenced by box_create(), box_dump(), html_object_callback(), html_object_done(), layout_absolute(), layout_block_find_dimensions(), layout_find_dimensions(), layout_flex__base_and_main_sizes(), layout_float_find_dimensions(), layout_line(), layout_minmax_block(), layout_minmax_inline_container(), layout_minmax_line(), layout_minmax_table(), layout_solve_width(), and layout_table().
int box::min_width |
Width of box taking all line breaks (including margins etc).
Must be non-negative.
Definition at line 343 of file box.h.
Referenced by box_create(), box_dump(), layout_absolute(), layout_block_find_dimensions(), layout_find_dimensions(), layout_flex__base_and_main_sizes(), layout_flex__get_min_max_violations(), layout_float_find_dimensions(), layout_minmax_block(), layout_minmax_inline_container(), layout_minmax_line(), layout_minmax_table(), layout_solve_width(), and layout_table().
struct box* box::next |
Next sibling box, or NULL.
Definition at line 216 of file box.h.
Referenced by box_count_children(), box_create(), box_dump(), box_find_by_id(), box_free(), box_insert_sibling(), box_move_xy(), box_nearest_text_box(), box_next_xy(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_unlink_and_free(), convert_xml_to_box(), coords_from_range(), extract_text(), find_occurrences_html_box(), html_drop_file_at_point(), html_get_contextual_content(), html_object_done(), html_redraw_background(), html_redraw_box(), html_redraw_box_children(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), html_scroll_at_point(), layout__ordered_list_count(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_flex_ctx__populate_item_data(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_block(), layout_minmax_line(), layout_minmax_table(), layout_move_children(), layout_next_margin_block(), layout_position_absolute(), layout_position_relative(), layout_table(), layout_text_box_split(), next_node(), selection_copy(), selection_label_subtree(), table_calculate_column_types(), table_cell_top_process_row(), table_used_bottom_border_for_cell(), table_used_left_border_for_cell(), and table_used_right_border_for_cell().
struct box* box::next_float |
Next sibling float box.
Definition at line 256 of file box.h.
Referenced by add_float_to_container(), box_create(), box_dump(), box_move_xy(), find_sides(), html_redraw_box_children(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_clear(), and layout_position_relative().
struct dom_node* box::node |
DOM node that generated this box or NULL.
Definition at line 191 of file box.h.
Referenced by box_construct_element(), box_create(), box_dump(), box_input_text(), box_talloc_destructor(), dom_default_action_DOMNodeInserted_cb(), get_mouse_action_node(), html_keypress(), html_redraw_box(), html_texty_element_update(), layout__check_element_type(), layout__get_element_tag(), and layout__ordered_list_count().
struct hlcache_handle* box::object |
Object in this box (usually an image), or NULL if none.
Definition at line 441 of file box.h.
Referenced by box_create(), box_dump(), box_nearest_text_box(), box_pick_text_box(), find_occurrences_html_box(), get_mouse_action_node(), html_clear_selection(), html_drop_file_at_point(), html_get_contextual_content(), html_get_selection(), html_keypress(), html_object_done(), html_object_mouse_action(), html_redraw_box(), html_redraw_text_box(), html_scroll_at_point(), html_set_selection(), layout_absolute(), layout_block_add_scrollbar(), layout_block_context(), layout_block_find_dimensions(), layout_block_object(), layout_calculate_descendant_bboxes(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_get_object_dimensions(), layout_line(), layout_lists(), layout_minmax_block(), layout_minmax_line(), layout_next_margin_block(), layout_update_descendant_bbox(), lh__box_is_object(), and mouse_action_drag_content().
struct object_params* box::object_params |
Parameters for the object, or NULL.
Definition at line 446 of file box.h.
Referenced by box_create(), box_embed(), box_object(), html_object_callback(), and html_object_open_objects().
int box::padding[4] |
Padding: TOP, RIGHT, BOTTOM, LEFT.
Definition at line 322 of file box.h.
Referenced by box_bounds(), box_contains_point(), box_create(), box_handle_scrollbars(), box_hscrollbar_present(), box_nearer_text_box(), box_nearest_text_box(), box_pick_text_box(), box_vscrollbar_present(), coords_from_range(), form_open_select_menu(), form_redraw_select_menu(), form_select_menu_callback(), form_select_mouse_drag_end(), get_mouse_action_node(), html__redraw_a_box(), html_box_drag_start(), html_object_callback(), html_overflow_scroll_drag_end(), html_redraw(), html_redraw_a_box(), html_redraw_background(), html_redraw_box(), html_reformat(), layout_absolute(), layout_block_add_scrollbar(), layout_block_context(), layout_block_find_dimensions(), layout_document(), layout_find_dimensions(), layout_flex(), layout_flex__place_line_items_cross(), layout_flex__place_line_items_main(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_line(), layout_next_margin_block(), layout_solve_width(), layout_table(), lh__delta_outer_height(), lh__delta_outer_width(), mouse_action_drag_scrollbar(), and mouse_action_select_menu().
struct box* box::parent |
Parent box, or NULL.
Definition at line 236 of file box.h.
Referenced by box_add_child(), box_construct_marker(), box_coords(), box_create(), box_dump(), box_insert_sibling(), box_is_first_child(), box_move_xy(), box_nearer_text_box(), box_next_xy(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_unlink_and_free(), calculate_table_row(), convert_xml_to_box(), coords_from_range(), html_object_done(), html_redraw_background(), html_redraw_box(), html_redraw_find_bg_box(), layout_absolute(), layout_apply_minmax_height(), layout_block_context(), layout_compute_relative_offset(), layout_find_dimensions(), layout_flex_item(), layout_line(), layout_minmax_block(), layout_minmax_line(), layout_next_margin_block(), layout_position_absolute(), layout_solve_width(), layout_table(), layout_text_box_split(), lh__box_is_flex_item(), save_text_solve_whitespace(), selection_copy(), table_used_bottom_border_for_cell(), table_used_left_border_for_cell(), table_used_right_border_for_cell(), and table_used_top_border_for_cell().
struct box* box::prev |
Previous sibling box, or NULL.
Definition at line 221 of file box.h.
Referenced by add_float_to_container(), box_add_child(), box_construct_text(), box_create(), box_dump(), box_insert_sibling(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_unlink_and_free(), layout_text_box_split(), table_cell_top_process_group(), table_cell_top_process_row(), table_used_left_border_for_cell(), and table_used_top_border_for_cell().
unsigned int box::rows |
Number of rows for TABLE only.
Definition at line 397 of file box.h.
Referenced by box_construct_element(), box_create(), box_dump(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), layout_table(), table_used_bottom_border_for_cell(), table_used_left_border_for_cell(), and table_used_right_border_for_cell().
struct scrollbar* box::scroll_x |
Horizontal scroll.
Definition at line 332 of file box.h.
Referenced by box_at_point(), box_coords(), box_create(), box_free_box(), box_handle_scrollbars(), box_nearest_text_box(), box_talloc_destructor(), get_mouse_action_node(), html_box_drag_start(), html_object_callback(), html_redraw_box(), html_redraw_box_children(), and html_scroll_at_point().
struct scrollbar* box::scroll_y |
Vertical scroll.
Definition at line 337 of file box.h.
Referenced by box_at_point(), box_coords(), box_create(), box_free_box(), box_handle_scrollbars(), box_nearest_text_box(), box_talloc_destructor(), get_mouse_action_node(), html_box_drag_start(), html_object_callback(), html_redraw_box(), html_redraw_box_children(), and html_scroll_at_point().
int box::space |
Width of space after current text (depends on font and size).
Definition at line 365 of file box.h.
Referenced by box_construct_text(), box_create(), box_dump(), coords_from_range(), html_redraw_text_box(), layout_line(), layout_minmax_line(), layout_text_box_split(), save_text_add_to_buffer(), selection_copy_box(), and text_redraw().
unsigned int box::start_column |
Start column for TABLE_CELL only.
Definition at line 402 of file box.h.
Referenced by box_create(), box_dump(), box_normalise_table_row(), box_normalise_table_spans(), calculate_table_row(), layout_minmax_table(), layout_table(), table_calculate_column_types(), table_cell_top_process_row(), table_used_left_border_for_cell(), and table_used_right_border_for_cell().
css_computed_style* box::style |
Style for this box.
0 for INLINE_CONTAINER and FLOAT_*. Pointer into a box's 'styles' select results, except for implied boxes, where it is a pointer to an owned computed style.
Definition at line 205 of file box.h.
Referenced by box__style_is_float(), box_body(), box_canvas(), box_construct_element(), box_construct_element_after(), box_construct_generate(), box_construct_marker(), box_contains_point(), box_create(), box_dump(), box_embed(), box_extract_properties(), box_has_percentage_max_width(), box_iframe(), box_image(), box_input(), box_input_text(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_object(), box_select(), box_talloc_destructor(), box_visible(), default_mouse_action(), form_open_select_menu(), get_mouse_action_node(), get_pointer_shape(), html_drop_file_at_point(), html_get_contextual_content(), html_object_callback(), html_redraw_background(), html_redraw_borders(), html_redraw_box(), html_redraw_box_has_background(), html_redraw_file(), html_redraw_inline_background(), html_redraw_inline_borders(), html_redraw_text_box(), html_redraw_text_decoration(), html_reformat(), html_scroll_at_point(), html_selection_drag_end(), layout__list_item_is_numerical(), layout__set_numerical_marker_text(), layout_absolute(), layout_apply_minmax_height(), layout_block_add_scrollbar(), layout_block_context(), layout_block_find_dimensions(), layout_calculate_descendant_bboxes(), layout_compute_offsets(), layout_compute_relative_offset(), layout_find_dimensions(), layout_flex(), layout_flex__base_and_main_sizes(), layout_flex_ctx__create(), layout_float(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_handle_box_sizing(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_block(), layout_minmax_line(), layout_minmax_table(), layout_next_margin_block(), layout_position_absolute(), layout_position_relative(), layout_solve_width(), layout_table(), layout_update_descendant_bbox(), lh__box_align_self(), lh__box_is_absolute(), lh__box_size_cross_is_auto(), lh__flex_direction_reversed(), lh__flex_main_is_horizontal(), line_height(), mouse_action_drag_selection(), save_text_solve_whitespace(), selection_copy_box(), table_calculate_column_types(), table_cell_top_process_group(), table_cell_top_process_row(), table_cell_top_process_table(), table_used_border_for_cell(), table_used_bottom_border_for_cell(), table_used_left_border_for_cell(), table_used_right_border_for_cell(), and table_used_top_border_for_cell().
css_select_results* box::styles |
Computed styles for elements and their pseudo elements.
NULL on non-element boxes.
Definition at line 197 of file box.h.
Referenced by box_construct_element(), box_construct_element_after(), box_create(), box_free_box(), box_get_style(), and box_talloc_destructor().
const char* box::target |
Link target, or NULL.
Definition at line 381 of file box.h.
Referenced by box_a(), box_construct_element_after(), box_create(), box_dump(), box_extract_properties(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), get_mouse_action_node(), and html_get_contextual_content().
char* box::text |
Text, or NULL if none.
Unterminated.
Definition at line 355 of file box.h.
Referenced by box_construct_marker(), box_construct_text(), box_create(), box_dump(), box_image(), box_input(), box_input_text(), box_nearest_text_box(), box_pick_text_box(), box_select(), coords_from_range(), default_mouse_action(), extract_text(), find_occurrences_html_box(), form__select_process_selection(), get_mouse_action_node(), html_clear_selection(), html_get_selection(), html_redraw_box(), html_redraw_text_box(), html_selection_drag_end(), layout__set_numerical_marker_text(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_line(), layout_text_box_split(), mouse_action_drag_selection(), selection_copy(), selection_copy_box(), and selection_label_subtree().
const char* box::title |
Title, or NULL.
Definition at line 386 of file box.h.
Referenced by box_construct_element_after(), box_construct_marker(), box_create(), box_dump(), box_extract_properties(), box_input(), box_input_text(), box_select(), and get_mouse_action_node().
box_type box::type |
Type of box.
Definition at line 181 of file box.h.
Referenced by add_float_to_container(), box__is_flex(), box_br(), box_button(), box_construct_element(), box_construct_element_after(), box_construct_generate(), box_construct_marker(), box_construct_text(), box_create(), box_dump(), box_extract_properties(), box_frameset(), box_input(), box_input_text(), box_nearest_text_box(), box_normalise_block(), box_normalise_flex(), box_normalise_inline_container(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), box_select(), coords_from_range(), extract_text(), find_sides(), get_pointer_shape(), html_object_done(), html_redraw_background(), html_redraw_box(), html_redraw_box_children(), html_redraw_text_decoration(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), layout_absolute(), layout_apply_minmax_height(), layout_block_add_scrollbar(), layout_block_context(), layout_block_object(), layout_calculate_descendant_bboxes(), layout_clear(), layout_find_dimensions(), layout_flex_item(), layout_float(), layout_get_box_bbox(), layout_inline_container(), layout_line(), layout_minmax_block(), layout_minmax_inline_container(), layout_minmax_line(), layout_minmax_table(), layout_next_margin_block(), layout_position_absolute(), layout_position_relative(), layout_table(), lh__box_is_flex_container(), lh__box_is_float_box(), lh__box_is_inline_flow(), lh__box_is_inline_level(), place_float_below(), save_text_solve_whitespace(), selection_copy(), table_calculate_column_types(), and table_used_border_for_cell().
char* box::usemap |
(Image)map to use with this object, or NULL if none
Definition at line 429 of file box.h.
Referenced by box_create(), box_image(), box_object(), get_mouse_action_node(), and html_get_contextual_content().
int box::width |
Width of content box (excluding padding etc.).
Definition at line 289 of file box.h.
Referenced by box_bounds(), box_contains_point(), box_create(), box_dump(), box_handle_scrollbars(), box_hscrollbar_present(), box_nearer_text_box(), box_nearest_text_box(), box_pick_text_box(), coords_from_range(), find_sides(), form__select_process_selection(), form_open_select_menu(), get_mouse_action_node(), html__redraw_a_box(), html_box_drag_start(), html_object_callback(), html_overflow_scroll_drag_end(), html_redraw_a_box(), html_redraw_background(), html_redraw_box(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), html_reformat(), html_textsearch_bounds(), layout_absolute(), layout_block_add_scrollbar(), layout_block_context(), layout_block_find_dimensions(), layout_block_object(), layout_calculate_descendant_bboxes(), layout_compute_offsets(), layout_document(), layout_flex(), layout_flex__base_and_main_sizes(), layout_flex__place_line_items_cross(), layout_flex__place_line_items_main(), layout_flex_ctx__populate_item_data(), layout_float_find_dimensions(), layout_get_box_bbox(), layout_inline_container(), layout_line(), layout_lists(), layout_minmax_line(), layout_next_margin_block(), layout_table(), layout_text_box_split(), lh__box_size_cross(), lh__box_size_cross_ptr(), lh__box_size_main(), lh__box_size_main_ptr(), mouse_action_drag_scrollbar(), and place_float_below().
int box::x |
Coordinate of left padding edge relative to parent box, or relative to ancestor that contains this box in float_children for FLOAT_.
Definition at line 280 of file box.h.
Referenced by box_at_point(), box_contains_point(), box_coords(), box_create(), box_dump(), box_move_xy(), box_nearer_text_box(), box_nearest_text_box(), box_next_xy(), box_pick_text_box(), coords_from_range(), find_sides(), form_select_menu_callback(), get_mouse_action_node(), html__redraw_a_box(), html_drop_file_at_point(), html_get_contextual_content(), html_get_id_offset(), html_overflow_scroll_drag_end(), html_redraw_a_box(), html_redraw_background(), html_redraw_borders(), html_redraw_box(), html_redraw_box_children(), html_redraw_text_decoration(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), html_reformat(), html_scroll_at_point(), html_selection_drag_end(), is_point_in_box(), layout_absolute(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_compute_relative_offset(), layout_document(), layout_flex__place_line_items_cross(), layout_flex__place_line_items_main(), layout_line(), layout_lists(), layout_move_children(), layout_position_absolute(), layout_position_relative(), layout_table(), layout_update_descendant_bbox(), mouse_action_drag_content(), mouse_action_drag_scrollbar(), mouse_action_drag_textarea(), place_float_below(), and ro_gui_button_bar_click().
int box::y |
Coordinate of top padding edge, relative as for x.
Definition at line 284 of file box.h.
Referenced by add_float_to_container(), box_at_point(), box_contains_point(), box_coords(), box_create(), box_dump(), box_move_xy(), box_nearer_text_box(), box_nearest_text_box(), box_next_xy(), box_pick_text_box(), coords_from_range(), find_sides(), form_select_menu_callback(), get_mouse_action_node(), html__redraw_a_box(), html_drop_file_at_point(), html_get_contextual_content(), html_get_id_offset(), html_overflow_scroll_drag_end(), html_redraw_a_box(), html_redraw_background(), html_redraw_borders(), html_redraw_box(), html_redraw_box_children(), html_redraw_text_decoration(), html_redraw_text_decoration_block(), html_redraw_text_decoration_inline(), html_reformat(), html_scroll_at_point(), html_selection_drag_end(), is_point_in_box(), layout_absolute(), layout_block_context(), layout_calculate_descendant_bboxes(), layout_clear(), layout_compute_relative_offset(), layout_document(), layout_flex__place_line_items_cross(), layout_flex__place_line_items_main(), layout_inline_container(), layout_line(), layout_lists(), layout_move_children(), layout_position_absolute(), layout_position_relative(), layout_table(), layout_update_descendant_bbox(), mouse_action_drag_content(), mouse_action_drag_scrollbar(), mouse_action_drag_textarea(), place_float_below(), and ro_gui_button_bar_click().