SYMBOL INDEX (2695 symbols across 145 files) FILE: tests/conftest.py function document_write_png (line 26) | def document_write_png(document, target=None, resolution=96, antialiasin... function html_write_png (line 78) | def html_write_png(document, target=None, font_config=None, counter_styl... function test_filename (line 88) | def test_filename(filename): function assert_pixels (line 95) | def assert_pixels(request, *args, **kwargs): function assert_same_renderings (line 101) | def assert_same_renderings(request, *args, **kwargs): function assert_different_renderings (line 107) | def assert_different_renderings(request, *args, **kwargs): function assert_pixels_equal (line 113) | def assert_pixels_equal(request, *args, **kwargs): FILE: tests/css/test_common.py function test_find_stylesheets (line 16) | def test_find_stylesheets(): function test_annotate_document (line 42) | def test_annotate_document(): function test_important (line 132) | def test_important(): function test_units (line 222) | def test_units(value, width): function test_recursive_lh (line 240) | def test_recursive_lh(property): function test_media_queries (line 256) | def test_media_queries(media, width, warning): FILE: tests/css/test_counters.py function test_counters_1 (line 12) | def test_counters_1(): function test_counters_2 (line 40) | def test_counters_2(): function test_counters_3 (line 91) | def test_counters_3(): function test_counters_4 (line 122) | def test_counters_4(): function test_counters_5 (line 168) | def test_counters_5(): function test_counters_6 (line 191) | def test_counters_6(): function test_counters_7 (line 203) | def test_counters_7(): function test_counters_8 (line 222) | def test_counters_8(): function test_counters_9 (line 241) | def test_counters_9(): function test_counter_styles_1 (line 268) | def test_counter_styles_1(): function test_counter_styles_2 (line 297) | def test_counter_styles_2(): function test_counter_styles_3 (line 331) | def test_counter_styles_3(): function test_counter_styles_4 (line 346) | def test_counter_styles_4(): function test_counter_styles_5 (line 362) | def test_counter_styles_5(): function test_counter_styles_6 (line 378) | def test_counter_styles_6(): function test_counter_styles_7 (line 390) | def test_counter_styles_7(): function test_counter_styles_8 (line 402) | def test_counter_styles_8(): function test_counter_styles_9 (line 414) | def test_counter_styles_9(): function test_counter_styles_10 (line 426) | def test_counter_styles_10(): function test_counter_styles_11 (line 445) | def test_counter_styles_11(): function test_counter_symbols (line 472) | def test_counter_symbols(arguments, values): function test_list_style_types (line 499) | def test_list_style_types(style_type, values): function test_list_style_type_empty_string (line 521) | def test_list_style_type_empty_string(): function test_counter_set (line 526) | def test_counter_set(): function test_counter_multiple_extends (line 588) | def test_counter_multiple_extends(): FILE: tests/css/test_descriptors.py function test_font_face_1 (line 13) | def test_font_face_1(): function test_font_face_2 (line 30) | def test_font_face_2(): function test_font_face_3 (line 54) | def test_font_face_3(): function test_font_face_4 (line 70) | def test_font_face_4(): function test_font_face_5 (line 87) | def test_font_face_5(): function test_font_face_bad_1 (line 107) | def test_font_face_bad_1(): function test_font_face_bad_2 (line 134) | def test_font_face_bad_2(): function test_font_face_bad_3 (line 144) | def test_font_face_bad_3(): function test_font_face_bad_4 (line 154) | def test_font_face_bad_4(): function test_font_face_bad_5 (line 164) | def test_font_face_bad_5(): function test_font_face_bad_6 (line 176) | def test_font_face_bad_6(): function test_font_face_bad_7 (line 188) | def test_font_face_bad_7(): function test_counter_style_invalid (line 207) | def test_counter_style_invalid(rule): FILE: tests/css/test_errors.py function test_warnings (line 24) | def test_warnings(source, messages): function test_warnings_stylesheet (line 33) | def test_warnings_stylesheet(): function test_error_recovery (line 45) | def test_error_recovery(style): FILE: tests/css/test_expanders.py function expand_to_dict (line 14) | def expand_to_dict(css, expected_error=None): function assert_invalid (line 34) | def assert_invalid(css, message='invalid'): function test_empty_expander_value (line 40) | def test_empty_expander_value(expander): function test_text_decoration (line 64) | def test_text_decoration(rule, result): function test_text_decoration_invalid (line 76) | def test_text_decoration_invalid(rule): function test_four_sides (line 119) | def test_four_sides(rule, result): function test_four_sides_warning (line 124) | def test_four_sides_warning(): function test_four_sides_invalid (line 136) | def test_four_sides_invalid(rule): function test_borders (line 174) | def test_borders(rule, result): function test_borders_invalid (line 179) | def test_borders_invalid(): function test_list_style (line 216) | def test_list_style(rule, result): function test_list_style_warning (line 221) | def test_list_style_warning(): function test_list_style_invalid (line 232) | def test_list_style_invalid(rule): function test_background (line 325) | def test_background(rule, result): function test_background_invalid (line 342) | def test_background_invalid(rule): function test_border_radius (line 391) | def test_border_radius(rule, result): function test_border_radius_invalid (line 406) | def test_border_radius_invalid(rule, message): function test_border_image (line 444) | def test_border_image(rule, result): function test_border_image_invalid (line 461) | def test_border_image_invalid(rule, reason): function test_mask_border (line 509) | def test_mask_border(rule, result): function test_mask_border_invalid (line 528) | def test_mask_border_invalid(rule, reason): function test_font (line 558) | def test_font(rule, result): function test_font_invalid (line 577) | def test_font_invalid(rule, message): function test_font_variant (line 614) | def test_font_variant(rule, result): function test_font_variant_invalid (line 631) | def test_font_variant_invalid(rule): function test_word_wrap (line 636) | def test_word_wrap(): function test_flex (line 662) | def test_flex(rule, result): function test_flex_invalid (line 673) | def test_flex_invalid(rule): function test_flex_flow (line 685) | def test_flex_flow(rule, result): function test_flex_flow_invalid (line 697) | def test_flex_flow_invalid(rule): function test_grid_column_row (line 712) | def test_grid_column_row(rule, result): function test_grid_column_row_invalid (line 729) | def test_grid_column_row_invalid(rule): function test_grid_area (line 764) | def test_grid_area(rule, result): function test_grid_area_invalid (line 782) | def test_grid_area_invalid(rule): function test_grid_template (line 811) | def test_grid_template(rule, result): function test_grid_template_invalid (line 825) | def test_grid_template_invalid(rule): function test_grid (line 871) | def test_grid(rule, result): function test_grid_invalid (line 889) | def test_grid_invalid(rule): function test_page_break (line 900) | def test_page_break(rule, result): function test_page_break_invalid (line 909) | def test_page_break_invalid(rule): function test_page_break_inside (line 918) | def test_page_break_inside(rule, result): function test_page_break_inside_invalid (line 926) | def test_page_break_inside_invalid(rule): function test_columns (line 936) | def test_columns(rule, result): function test_columns_invalid (line 945) | def test_columns_invalid(rule, reason): function test_line_clamp (line 962) | def test_line_clamp(rule, result): function test_line_clamp_invalid (line 973) | def test_line_clamp_invalid(rule, reason): function test_text_align (line 986) | def test_text_align(rule, result): function test_text_align_invalid (line 1000) | def test_text_align_invalid(rule, reason): FILE: tests/css/test_fonts.py function test_font_size (line 37) | def test_font_size(parent_css, parent_size, child_css, child_size): function test_line_height_inheritance (line 50) | def test_line_height_inheritance(): FILE: tests/css/test_layers.py function test_layers (line 75) | def test_layers(style): FILE: tests/css/test_math.py function test_math_functions (line 76) | def test_math_functions(width): function test_math_functions_error (line 219) | def test_math_functions_error(width): function test_math_functions_percentage_and_font_unit (line 229) | def test_math_functions_percentage_and_font_unit(css_property): function test_math_functions_display_size (line 252) | def test_math_functions_display_size(display): function test_math_functions_hyphenate (line 268) | def test_math_functions_hyphenate(): function test_math_functions_gradient (line 278) | def test_math_functions_gradient(): function test_math_functions_color (line 288) | def test_math_functions_color(): function test_math_functions_gradient_color (line 297) | def test_math_functions_gradient_color(): function test_math_image_min_content_calc (line 306) | def test_math_image_min_content_calc(): function test_math_image_min_content_auto_width_calc (line 322) | def test_math_image_min_content_auto_width_calc(): function test_math_image_min_content_auto_width_height_calc (line 337) | def test_math_image_min_content_auto_width_height_calc(): function test_math_table_margin (line 351) | def test_math_table_margin(): function test_math_grid_padding (line 356) | def test_math_grid_padding(): function test_math_table_column (line 366) | def test_math_table_column(): FILE: tests/css/test_nesting.py function test_nesting_block (line 19) | def test_nesting_block(style): FILE: tests/css/test_pages.py function test_page (line 14) | def test_page(): function test_page_selectors (line 133) | def test_page_selectors(style, selectors): function test_named_pages (line 139) | def test_named_pages(): FILE: tests/css/test_target.py function test_target_counter (line 7) | def test_target_counter(): function test_target_counter_attr (line 37) | def test_target_counter_attr(): function test_target_counters (line 67) | def test_target_counters(): function test_target_text (line 101) | def test_target_text(): function test_target_text_whitespace_around_target (line 136) | def test_target_text_whitespace_around_target(): function test_target_float (line 156) | def test_target_float(): function test_target_absolute (line 178) | def test_target_absolute(): function test_target_absolute_non_root (line 202) | def test_target_absolute_non_root(): FILE: tests/css/test_ua.py function test_ua_stylesheets (line 12) | def test_ua_stylesheets(css): FILE: tests/css/test_validation.py function get_value (line 16) | def get_value(css, expected_error=None, level=None): function get_default_value (line 34) | def get_default_value(values, index, default): function assert_invalid (line 40) | def assert_invalid(css, message='invalid', level=None): function test_not_print (line 45) | def test_not_print(): function test_unstable_prefix (line 50) | def test_unstable_prefix(): function test_normal_prefix (line 57) | def test_normal_prefix(): function test_unknown_prefix (line 63) | def test_unknown_prefix(): function test_empty_property_value (line 72) | def test_empty_property_value(prop): function test_clip (line 81) | def test_clip(rule, value): function test_clip_invalid (line 92) | def test_clip_invalid(rule): function test_counters (line 105) | def test_counters(rule, value): function test_counters_warning (line 113) | def test_counters_warning(rule, warning): function test_counters_invalid (line 122) | def test_counters_invalid(rule): function test_spacing (line 133) | def test_spacing(rule, value): function test_spacing_invalid (line 142) | def test_spacing_invalid(rule): function test_text_decoration_line (line 152) | def test_text_decoration_line(rule, value): function test_text_decoration_style (line 163) | def test_text_decoration_style(rule, value): function test_size (line 179) | def test_size(rule, value): function test_size_invalid (line 190) | def test_size_invalid(rule): function test_transform (line 204) | def test_transform(rule, value): function test_transform_invalid (line 216) | def test_transform_invalid(rule): function test_background_image_invalid (line 223) | def test_background_image_invalid(rule): function test_background_position (line 274) | def test_background_position(rule, value): function test_background_position_invalid (line 285) | def test_background_position_invalid(rule): function test_font_family_invalid (line 294) | def test_font_family_invalid(rule): function test_line_height (line 308) | def test_line_height(rule, value): function test_line_height_invalid (line 319) | def test_line_height_invalid(rule): function test_list_style_type_invalid (line 334) | def test_list_style_type_invalid(rule): function test_image_orientation (line 349) | def test_image_orientation(rule, value): function test_image_orientation_invalid (line 366) | def test_image_orientation_invalid(rule): function test_border_image_slice (line 379) | def test_border_image_slice(rule, value): function test_border_image_slice_invalid (line 394) | def test_border_image_slice_invalid(rule): function test_border_image_width (line 409) | def test_border_image_width(rule, value): function test_border_image_width_invalid (line 425) | def test_border_image_width_invalid(rule): function test_border_image_outset (line 436) | def test_border_image_outset(rule, value): function test_border_image_outset_invalid (line 452) | def test_border_image_outset_invalid(rule): function test_border_image_repeat (line 462) | def test_border_image_repeat(rule, value): function test_border_image_repeat_invalid (line 474) | def test_border_image_repeat_invalid(rule): function test_mask_border_slice (line 487) | def test_mask_border_slice(rule, value): function test_mask_border_slice_invalid (line 502) | def test_mask_border_slice_invalid(rule): function test_mask_border_width (line 517) | def test_mask_border_width(rule, value): function test_mask_border_width_invalid (line 533) | def test_mask_border_width_invalid(rule): function test_mask_border_outset (line 544) | def test_mask_border_outset(rule, value): function test_mask_border_outset_invalid (line 560) | def test_mask_border_outset_invalid(rule): function test_mask_border_repeat (line 570) | def test_mask_border_repeat(rule, value): function test_mask_border_repeat_invalid (line 582) | def test_mask_border_repeat_invalid(rule): function test_mask_border_mode (line 592) | def test_mask_border_mode(rule, value): function test_mask_border_mode_invalid (line 603) | def test_mask_border_mode_invalid(rule): function test_string_set (line 636) | def test_string_set(rule, value): function test_string_set_invalid (line 647) | def test_string_set_invalid(rule): function test_overflow_wrap (line 657) | def test_overflow_wrap(rule, value): function test_overflow_wrap_invalid (line 666) | def test_overflow_wrap_invalid(rule): function test_linear_gradient (line 703) | def test_linear_gradient(rule, value): function test_linear_gradient_invalid (line 741) | def test_linear_gradient_invalid(rule): function test_radial_gradient (line 780) | def test_radial_gradient(rule, value): function test_radial_gradient_invalid (line 821) | def test_radial_gradient_invalid(rule): function test_grid_auto_columns_rows (line 840) | def test_grid_auto_columns_rows(rule, value): function test_grid_auto_columns_rows_invalid (line 857) | def test_grid_auto_columns_rows_invalid(rule): function test_grid_auto_flow (line 872) | def test_grid_auto_flow(rule, value): function test_grid_auto_flow_invalid (line 890) | def test_grid_auto_flow_invalid(rule): function test_grid_template_columns_rows (line 918) | def test_grid_template_columns_rows(rule, value): function test_grid_template_columns_rows_invalid (line 933) | def test_grid_template_columns_rows_invalid(rule): function test_grid_template_areas (line 950) | def test_grid_template_areas(rule, value): function test_grid_template_areas_invalid (line 962) | def test_grid_template_areas_invalid(rule): function test_grid_line (line 978) | def test_grid_line(rule, value): function test_grid_line_invalid (line 998) | def test_grid_line_invalid(rule): function test_align_content (line 1027) | def test_align_content(rule, value): function test_align_content_invalid (line 1044) | def test_align_content_invalid(rule): function test_align_items (line 1071) | def test_align_items(rule, value): function test_align_items_invalid (line 1089) | def test_align_items_invalid(rule): function test_align_self (line 1117) | def test_align_self(rule, value): function test_align_self_invalid (line 1134) | def test_align_self_invalid(rule): function test_justify_content (line 1160) | def test_justify_content(rule, value): function test_justify_content_invalid (line 1176) | def test_justify_content_invalid(rule): function test_justify_items (line 1209) | def test_justify_items(rule, value): function test_justify_items_invalid (line 1225) | def test_justify_items_invalid(rule): function test_justify_self (line 1257) | def test_justify_self(rule, value): function test_justify_self_invalid (line 1272) | def test_justify_self_invalid(rule): function test_colors_invalid (line 1290) | def test_colors_invalid(rule, value): function test_color_scheme (line 1308) | def test_color_scheme(rule, value): function test_color_scheme_invalid (line 1320) | def test_color_scheme_invalid(rule): FILE: tests/css/test_variables.py function test_variable_simple (line 13) | def test_variable_simple(): function test_variable_not_computed (line 27) | def test_variable_not_computed(): function test_variable_inherit (line 41) | def test_variable_inherit(): function test_variable_inherit_override (line 56) | def test_variable_inherit_override(): function test_variable_default_unknown (line 71) | def test_variable_default_unknown(): function test_variable_default_var (line 85) | def test_variable_default_var(): function test_variable_case_sensitive (line 99) | def test_variable_case_sensitive(): function test_variable_chain (line 115) | def test_variable_chain(): function test_variable_double_chain (line 131) | def test_variable_double_chain(): function test_variable_chain_root (line 148) | def test_variable_chain_root(): function test_variable_self (line 159) | def test_variable_self(): function test_variable_loop (line 167) | def test_variable_loop(): function test_variable_chain_root_missing (line 175) | def test_variable_chain_root_missing(): function test_variable_chain_root_missing_inherited (line 184) | def test_variable_chain_root_missing_inherited(): function test_variable_shorthand_margin (line 194) | def test_variable_shorthand_margin(): function test_variable_shorthand_margin_multiple (line 212) | def test_variable_shorthand_margin_multiple(): function test_variable_shorthand_margin_invalid (line 230) | def test_variable_shorthand_margin_invalid(): function test_variable_shorthand_border (line 251) | def test_variable_shorthand_border(): function test_variable_shorthand_border_side (line 269) | def test_variable_shorthand_border_side(): function test_variable_shorthand_border_mixed (line 287) | def test_variable_shorthand_border_mixed(): function test_variable_shorthand_border_mixed_invalid (line 304) | def test_variable_shorthand_border_mixed_invalid(): function test_variable_shorthand_background (line 332) | def test_variable_shorthand_background(var, background): function test_variable_shorthand_background_invalid (line 347) | def test_variable_shorthand_background_invalid(var, background): function test_variable_initial (line 361) | def test_variable_initial(): function test_variable_initial_default (line 377) | def test_variable_initial_default(): function test_variable_initial_default_var (line 392) | def test_variable_initial_default_var(): function test_variable_fallback (line 407) | def test_variable_fallback(prop): function test_variable_list_content (line 420) | def test_variable_list_content(): function test_variable_list_display (line 446) | def test_variable_list_display(var, display): function test_variable_list_font (line 469) | def test_variable_list_font(var, font): function test_variable_in_function (line 486) | def test_variable_in_function(): function test_same_variable_in_function (line 509) | def test_same_variable_in_function(): function test_variable_in_nested_function (line 525) | def test_variable_in_nested_function(): function test_variable_in_function_multiple_values (line 540) | def test_variable_in_function_multiple_values(): function test_variable_in_variable_in_function (line 566) | def test_variable_in_variable_in_function(): function test_variable_in_function_missing (line 591) | def test_variable_in_function_missing(): function test_variable_in_function_in_variable (line 617) | def test_variable_in_function_in_variable(): function test_variable_and_function_in_function (line 643) | def test_variable_and_function_in_function(): FILE: tests/draw/__init__.py function parse_pixels (line 41) | def parse_pixels(pixels): function assert_pixels (line 52) | def assert_pixels(name, expected_pixels, html): function assert_same_renderings (line 64) | def assert_same_renderings(name, *documents, tolerance=0): function assert_different_renderings (line 78) | def assert_different_renderings(name, *documents): function assert_pixels_equal (line 94) | def assert_pixels_equal(name, width, height, raw, expected_raw, toleranc... function write_png (line 115) | def write_png(name, pixels, width, height): # pragma: no cover function html_to_pixels (line 124) | def html_to_pixels(html): function document_to_pixels (line 134) | def document_to_pixels(document): FILE: tests/draw/svg/test_bounding_box.py function test_bounding_box_rect (line 9) | def test_bounding_box_rect(assert_pixels): function test_bounding_box_circle (line 35) | def test_bounding_box_circle(assert_pixels): function test_bounding_box_ellipse (line 66) | def test_bounding_box_ellipse(assert_pixels): function test_bounding_box_line (line 97) | def test_bounding_box_line(assert_pixels): function test_bounding_box_polygon (line 124) | def test_bounding_box_polygon(assert_pixels): function test_bounding_box_polyline (line 150) | def test_bounding_box_polyline(assert_pixels): function test_bounding_box_text (line 176) | def test_bounding_box_text(assert_pixels): function test_bounding_box_path_hv (line 201) | def test_bounding_box_path_hv(assert_pixels): function test_bounding_box_path_l (line 227) | def test_bounding_box_path_l(assert_pixels): function test_bounding_box_path_c (line 254) | def test_bounding_box_path_c(assert_pixels): function test_bounding_box_path_s (line 284) | def test_bounding_box_path_s(assert_pixels): function test_svg_empty_size (line 313) | def test_svg_empty_size(assert_pixels): function test_bounding_box_use_opacity (line 332) | def test_bounding_box_use_opacity(assert_pixels): FILE: tests/draw/svg/test_clip.py function test_clip_path (line 9) | def test_clip_path(assert_pixels): function test_clip_path_on_group (line 38) | def test_clip_path_on_group(assert_pixels): function test_clip_path_group_on_group (line 70) | def test_clip_path_group_on_group(assert_pixels): function test_clip_path_outside_defs (line 102) | def test_clip_path_outside_defs(assert_pixels): FILE: tests/draw/svg/test_defs.py function test_use (line 43) | def test_use(assert_pixels): function test_use_base64 (line 48) | def test_use_base64(assert_pixels): function test_use_symbol_color (line 54) | def test_use_symbol_color(assert_pixels): FILE: tests/draw/svg/test_gradients.py function test_linear_gradient (line 9) | def test_linear_gradient(assert_pixels): function test_linear_gradient_userspace (line 40) | def test_linear_gradient_userspace(assert_pixels): function test_linear_gradient_multicolor (line 71) | def test_linear_gradient_multicolor(assert_pixels): function test_linear_gradient_multicolor_userspace (line 106) | def test_linear_gradient_multicolor_userspace(assert_pixels): function test_linear_gradient_transform (line 141) | def test_linear_gradient_transform(assert_pixels): function test_linear_gradient_transform_nested (line 177) | def test_linear_gradient_transform_nested(assert_pixels): function test_linear_gradient_transform_repeat (line 214) | def test_linear_gradient_transform_repeat(assert_pixels): function test_linear_gradient_userspace_transform (line 250) | def test_linear_gradient_userspace_transform(assert_pixels): function test_linear_gradient_userspace_transform_nested (line 286) | def test_linear_gradient_userspace_transform_nested(assert_pixels): function test_linear_gradient_transform_repeat_userspace (line 323) | def test_linear_gradient_transform_repeat_userspace(assert_pixels): function test_linear_gradient_repeat (line 359) | def test_linear_gradient_repeat(assert_pixels): function test_linear_gradient_repeat_long (line 402) | def test_linear_gradient_repeat_long(assert_pixels): function test_linear_gradient_repeat_userspace (line 445) | def test_linear_gradient_repeat_userspace(assert_pixels): function test_linear_gradient_reflect (line 488) | def test_linear_gradient_reflect(assert_pixels): function test_linear_gradient_reflect_userspace (line 531) | def test_linear_gradient_reflect_userspace(assert_pixels): function test_linear_gradient_inherit_attributes (line 574) | def test_linear_gradient_inherit_attributes(assert_pixels): function test_linear_gradient_inherit_children (line 607) | def test_linear_gradient_inherit_children(assert_pixels): function test_linear_gradient_inherit_no_override (line 640) | def test_linear_gradient_inherit_no_override(assert_pixels): function test_radial_gradient (line 676) | def test_radial_gradient(assert_pixels): function test_radial_gradient_transform (line 710) | def test_radial_gradient_transform(assert_pixels): function test_radial_gradient_transform_nested (line 745) | def test_radial_gradient_transform_nested(assert_pixels): function test_radial_gradient_userspace (line 781) | def test_radial_gradient_userspace(assert_pixels): function test_radial_gradient_userspace_transform (line 814) | def test_radial_gradient_userspace_transform(assert_pixels): function test_radial_gradient_userspace_transform_nested (line 848) | def test_radial_gradient_userspace_transform_nested(assert_pixels): function test_radial_gradient_multicolor (line 883) | def test_radial_gradient_multicolor(assert_pixels): function test_radial_gradient_multicolor_userspace (line 919) | def test_radial_gradient_multicolor_userspace(assert_pixels): function test_radial_gradient_repeat (line 955) | def test_radial_gradient_repeat(assert_pixels): function test_radial_gradient_reflect (line 991) | def test_radial_gradient_reflect(assert_pixels): function test_radial_gradient_inherit_attributes (line 1027) | def test_radial_gradient_inherit_attributes(assert_pixels): function test_radial_gradient_inherit_children (line 1061) | def test_radial_gradient_inherit_children(assert_pixels): function test_radial_gradient_inherit_no_override (line 1095) | def test_radial_gradient_inherit_no_override(assert_pixels): function test_gradient_opacity (line 1132) | def test_gradient_opacity(assert_pixels): function test_gradient_bad_url (line 1164) | def test_gradient_bad_url(assert_pixels, url): FILE: tests/draw/svg/test_images.py function test_image_svg (line 11) | def test_image_svg(assert_pixels): function test_image_svg_viewbox (line 31) | def test_image_svg_viewbox(assert_pixels): function test_image_svg_align_default (line 51) | def test_image_svg_align_default(assert_pixels): function test_image_svg_align_none (line 76) | def test_image_svg_align_none(assert_pixels): function test_image_svg_align_no_viewbox (line 102) | def test_image_svg_align_no_viewbox(assert_pixels): function test_image_svg_align_meet_x (line 127) | def test_image_svg_align_meet_x(assert_pixels): function test_image_svg_align_meet_y (line 153) | def test_image_svg_align_meet_y(assert_pixels): function test_image_svg_align_slice_x (line 179) | def test_image_svg_align_slice_x(assert_pixels): function test_image_svg_align_slice_y (line 205) | def test_image_svg_align_slice_y(assert_pixels): function test_image_svg_percentage (line 232) | def test_image_svg_percentage(assert_pixels): function test_image_svg_wrong (line 251) | def test_image_svg_wrong(assert_pixels): function test_image_image (line 269) | def test_image_image(assert_pixels): function test_image_image_rendering (line 287) | def test_image_image_rendering(assert_pixels): function test_image_image_wrong (line 309) | def test_image_image_wrong(assert_pixels): function test_image_in_g_height_only (line 327) | def test_image_in_g_height_only(assert_pixels): function test_image_in_g_width_only (line 352) | def test_image_in_g_width_only(assert_pixels): FILE: tests/draw/svg/test_markers.py function test_markers (line 7) | def test_markers(assert_pixels): function test_markers_viewbox (line 43) | def test_markers_viewbox(assert_pixels): function test_markers_size (line 79) | def test_markers_size(assert_pixels): function test_markers_viewbox_size (line 117) | def test_markers_viewbox_size(assert_pixels): function test_markers_overflow (line 153) | def test_markers_overflow(assert_pixels): function test_markers_userspace (line 191) | def test_markers_userspace(assert_pixels): function test_markers_stroke_width (line 228) | def test_markers_stroke_width(assert_pixels): function test_markers_viewbox_stroke_width (line 265) | def test_markers_viewbox_stroke_width(assert_pixels): FILE: tests/draw/svg/test_opacity.py function test_opacity (line 16) | def test_opacity(assert_same_renderings): function test_fill_opacity (line 30) | def test_fill_opacity(assert_same_renderings): function test_stroke_opacity (line 47) | def test_stroke_opacity(assert_same_renderings): function test_stroke_fill_opacity (line 69) | def test_stroke_fill_opacity(assert_same_renderings): function test_pattern_gradient_stroke_fill_opacity (line 86) | def test_pattern_gradient_stroke_fill_opacity(assert_same_renderings): function test_translate_opacity (line 134) | def test_translate_opacity(assert_same_renderings): function test_translate_use_opacity (line 149) | def test_translate_use_opacity(assert_same_renderings): FILE: tests/draw/svg/test_paths.py function test_path_h (line 7) | def test_path_h(assert_pixels): function test_path_v (line 38) | def test_path_v(assert_pixels): function test_path_l (line 69) | def test_path_l(assert_pixels): function test_path_z (line 96) | def test_path_z(assert_pixels): function test_path_z_fill (line 123) | def test_path_z_fill(assert_pixels): function test_path_c (line 150) | def test_path_c(assert_pixels): function test_path_s (line 177) | def test_path_s(assert_pixels): function test_path_cs (line 204) | def test_path_cs(assert_pixels): function test_path_q (line 237) | def test_path_q(assert_pixels): function test_path_t (line 264) | def test_path_t(assert_pixels): function test_path_qt (line 291) | def test_path_qt(assert_pixels): function test_path_qt2 (line 320) | def test_path_qt2(assert_pixels): function test_path_a (line 349) | def test_path_a(assert_pixels): function test_path_a2 (line 378) | def test_path_a2(assert_pixels): function test_path_a3 (line 405) | def test_path_a3(assert_pixels): function test_path_a4 (line 432) | def test_path_a4(assert_pixels): function test_path_a5 (line 461) | def test_path_a5(assert_pixels): function test_path_a6 (line 488) | def test_path_a6(assert_pixels): function test_path_a7 (line 515) | def test_path_a7(assert_pixels): function test_path_wrong_point (line 542) | def test_path_wrong_point(assert_pixels): function test_path_markers_l (line 569) | def test_path_markers_l(assert_pixels): function test_path_markers_hv (line 603) | def test_path_markers_hv(assert_pixels): FILE: tests/draw/svg/test_patterns.py function test_pattern (line 7) | def test_pattern(assert_pixels): function test_pattern_2 (line 39) | def test_pattern_2(assert_pixels): function test_pattern_3 (line 71) | def test_pattern_3(assert_pixels): function test_pattern_4 (line 103) | def test_pattern_4(assert_pixels): function test_pattern_inherit_attributes (line 135) | def test_pattern_inherit_attributes(assert_pixels): function test_pattern_inherit_children (line 169) | def test_pattern_inherit_children(assert_pixels): function test_pattern_inherit_no_override (line 202) | def test_pattern_inherit_no_override(assert_pixels): FILE: tests/draw/svg/test_shapes.py function test_rect_stroke (line 7) | def test_rect_stroke(assert_pixels): function test_rect_fill (line 31) | def test_rect_fill(assert_pixels): function test_rect_stroke_fill (line 54) | def test_rect_stroke_fill(assert_pixels): function test_rect_round (line 78) | def test_rect_round(assert_pixels): function test_rect_round_zero (line 101) | def test_rect_round_zero(assert_pixels): function test_line (line 124) | def test_line(assert_pixels): function test_polyline (line 148) | def test_polyline(assert_pixels): function test_polyline_fill (line 172) | def test_polyline_fill(assert_pixels): function test_polygon (line 196) | def test_polygon(assert_pixels): function test_polygon_fill (line 220) | def test_polygon_fill(assert_pixels): function test_circle_stroke (line 244) | def test_circle_stroke(assert_pixels): function test_circle_fill (line 269) | def test_circle_fill(assert_pixels): function test_ellipse_stroke (line 294) | def test_ellipse_stroke(assert_pixels): function test_ellipse_fill (line 319) | def test_ellipse_fill(assert_pixels): function test_rect_in_g (line 344) | def test_rect_in_g(assert_pixels): function test_rect_x_y_in_g (line 369) | def test_rect_x_y_in_g(assert_pixels): function test_rect_stroke_zero (line 394) | def test_rect_stroke_zero(assert_pixels): function test_rect_width_height_zero (line 418) | def test_rect_width_height_zero(assert_pixels): function test_rect_fill_inherit (line 441) | def test_rect_fill_inherit(assert_pixels): FILE: tests/draw/svg/test_text.py function test_text_fill (line 7) | def test_text_fill(assert_pixels): function test_text_stroke (line 25) | def test_text_stroke(assert_pixels): function test_text_x (line 46) | def test_text_x(assert_pixels): function test_text_y (line 65) | def test_text_y(assert_pixels): function test_text_xy (line 92) | def test_text_xy(assert_pixels): function test_text_dx (line 119) | def test_text_dx(assert_pixels): function test_text_dy (line 138) | def test_text_dy(assert_pixels): function test_text_dx_dy (line 165) | def test_text_dx_dy(assert_pixels): function test_text_anchor_start (line 192) | def test_text_anchor_start(assert_pixels): function test_text_anchor_middle (line 217) | def test_text_anchor_middle(assert_pixels): function test_text_anchor_end (line 236) | def test_text_anchor_end(assert_pixels): function test_text_tspan (line 255) | def test_text_tspan(assert_pixels): function test_text_tspan_anchor_middle (line 273) | def test_text_tspan_anchor_middle(assert_pixels): function test_text_tspan_anchor_end (line 291) | def test_text_tspan_anchor_end(assert_pixels): function test_text_anchor_middle_tspan (line 309) | def test_text_anchor_middle_tspan(assert_pixels): function test_text_anchor_end_tspan (line 328) | def test_text_anchor_end_tspan(assert_pixels): function test_text_anchor_middle_tspan_head_tail (line 347) | def test_text_anchor_middle_tspan_head_tail(assert_pixels): function test_text_anchor_end_tspan_head_tail (line 366) | def test_text_anchor_end_tspan_head_tail(assert_pixels): function test_text_anchor_middle_end_tspan (line 385) | def test_text_anchor_middle_end_tspan(assert_pixels): function test_text_tspan_anchor_non_text (line 406) | def test_text_tspan_anchor_non_text(assert_pixels): function test_text_rotate (line 426) | def test_text_rotate(assert_pixels): function test_text_text_length (line 447) | def test_text_text_length(assert_pixels): function test_text_length_adjust_glyphs_only (line 469) | def test_text_length_adjust_glyphs_only(assert_pixels): function test_text_font_face (line 491) | def test_text_font_face(assert_pixels): function test_text_font_face_css (line 517) | def test_text_font_face_css(assert_pixels): function test_text_length_adjust_spacing_and_glyphs (line 544) | def test_text_length_adjust_spacing_and_glyphs(assert_pixels): function test_font_shorthand (line 567) | def test_font_shorthand(assert_pixels): function test_font_shorthand_inheritance_from_parent (line 586) | def test_font_shorthand_inheritance_from_parent(assert_pixels): function test_explicit_properties_override_parent_shorthand (line 607) | def test_explicit_properties_override_parent_shorthand(assert_pixels): function test_font_shorthand_overrides_explicit_parent_properties (line 628) | def test_font_shorthand_overrides_explicit_parent_properties(assert_pixe... function test_child_font_shorthand_overrides_parent_shorthand (line 649) | def test_child_font_shorthand_overrides_parent_shorthand(assert_pixels): function test_mixed_explicit_and_shorthand_across_levels (line 670) | def test_mixed_explicit_and_shorthand_across_levels(assert_pixels): function test_text_fill_opacity (line 693) | def test_text_fill_opacity(assert_pixels): function test_emoji_text_svg (line 716) | def test_emoji_text_svg(assert_pixels): FILE: tests/draw/svg/test_transform.py function test_transform_translate (line 7) | def test_transform_translate(assert_pixels): function test_transform_translate_one (line 31) | def test_transform_translate_one(assert_pixels): function test_transform_translatex (line 55) | def test_transform_translatex(assert_pixels): function test_transform_translatey (line 79) | def test_transform_translatey(assert_pixels): function test_transform_rotate (line 103) | def test_transform_rotate(assert_pixels): function test_transform_rotate_cx_cy (line 127) | def test_transform_rotate_cx_cy(assert_pixels): function test_transform_skew (line 151) | def test_transform_skew(assert_pixels): function test_transform_skew_one (line 175) | def test_transform_skew_one(assert_pixels): function test_transform_skewx (line 199) | def test_transform_skewx(assert_pixels): function test_transform_skewy (line 223) | def test_transform_skewy(assert_pixels): function test_transform_scale (line 247) | def test_transform_scale(assert_pixels): function test_transform_scale_2 (line 271) | def test_transform_scale_2(assert_pixels): function test_transform_scalex (line 295) | def test_transform_scalex(assert_pixels): function test_transform_scaley (line 319) | def test_transform_scaley(assert_pixels): function test_transform_matrix (line 343) | def test_transform_matrix(assert_pixels): function test_transform_multiple (line 368) | def test_transform_multiple(assert_pixels): function test_transform_unknown (line 393) | def test_transform_unknown(assert_pixels): function test_transform_origin (line 417) | def test_transform_origin(assert_pixels): FILE: tests/draw/svg/test_units.py function test_units_px (line 7) | def test_units_px(assert_pixels): function test_units_em (line 31) | def test_units_em(assert_pixels): function test_units_ex (line 56) | def test_units_ex(assert_pixels): function test_units_unknown (line 81) | def test_units_unknown(assert_pixels): FILE: tests/draw/svg/test_visibility.py function test_visibility_visible (line 7) | def test_visibility_visible(assert_pixels): function test_visibility_hidden (line 31) | def test_visibility_hidden(assert_pixels): function test_visibility_inherit_hidden (line 55) | def test_visibility_inherit_hidden(assert_pixels): function test_visibility_inherit_visible (line 80) | def test_visibility_inherit_visible(assert_pixels): function test_display_inline (line 106) | def test_display_inline(assert_pixels): function test_display_none (line 130) | def test_display_none(assert_pixels): function test_display_inherit_none (line 154) | def test_display_inherit_none(assert_pixels): function test_display_inherit_inline (line 179) | def test_display_inherit_inline(assert_pixels): FILE: tests/draw/test_absolute.py function test_absolute_split_1 (line 9) | def test_absolute_split_1(assert_pixels): function test_absolute_split_2 (line 40) | def test_absolute_split_2(assert_pixels): function test_absolute_split_3 (line 71) | def test_absolute_split_3(assert_pixels): function test_absolute_split_4 (line 102) | def test_absolute_split_4(assert_pixels): function test_absolute_split_5 (line 133) | def test_absolute_split_5(assert_pixels): function test_absolute_split_6 (line 171) | def test_absolute_split_6(assert_pixels): function test_absolute_split_7 (line 207) | def test_absolute_split_7(assert_pixels): function test_absolute_split_8 (line 247) | def test_absolute_split_8(assert_pixels): function test_absolute_split_9 (line 281) | def test_absolute_split_9(assert_pixels): function test_absolute_split_10 (line 316) | def test_absolute_split_10(assert_pixels): function test_absolute_split_11 (line 360) | def test_absolute_split_11(assert_pixels): function test_absolute_split_12 (line 392) | def test_absolute_split_12(assert_pixels): function test_absolute_next_page (line 444) | def test_absolute_next_page(assert_pixels): function test_absolute_rtl_1 (line 482) | def test_absolute_rtl_1(assert_pixels): function test_absolute_rtl_2 (line 508) | def test_absolute_rtl_2(assert_pixels): function test_absolute_rtl_3 (line 535) | def test_absolute_rtl_3(assert_pixels): function test_absolute_rtl_4 (line 563) | def test_absolute_rtl_4(assert_pixels): function test_absolute_rtl_5 (line 591) | def test_absolute_rtl_5(assert_pixels): function test_absolute_pages_counter (line 615) | def test_absolute_pages_counter(assert_pixels): function test_absolute_pages_counter_orphans (line 657) | def test_absolute_pages_counter_orphans(assert_pixels): function test_absolute_in_inline (line 710) | def test_absolute_in_inline(assert_pixels): function test_fixed_in_inline (line 758) | def test_fixed_in_inline(assert_pixels): function test_absolute_image_background (line 806) | def test_absolute_image_background(assert_pixels): function test_absolute_in_absolute_break (line 829) | def test_absolute_in_absolute_break(assert_pixels): function test_absolute_alternative_layout (line 886) | def test_absolute_alternative_layout(assert_pixels, position, display): FILE: tests/draw/test_background.py function test_canvas_background (line 39) | def test_canvas_background(assert_pixels, expected_pixels, html): function test_canvas_background_size (line 43) | def test_canvas_background_size(assert_pixels): function test_background_image (line 472) | def test_background_image(assert_pixels, css, pixels): function test_background_image_zero_size_background (line 486) | def test_background_image_zero_size_background(assert_pixels): function test_background_origin (line 570) | def test_background_origin(assert_pixels, css, pixels): function test_background_transform (line 585) | def test_background_transform(assert_pixels): function test_background_repeat_space_1 (line 609) | def test_background_repeat_space_1(assert_pixels): function test_background_repeat_space_2 (line 638) | def test_background_repeat_space_2(assert_pixels): function test_background_repeat_space_3 (line 665) | def test_background_repeat_space_3(assert_pixels): function test_background_repeat_space_4 (line 691) | def test_background_repeat_space_4(assert_pixels): function test_background_repeat_round_1 (line 712) | def test_background_repeat_round_1(assert_pixels): function test_background_repeat_round_2 (line 740) | def test_background_repeat_round_2(assert_pixels): function test_background_repeat_round_3 (line 772) | def test_background_repeat_round_3(assert_pixels): function test_background_repeat_round_4 (line 800) | def test_background_repeat_round_4(assert_pixels): function test_background_clip (line 870) | def test_background_clip(assert_pixels, css, pixels): function test_background_size (line 1021) | def test_background_size(assert_pixels, expected_pixels, html): function test_bleed_background_size (line 1026) | def test_bleed_background_size(assert_pixels): function test_background_size_clip (line 1040) | def test_background_size_clip(assert_pixels): function test_page_background_fixed (line 1056) | def test_page_background_fixed(assert_pixels): function test_page_background_fixed_bleed (line 1073) | def test_page_background_fixed_bleed(assert_pixels): function test_bleed_background_size_clip (line 1092) | def test_bleed_background_size_clip(assert_pixels): function test_marks_crop (line 1111) | def test_marks_crop(assert_pixels): function test_marks_cross (line 1127) | def test_marks_cross(assert_pixels): function test_marks_crop_cross (line 1143) | def test_marks_crop_cross(assert_pixels): FILE: tests/draw/test_before_after.py function test_before_after_1 (line 7) | def test_before_after_1(assert_same_renderings): function test_before_after_2 (line 27) | def test_before_after_2(assert_same_renderings): function test_before_after_3 (line 51) | def test_before_after_3(assert_same_renderings): FILE: tests/draw/test_box.py function test_outlines_and_borders (line 17) | def test_outlines_and_borders(assert_pixels, assert_different_renderings... function test_borders_table_collapse (line 57) | def test_borders_table_collapse(assert_different_renderings): function test_borders_table_collapse_equivalent (line 82) | def test_borders_table_collapse_equivalent(assert_same_renderings, styles): function test_small_borders_1 (line 98) | def test_small_borders_1(border_style): function test_small_borders_2 (line 111) | def test_small_borders_2(border_style): function test_em_borders (line 123) | def test_em_borders(): function test_borders_box_sizing (line 130) | def test_borders_box_sizing(assert_pixels): function test_margin_boxes (line 157) | def test_margin_boxes(assert_pixels): function test_display_inline_block_twice (line 208) | def test_display_inline_block_twice(): function test_draw_border_radius (line 216) | def test_draw_border_radius(assert_pixels): function test_draw_split_border_radius (line 243) | def test_draw_split_border_radius(assert_pixels): function test_border_image_stretch (line 289) | def test_border_image_stretch(assert_pixels): function test_border_image_fill (line 318) | def test_border_image_fill(assert_pixels): function test_border_image_default_slice (line 347) | def test_border_image_default_slice(assert_pixels): function test_border_image_uneven_width (line 379) | def test_border_image_uneven_width(assert_pixels): function test_border_image_not_percent (line 409) | def test_border_image_not_percent(assert_pixels): function test_border_image_repeat (line 438) | def test_border_image_repeat(assert_pixels): function test_border_image_space (line 468) | def test_border_image_space(assert_pixels): function test_border_image_outset (line 499) | def test_border_image_outset(assert_pixels): function test_border_image_width (line 532) | def test_border_image_width(assert_pixels): function test_border_image_gradient (line 562) | def test_border_image_gradient(assert_pixels): function test_border_image_gradient_units (line 592) | def test_border_image_gradient_units(assert_pixels): function test_mask_border (line 625) | def test_mask_border(assert_pixels): function test_mask_border_fill (line 656) | def test_mask_border_fill(assert_pixels): function test_outline_and_border (line 687) | def test_outline_and_border(assert_pixels): function test_outline_offset (line 716) | def test_outline_offset(assert_pixels): function test_infinite_border_radius (line 748) | def test_infinite_border_radius(assert_pixels): FILE: tests/draw/test_cmyk_color_profiles.py function test_device_cmyk_with_icc (line 7) | def test_device_cmyk_with_icc(assert_pixels): function test_device_cmyk_without_icc (line 22) | def test_device_cmyk_without_icc(assert_pixels): function test_custom_cmyk_with_icc (line 33) | def test_custom_cmyk_with_icc(assert_pixels): function test_image_cmyk_without_icc (line 48) | def test_image_cmyk_without_icc(assert_pixels): function test_image_cmyk_with_external_icc (line 58) | def test_image_cmyk_with_external_icc(assert_pixels): function test_image_cmyk_with_icc (line 72) | def test_image_cmyk_with_icc(assert_pixels): FILE: tests/draw/test_column.py function test_column_rule_1 (line 7) | def test_column_rule_1(assert_pixels): function test_column_rule_2 (line 30) | def test_column_rule_2(assert_pixels): function test_column_rule_span (line 55) | def test_column_rule_span(assert_pixels): function test_column_rule_normal (line 86) | def test_column_rule_normal(assert_pixels): FILE: tests/draw/test_current_color.py function test_current_color_1 (line 9) | def test_current_color_1(assert_pixels): function test_current_color_2 (line 21) | def test_current_color_2(assert_pixels): function test_current_color_3 (line 33) | def test_current_color_3(assert_pixels): function test_current_color_4 (line 45) | def test_current_color_4(assert_pixels): function test_current_color_svg_1 (line 58) | def test_current_color_svg_1(assert_pixels): function test_current_color_svg_2 (line 72) | def test_current_color_svg_2(assert_pixels): function test_current_color_variable (line 86) | def test_current_color_variable(assert_pixels): function test_current_color_variable_border (line 98) | def test_current_color_variable_border(assert_pixels): FILE: tests/draw/test_float.py function test_float (line 9) | def test_float(assert_pixels): function test_float_rtl (line 28) | def test_float_rtl(assert_pixels): function test_float_inline (line 47) | def test_float_inline(assert_pixels): function test_float_inline_rtl (line 69) | def test_float_inline_rtl(assert_pixels): function test_float_inline_block (line 91) | def test_float_inline_block(assert_pixels): function test_float_inline_block_rtl (line 113) | def test_float_inline_block_rtl(assert_pixels): function test_float_table (line 135) | def test_float_table(assert_pixels): function test_float_table_rtl (line 157) | def test_float_table_rtl(assert_pixels): function test_float_inline_table (line 179) | def test_float_inline_table(assert_pixels): function test_float_inline_table_rtl (line 202) | def test_float_inline_table_rtl(assert_pixels): function test_float_replaced_block (line 225) | def test_float_replaced_block(assert_pixels): function test_float_replaced_block_rtl (line 245) | def test_float_replaced_block_rtl(assert_pixels): function test_float_replaced_inline (line 266) | def test_float_replaced_inline(assert_pixels): function test_float_replaced_inline_rtl (line 288) | def test_float_replaced_inline_rtl(assert_pixels): function test_float_margin (line 309) | def test_float_margin(assert_pixels): function test_float_split_1 (line 340) | def test_float_split_1(assert_pixels): function test_float_split_2 (line 368) | def test_float_split_2(assert_pixels): function test_float_split_3 (line 396) | def test_float_split_3(assert_pixels): function test_float_split_4 (line 424) | def test_float_split_4(assert_pixels): function test_float_split_5 (line 452) | def test_float_split_5(assert_pixels): function test_float_split_6 (line 485) | def test_float_split_6(assert_pixels): function test_float_split_7 (line 518) | def test_float_split_7(assert_pixels): function test_float_split_8 (line 551) | def test_float_split_8(assert_pixels): function test_float_split_9 (line 580) | def test_float_split_9(assert_pixels): function test_float_split_10 (line 609) | def test_float_split_10(assert_pixels): function test_float_split_11 (line 645) | def test_float_split_11(assert_pixels): function test_float_split_12 (line 683) | def test_float_split_12(assert_pixels): function test_float_split_13 (line 724) | def test_float_split_13(assert_pixels): function test_float_split_14 (line 764) | def test_float_split_14(assert_pixels): function test_float_split_15 (line 804) | def test_float_split_15(assert_pixels): function test_float_split_clear (line 839) | def test_float_split_clear(assert_pixels): function test_float_split_clear_empty (line 875) | def test_float_split_clear_empty(assert_pixels): function test_float_split_large_parent (line 911) | def test_float_split_large_parent(assert_pixels): function test_float_split_in_stacking_context (line 963) | def test_float_split_in_stacking_context(assert_pixels): FILE: tests/draw/test_footnote.py function test_inline_footnote (line 7) | def test_inline_footnote(assert_pixels): function test_block_footnote (line 35) | def test_block_footnote(assert_pixels): function test_long_footnote (line 63) | def test_long_footnote(assert_pixels): function test_footnote_margin (line 91) | def test_footnote_margin(assert_pixels): function test_footnote_multiple_margin (line 123) | def test_footnote_multiple_margin(assert_pixels): function test_footnote_with_absolute (line 173) | def test_footnote_with_absolute(assert_pixels): function test_footnote_max_height_1 (line 208) | def test_footnote_max_height_1(assert_pixels): function test_footnote_max_height_2 (line 250) | def test_footnote_max_height_2(assert_pixels): function test_footnote_max_height_3 (line 290) | def test_footnote_max_height_3(assert_pixels): function test_footnote_max_height_4 (line 338) | def test_footnote_max_height_4(assert_pixels): function test_footnote_max_height_5 (line 380) | def test_footnote_max_height_5(assert_pixels): FILE: tests/draw/test_footnote_column.py function test_footnote_column_margin_top (line 9) | def test_footnote_column_margin_top(assert_pixels): function test_footnote_column_fill_auto (line 49) | def test_footnote_column_fill_auto(assert_pixels): function test_footnote_column_fill_auto_break_inside_avoid (line 86) | def test_footnote_column_fill_auto_break_inside_avoid(assert_pixels): function test_footnote_column_p_after (line 131) | def test_footnote_column_p_after(assert_pixels): function test_footnote_column_p_before (line 179) | def test_footnote_column_p_before(assert_pixels): function test_footnote_column_3 (line 233) | def test_footnote_column_3(assert_pixels): function test_footnote_column_3_p_before (line 268) | def test_footnote_column_3_p_before(assert_pixels): function test_footnote_column_clone_decoration (line 312) | def test_footnote_column_clone_decoration(assert_pixels): function test_footnote_column_max_height (line 351) | def test_footnote_column_max_height(assert_pixels): function test_footnote_column_reported_split (line 400) | def test_footnote_column_reported_split(assert_pixels): FILE: tests/draw/test_gradient.py function test_linear_gradients_1 (line 7) | def test_linear_gradients_1(assert_pixels): function test_linear_gradients_2 (line 24) | def test_linear_gradients_2(assert_pixels): function test_linear_gradients_3 (line 41) | def test_linear_gradients_3(assert_pixels): function test_linear_gradients_4 (line 54) | def test_linear_gradients_4(assert_pixels): function test_linear_gradients_5 (line 67) | def test_linear_gradients_5(assert_pixels): function test_linear_gradients_6 (line 81) | def test_linear_gradients_6(assert_pixels): function test_linear_gradients_7 (line 94) | def test_linear_gradients_7(assert_pixels): function test_linear_gradients_8 (line 108) | def test_linear_gradients_8(assert_pixels): function test_linear_gradients_9 (line 120) | def test_linear_gradients_9(assert_pixels): function test_linear_gradients_10 (line 132) | def test_linear_gradients_10(assert_pixels): function test_linear_gradients_11 (line 145) | def test_linear_gradients_11(assert_pixels): function test_linear_gradients_12 (line 158) | def test_linear_gradients_12(assert_pixels): function test_linear_gradients_13 (line 171) | def test_linear_gradients_13(assert_pixels): function test_linear_gradients_currentcolor (line 189) | def test_linear_gradients_currentcolor(assert_pixels): function test_linear_gradients_hints (line 201) | def test_linear_gradients_hints(assert_pixels): function test_linear_gradients_hints_percentage (line 218) | def test_linear_gradients_hints_percentage(assert_pixels): function test_radial_gradients_1 (line 235) | def test_radial_gradients_1(assert_pixels): function test_radial_gradients_2 (line 248) | def test_radial_gradients_2(assert_pixels): function test_radial_gradients_3 (line 261) | def test_radial_gradients_3(assert_pixels): function test_radial_gradients_4 (line 284) | def test_radial_gradients_4(assert_pixels): function test_radial_gradients_5 (line 307) | def test_radial_gradients_5(assert_pixels): function test_radial_gradients_negative (line 330) | def test_radial_gradients_negative(assert_pixels): function test_radial_gradients_repeating (line 353) | def test_radial_gradients_repeating(assert_pixels): function test_radial_gradients_repeating_outer (line 376) | def test_radial_gradients_repeating_outer(assert_pixels): function test_radial_gradients_repeating_outer_partial (line 399) | def test_radial_gradients_repeating_outer_partial(assert_pixels): function test_radial_gradients_repeating_negative (line 422) | def test_radial_gradients_repeating_negative(assert_pixels): function test_radial_gradients_hints (line 445) | def test_radial_gradients_hints(assert_pixels): function test_radial_gradients_hints_percentage (line 458) | def test_radial_gradients_hints_percentage(assert_pixels): FILE: tests/draw/test_image.py function test_images (line 161) | def test_images(assert_pixels, filename, image): function test_resized_images (line 178) | def test_resized_images(assert_pixels, filename): function test_image_overflow (line 189) | def test_image_overflow(assert_pixels): function test_svg_sizing (line 208) | def test_svg_sizing(assert_pixels, viewbox, width, height): function test_svg_resizing (line 236) | def test_svg_resizing(assert_pixels, viewbox, width, height, image): function test_images_block (line 253) | def test_images_block(assert_pixels): function test_images_not_found (line 264) | def test_images_not_found(assert_pixels): function test_images_no_src (line 279) | def test_images_no_src(assert_pixels): function test_images_alt (line 290) | def test_images_alt(assert_same_renderings): function test_images_repeat_transparent (line 312) | def test_images_repeat_transparent(assert_pixels): function test_images_no_width (line 323) | def test_images_no_width(assert_pixels): function test_images_no_height (line 334) | def test_images_no_height(assert_pixels): function test_images_no_width_height (line 345) | def test_images_no_width_height(assert_pixels): function test_images_page_break (line 356) | def test_images_page_break(assert_pixels): function test_image_repeat_inline (line 367) | def test_image_repeat_inline(assert_pixels): function test_image_repeat_block (line 390) | def test_image_repeat_block(assert_pixels): function test_images_padding (line 413) | def test_images_padding(assert_pixels): function test_images_in_inline_block (line 426) | def test_images_in_inline_block(assert_pixels): function test_images_transparent_text (line 439) | def test_images_transparent_text(assert_pixels): function test_images_shared_pattern (line 451) | def test_images_shared_pattern(assert_pixels): function test_image_resolution (line 480) | def test_image_resolution(assert_same_renderings): function test_image_cover (line 508) | def test_image_cover(assert_pixels): function test_image_contain (line 519) | def test_image_contain(assert_pixels): function test_image_none (line 530) | def test_image_none(assert_pixels): function test_image_scale_down (line 541) | def test_image_scale_down(assert_pixels): function test_image_position (line 552) | def test_image_position(assert_pixels): function test_images_border (line 564) | def test_images_border(assert_pixels): function test_images_border_absolute (line 575) | def test_images_border_absolute(assert_pixels): function test_image_exif (line 586) | def test_image_exif(assert_same_renderings): function test_image_exif_image_orientation (line 601) | def test_image_exif_image_orientation(assert_same_renderings): function test_image_exif_image_orientation_keep_format (line 617) | def test_image_exif_image_orientation_keep_format(): FILE: tests/draw/test_leader.py function test_leader_simple (line 9) | def test_leader_simple(assert_pixels): function test_leader_too_long (line 42) | def test_leader_too_long(assert_pixels): function test_leader_alone (line 83) | def test_leader_alone(assert_pixels): function test_leader_content (line 108) | def test_leader_content(assert_pixels): function test_leader_float (line 134) | def test_leader_float(assert_pixels): function test_leader_float_small (line 170) | def test_leader_float_small(assert_pixels): function test_leader_in_inline (line 203) | def test_leader_in_inline(assert_pixels): function test_leader_bad_alignment (line 232) | def test_leader_bad_alignment(assert_pixels): function test_leader_simple_rtl (line 259) | def test_leader_simple_rtl(assert_pixels): function test_leader_too_long_rtl (line 294) | def test_leader_too_long_rtl(assert_pixels): function test_leader_float_leader (line 337) | def test_leader_float_leader(assert_pixels): function test_leader_empty_string (line 372) | def test_leader_empty_string(assert_pixels): function test_leader_zero_width_string (line 397) | def test_leader_zero_width_string(assert_pixels): function test_leader_absolute (line 422) | def test_leader_absolute(assert_pixels): function test_leader_padding (line 453) | def test_leader_padding(assert_pixels): function test_leader_inline_padding (line 486) | def test_leader_inline_padding(assert_pixels): function test_leader_margin (line 519) | def test_leader_margin(assert_pixels): function test_leader_inline_margin (line 552) | def test_leader_inline_margin(assert_pixels): FILE: tests/draw/test_list.py function test_list_style_image (line 44) | def test_list_style_image(assert_pixels, position, pixels): function test_list_style_image_none (line 56) | def test_list_style_image_none(assert_pixels): FILE: tests/draw/test_opacity.py function test_opacity_zero (line 14) | def test_opacity_zero(assert_same_renderings): function test_opacity_normal_range (line 23) | def test_opacity_normal_range(assert_same_renderings): function test_opacity_nested (line 33) | def test_opacity_nested(assert_same_renderings): function test_opacity_percent_clamp_down (line 46) | def test_opacity_percent_clamp_down(assert_same_renderings): function test_opacity_percent_clamp_up (line 55) | def test_opacity_percent_clamp_up(assert_same_renderings): function test_opacity_black (line 64) | def test_opacity_black(assert_same_renderings): FILE: tests/draw/test_overflow.py function test_overflow_1 (line 9) | def test_overflow_1(assert_pixels): function test_overflow_2 (line 30) | def test_overflow_2(assert_pixels): function test_overflow_3 (line 51) | def test_overflow_3(assert_pixels): function test_overflow_4 (line 72) | def test_overflow_4(assert_pixels): function test_overflow_5 (line 96) | def test_overflow_5(assert_pixels): function test_clip (line 193) | def test_clip(assert_pixels, number, css, pixels): FILE: tests/draw/test_page.py function test_nth_page (line 23) | def test_nth_page(assert_pixels, rule, pixels): FILE: tests/draw/test_table.py function test_tables_1 (line 41) | def test_tables_1(assert_pixels): function test_tables_1_rtl (line 78) | def test_tables_1_rtl(assert_pixels): function test_tables_2 (line 116) | def test_tables_2(assert_pixels): function test_tables_2_rtl (line 154) | def test_tables_2_rtl(assert_pixels): function test_tables_3 (line 192) | def test_tables_3(assert_pixels): function test_tables_3_rtl (line 256) | def test_tables_3_rtl(assert_pixels): function test_tables_4 (line 321) | def test_tables_4(assert_pixels): function test_tables_4_rtl (line 358) | def test_tables_4_rtl(assert_pixels): function test_tables_5 (line 395) | def test_tables_5(assert_pixels): function test_tables_5_rtl (line 433) | def test_tables_5_rtl(assert_pixels): function test_tables_6 (line 471) | def test_tables_6(assert_pixels): function test_tables_6_rtl (line 509) | def test_tables_6_rtl(assert_pixels): function test_tables_7 (line 547) | def test_tables_7(assert_pixels): function test_tables_7_rtl (line 585) | def test_tables_7_rtl(assert_pixels): function test_tables_8 (line 623) | def test_tables_8(assert_pixels): function test_tables_8_rtl (line 661) | def test_tables_8_rtl(assert_pixels): function test_tables_9 (line 699) | def test_tables_9(assert_pixels): function test_tables_10 (line 751) | def test_tables_10(assert_pixels): function test_tables_11 (line 801) | def test_tables_11(assert_pixels): function test_tables_12 (line 826) | def test_tables_12(assert_pixels): function test_tables_13 (line 864) | def test_tables_13(assert_pixels): function test_tables_14 (line 930) | def test_tables_14(assert_pixels): function test_tables_15 (line 993) | def test_tables_15(assert_pixels): function test_tables_16 (line 1046) | def test_tables_16(assert_pixels): function test_tables_17 (line 1073) | def test_tables_17(assert_pixels): function test_tables_18 (line 1106) | def test_tables_18(assert_pixels): function test_tables_19 (line 1141) | def test_tables_19(assert_pixels): function test_tables_20 (line 1162) | def test_tables_20(assert_pixels): function test_tables_21 (line 1183) | def test_tables_21(assert_pixels): function test_tables_22 (line 1219) | def test_tables_22(assert_pixels): function test_tables_23 (line 1252) | def test_tables_23(assert_pixels): function test_tables_24 (line 1285) | def test_tables_24(assert_pixels): function test_tables_24_rtl (line 1333) | def test_tables_24_rtl(assert_pixels): function test_running_elements_table_border_collapse (line 1382) | def test_running_elements_table_border_collapse(assert_pixels): function test_running_elements_table_border_collapse_empty (line 1426) | def test_running_elements_table_border_collapse_empty(assert_pixels): function test_running_elements_table_border_collapse_border_style (line 1463) | def test_running_elements_table_border_collapse_border_style(assert_pixe... function test_running_elements_table_border_collapse_span (line 1507) | def test_running_elements_table_border_collapse_span(assert_pixels): function test_running_elements_table_border_collapse_margin (line 1551) | def test_running_elements_table_border_collapse_margin(assert_pixels): function test_tables_split_row (line 1596) | def test_tables_split_row(assert_pixels): function test_tables_column_background (line 1622) | def test_tables_column_background(assert_pixels): FILE: tests/draw/test_text.py function test_text_overflow_clip (line 10) | def test_text_overflow_clip(assert_pixels): function test_text_overflow_ellipsis (line 40) | def test_text_overflow_ellipsis(assert_pixels): function test_text_align_rtl_trailing_whitespace (line 87) | def test_text_align_rtl_trailing_whitespace(assert_pixels): function test_rtl_default_direction (line 114) | def test_rtl_default_direction(assert_pixels): function test_rtl_forced_direction (line 130) | def test_rtl_forced_direction(assert_pixels): function test_rtl_nested_inline (line 146) | def test_rtl_nested_inline(assert_pixels): function test_max_lines_ellipsis (line 170) | def test_max_lines_ellipsis(assert_pixels): function test_max_lines_nested (line 200) | def test_max_lines_nested(assert_pixels): function test_line_clamp (line 246) | def test_line_clamp(assert_pixels): function test_line_clamp_none (line 282) | def test_line_clamp_none(assert_pixels): function test_line_clamp_number (line 316) | def test_line_clamp_number(assert_pixels): function test_line_clamp_nested (line 349) | def test_line_clamp_nested(assert_pixels): function test_line_clamp_nested_after (line 387) | def test_line_clamp_nested_after(assert_pixels): function test_ellipsis_nested (line 426) | def test_ellipsis_nested(assert_pixels): function test_text_align_right (line 460) | def test_text_align_right(assert_pixels): function test_text_align_justify (line 487) | def test_text_align_justify(assert_pixels): function test_text_align_justify_nbsp (line 514) | def test_text_align_justify_nbsp(assert_pixels): function test_text_word_spacing (line 539) | def test_text_word_spacing(assert_pixels): function test_text_letter_spacing (line 564) | def test_text_letter_spacing(assert_pixels): function test_text_underline (line 589) | def test_text_underline(assert_pixels): function test_text_underline_offset (line 614) | def test_text_underline_offset(assert_pixels): function test_text_underline_offset_percentage (line 642) | def test_text_underline_offset_percentage(assert_pixels): function test_text_underline_offset_calc (line 670) | def test_text_underline_offset_calc(assert_pixels): function test_text_underline_thickness (line 698) | def test_text_underline_thickness(assert_pixels): function test_text_underline_thickness_percentage (line 726) | def test_text_underline_thickness_percentage(assert_pixels): function test_text_underline_thickness_calc (line 754) | def test_text_underline_thickness_calc(assert_pixels): function test_text_overline (line 782) | def test_text_overline(assert_pixels): function test_text_line_through (line 809) | def test_text_line_through(assert_pixels): function test_text_multiple_text_decoration (line 834) | def test_text_multiple_text_decoration(assert_pixels): function test_text_nested_text_decoration (line 860) | def test_text_nested_text_decoration(assert_pixels): function test_text_nested_text_decoration_color (line 890) | def test_text_nested_text_decoration_color(assert_pixels): function test_text_nested_block_text_decoration (line 920) | def test_text_nested_block_text_decoration(assert_pixels): function test_text_float_text_decoration (line 956) | def test_text_float_text_decoration(assert_pixels): function test_text_decoration_var (line 985) | def test_text_decoration_var(assert_pixels): function test_zero_width_character (line 1013) | def test_zero_width_character(assert_pixels): function test_font_size_very_small (line 1036) | def test_font_size_very_small(assert_pixels): function test_missing_glyph_fallback (line 1057) | def test_missing_glyph_fallback(assert_pixels): function test_tabulation_character (line 1079) | def test_tabulation_character(assert_pixels): function test_otb_font (line 1103) | def test_otb_font(assert_pixels): function test_huge_justification (line 1131) | def test_huge_justification(assert_pixels): function test_font_variant_caps_small (line 1156) | def test_font_variant_caps_small(assert_pixels): function test_font_variant_caps_all_small (line 1179) | def test_font_variant_caps_all_small(assert_pixels): function test_font_variant_caps_petite (line 1202) | def test_font_variant_caps_petite(assert_pixels): function test_font_variant_caps_all_petite (line 1227) | def test_font_variant_caps_all_petite(assert_pixels): function test_font_variant_caps_unicase (line 1250) | def test_font_variant_caps_unicase(assert_pixels): function test_font_variant_caps_titling (line 1273) | def test_font_variant_caps_titling(assert_pixels): function test_unicode_range (line 1295) | def test_unicode_range(assert_pixels): FILE: tests/draw/test_transform.py function test_2d_transform_1 (line 7) | def test_2d_transform_1(assert_pixels): function test_2d_transform_2 (line 29) | def test_2d_transform_2(assert_pixels): function test_2d_transform_3 (line 51) | def test_2d_transform_3(assert_pixels): function test_2d_transform_4 (line 74) | def test_2d_transform_4(assert_pixels): function test_2d_transform_5 (line 96) | def test_2d_transform_5(assert_pixels): function test_2d_transform_6 (line 115) | def test_2d_transform_6(assert_pixels): function test_2d_transform_7 (line 134) | def test_2d_transform_7(assert_pixels): function test_2d_transform_8 (line 153) | def test_2d_transform_8(assert_pixels): function test_2d_transform_9 (line 173) | def test_2d_transform_9(assert_pixels): function test_2d_transform_10 (line 192) | def test_2d_transform_10(assert_pixels): function test_2d_transform_11 (line 216) | def test_2d_transform_11(assert_pixels): function test_2d_transform_12 (line 240) | def test_2d_transform_12(assert_pixels): function test_2d_transform_13 (line 264) | def test_2d_transform_13(assert_pixels): function test_2d_transform_opacity (line 288) | def test_2d_transform_opacity(assert_pixels): FILE: tests/draw/test_visibility.py function test_visibility_1 (line 19) | def test_visibility_1(assert_pixels): function test_visibility_2 (line 32) | def test_visibility_2(assert_pixels): function test_visibility_3 (line 45) | def test_visibility_3(assert_pixels): function test_visibility_4 (line 59) | def test_visibility_4(assert_pixels): FILE: tests/draw/test_whitespace.py function test_whitespace_inline (line 7) | def test_whitespace_inline(assert_pixels): function test_whitespace_nested_inline (line 28) | def test_whitespace_nested_inline(assert_pixels): function test_whitespace_inline_space_between (line 49) | def test_whitespace_inline_space_between(assert_pixels): function test_whitespace_float_between (line 70) | def test_whitespace_float_between(assert_pixels): function test_whitespace_in_float (line 92) | def test_whitespace_in_float(assert_pixels): function test_whitespace_absolute_between (line 117) | def test_whitespace_absolute_between(assert_pixels): function test_whitespace_in_absolute (line 144) | def test_whitespace_in_absolute(assert_pixels): function test_whitespace_running_between (line 171) | def test_whitespace_running_between(assert_pixels): function test_whitespace_in_running (line 203) | def test_whitespace_in_running(assert_pixels): FILE: tests/layout/test_block.py function test_block_widths (line 11) | def test_block_widths(): function test_block_heights_p (line 134) | def test_block_heights_p(): function test_block_heights_img (line 164) | def test_block_heights_img(): function test_block_heights_img_no_body_height (line 191) | def test_block_heights_img_no_body_height(): function test_block_percentage_heights_no_html_height (line 219) | def test_block_percentage_heights_no_html_height(): function test_block_percentage_heights (line 236) | def test_block_percentage_heights(): function test_box_sizing (line 260) | def test_box_sizing(size): function test_box_sizing_zero (line 315) | def test_box_sizing_zero(size): function test_vertical_space_1 (line 361) | def test_vertical_space_1(margin_1, margin_2, result): function test_vertical_space_2 (line 381) | def test_vertical_space_2(margin_1, margin_2, result): function test_vertical_space_3 (line 404) | def test_vertical_space_3(margin_1, margin_2, result): function test_vertical_space_4 (line 427) | def test_vertical_space_4(margin_1, margin_2, result): function test_vertical_space_5 (line 453) | def test_vertical_space_5(margin_1, margin_2, result): function test_vertical_space_6 (line 482) | def test_vertical_space_6(margin_1, margin_2, result): function test_vertical_space_7 (line 508) | def test_vertical_space_7(margin_1, margin_2, result): function test_vertical_space_8 (line 530) | def test_vertical_space_8(margin_1, margin_2, result): function test_vertical_space_9 (line 548) | def test_vertical_space_9(margin_1, margin_2, result): function test_box_decoration_break_block_slice (line 568) | def test_box_decoration_break_block_slice(): function test_box_decoration_break_block_clone (line 617) | def test_box_decoration_break_block_clone(): function test_box_decoration_break_clone_bottom_padding (line 671) | def test_box_decoration_break_clone_bottom_padding(): function test_box_decoration_break_slice_bottom_padding (line 701) | def test_box_decoration_break_slice_bottom_padding(): # pragma: no cover function test_nested_blocks_padding_border (line 737) | def test_nested_blocks_padding_border(): # pragma: no cover function test_overflow_non_collapsing_parent (line 770) | def test_overflow_non_collapsing_parent(): function test_overflow_auto (line 797) | def test_overflow_auto(): function test_overflow_hidden_in_flow_layout (line 809) | def test_overflow_hidden_in_flow_layout(): function test_overflow_hidden_out_of_flow_layout (line 823) | def test_overflow_hidden_out_of_flow_layout(): function test_box_margin_top_repagination (line 837) | def test_box_margin_top_repagination(): function test_continue_discard (line 864) | def test_continue_discard(): function test_continue_discard_children (line 891) | def test_continue_discard_children(): function test_block_in_block_with_bottom_padding (line 923) | def test_block_in_block_with_bottom_padding(): function test_page_breaks_1 (line 965) | def test_page_breaks_1(): function test_page_breaks_2 (line 1000) | def test_page_breaks_2(): function test_page_breaks_3 (line 1037) | def test_page_breaks_3(): function test_page_break_child_margin_no_collapse (line 1074) | def test_page_break_child_margin_no_collapse(): function test_min_max_rtl (line 1102) | def test_min_max_rtl(): FILE: tests/layout/test_column.py function test_columns (line 17) | def test_columns(css): function test_column_gap (line 48) | def test_column_gap(value, width): function test_column_span_1 (line 75) | def test_column_span_1(): function test_column_span_2 (line 105) | def test_column_span_2(): function test_column_span_3 (line 133) | def test_column_span_3(): function test_column_span_4 (line 176) | def test_column_span_4(): function test_column_span_5 (line 219) | def test_column_span_5(): function test_column_span_6 (line 260) | def test_column_span_6(): function test_column_span_7 (line 298) | def test_column_span_7(): function test_column_span_8 (line 339) | def test_column_span_8(): function test_column_span_9 (line 380) | def test_column_span_9(): function test_column_span_balance (line 410) | def test_column_span_balance(): function test_columns_multipage (line 441) | def test_columns_multipage(): function test_columns_breaks (line 476) | def test_columns_breaks(): function test_columns_break_after_column_1 (line 507) | def test_columns_break_after_column_1(): function test_columns_break_after_column_2 (line 530) | def test_columns_break_after_column_2(): function test_columns_break_after_avoid_column (line 553) | def test_columns_break_after_avoid_column(): function test_columns_break_before_column_1 (line 576) | def test_columns_break_before_column_1(): function test_columns_break_before_column_2 (line 599) | def test_columns_break_before_column_2(): function test_columns_break_before_avoid_column (line 622) | def test_columns_break_before_avoid_column(): function test_columns_break_inside_column_1 (line 645) | def test_columns_break_inside_column_1(): function test_columns_break_inside_column_2 (line 668) | def test_columns_break_inside_column_2(): function test_columns_break_inside_column_not_empty_page (line 691) | def test_columns_break_inside_column_not_empty_page(): function test_columns_not_enough_content (line 716) | def test_columns_not_enough_content(): function test_columns_higher_than_page (line 737) | def test_columns_higher_than_page(): function test_columns_empty (line 770) | def test_columns_empty(): function test_columns_fixed_height (line 790) | def test_columns_fixed_height(prop): function test_columns_padding (line 813) | def test_columns_padding(): function test_columns_bottom_margin (line 838) | def test_columns_bottom_margin(): function test_columns_relative (line 862) | def test_columns_relative(): function test_columns_regression_1 (line 891) | def test_columns_regression_1(): function test_columns_regression_2 (line 935) | def test_columns_regression_2(): function test_columns_regression_3 (line 976) | def test_columns_regression_3(): function test_columns_regression_4 (line 1006) | def test_columns_regression_4(): function test_columns_regression_5 (line 1026) | def test_columns_regression_5(): function test_columns_regression_6 (line 1047) | def test_columns_regression_6(): function test_columns_regression_7 (line 1058) | def test_columns_regression_7(): function test_columns_margin_top (line 1084) | def test_columns_margin_top(): function test_columns_grid (line 1104) | def test_columns_grid(): FILE: tests/layout/test_flex.py function test_flex_direction_row (line 9) | def test_flex_direction_row(): function test_flex_direction_row_max_width (line 30) | def test_flex_direction_row_max_width(): function test_flex_direction_row_min_height (line 43) | def test_flex_direction_row_min_height(): function test_flex_direction_row_rtl (line 56) | def test_flex_direction_row_rtl(): function test_flex_direction_row_rtl_gap (line 77) | def test_flex_direction_row_rtl_gap(): function test_flex_direction_row_reverse (line 99) | def test_flex_direction_row_reverse(): function test_flex_direction_row_reverse_rtl (line 120) | def test_flex_direction_row_reverse_rtl(): function test_flex_direction_column (line 142) | def test_flex_direction_column(): function test_flex_direction_column_min_width (line 163) | def test_flex_direction_column_min_width(): function test_flex_direction_column_max_height (line 176) | def test_flex_direction_column_max_height(): function test_flex_direction_column_rtl (line 201) | def test_flex_direction_column_rtl(): function test_flex_direction_column_reverse (line 223) | def test_flex_direction_column_reverse(): function test_flex_direction_column_reverse_rtl (line 244) | def test_flex_direction_column_reverse_rtl(): function test_flex_direction_column_box_sizing (line 266) | def test_flex_direction_column_box_sizing(): function test_flex_row_wrap (line 289) | def test_flex_row_wrap(): function test_flex_column_wrap (line 311) | def test_flex_column_wrap(): function test_flex_row_wrap_reverse (line 333) | def test_flex_row_wrap_reverse(): function test_flex_column_wrap_reverse (line 355) | def test_flex_column_wrap_reverse(): function test_flex_direction_column_fixed_height_container (line 378) | def test_flex_direction_column_fixed_height_container(): function test_flex_direction_column_fixed_height (line 404) | def test_flex_direction_column_fixed_height(): function test_flex_direction_column_fixed_height_wrap (line 427) | def test_flex_direction_column_fixed_height_wrap(): function test_flex_direction_column_break (line 450) | def test_flex_direction_column_break(): function test_flex_direction_column_break_margin (line 476) | def test_flex_direction_column_break_margin(): function test_flex_direction_column_break_border (line 507) | def test_flex_direction_column_break_border(): function test_flex_direction_column_break_multiple_children (line 543) | def test_flex_direction_column_break_multiple_children(): function test_flex_item_min_width (line 570) | def test_flex_item_min_width(): function test_flex_item_min_height (line 595) | def test_flex_item_min_height(): function test_flex_auto_margin (line 614) | def test_flex_auto_margin(): function test_flex_item_auto_margin_sized (line 622) | def test_flex_item_auto_margin_sized(): function test_flex_no_baseline (line 645) | def test_flex_no_baseline(): function test_flex_align_content (line 661) | def test_flex_align_content(align, height, y1, y2): function test_flex_item_percentage (line 698) | def test_flex_item_percentage(): function test_flex_undefined_percentage_height_multiple_lines (line 712) | def test_flex_undefined_percentage_height_multiple_lines(): function test_flex_absolute (line 722) | def test_flex_absolute(): function test_flex_percent_height (line 731) | def test_flex_percent_height(): function test_flex_percent_height_auto (line 749) | def test_flex_percent_height_auto(): function test_flex_break_inside_avoid (line 762) | def test_flex_break_inside_avoid(): function test_flex_absolute_content (line 784) | def test_flex_absolute_content(): function test_flex_column_height (line 802) | def test_flex_column_height(): function test_flex_column_height_margin (line 827) | def test_flex_column_height_margin(): function test_flex_column_width (line 847) | def test_flex_column_width(): function test_flex_column_in_flex_row (line 872) | def test_flex_column_in_flex_row(): function test_flex_overflow (line 890) | def test_flex_overflow(): function test_flex_column_overflow (line 917) | def test_flex_column_overflow(): function test_inline_flex (line 932) | def test_inline_flex(): function test_inline_flex_empty_child (line 944) | def test_inline_flex_empty_child(): function test_inline_flex_absolute_baseline (line 956) | def test_inline_flex_absolute_baseline(): function test_flex_item_overflow (line 968) | def test_flex_item_overflow(): function test_flex_item_child_bottom_margin (line 992) | def test_flex_item_child_bottom_margin(direction): function test_flex_direction_row_inline_block (line 1014) | def test_flex_direction_row_inline_block(): function test_flex_float (line 1031) | def test_flex_float(): function test_flex_float_in_flex_item (line 1045) | def test_flex_float_in_flex_item(): function test_flex_direction_row_defined_main (line 1066) | def test_flex_direction_row_defined_main(): function test_flex_direction_row_defined_main_border_box (line 1081) | def test_flex_direction_row_defined_main_border_box(): function test_flex_direction_column_defined_main (line 1096) | def test_flex_direction_column_defined_main(): function test_flex_direction_column_defined_main_border_box (line 1111) | def test_flex_direction_column_defined_main_border_box(): function test_flex_item_negative_margin (line 1126) | def test_flex_item_negative_margin(): function test_flex_item_auto_margin_main (line 1141) | def test_flex_item_auto_margin_main(): function test_flex_item_auto_margin_cross (line 1157) | def test_flex_item_auto_margin_cross(): function test_flex_direction_column_item_auto_margin (line 1173) | def test_flex_direction_column_item_auto_margin(): function test_flex_item_auto_margin_flex_basis (line 1189) | def test_flex_item_auto_margin_flex_basis(): function test_flex_direction_row_justify (line 1216) | def test_flex_direction_row_justify(align, x1, x2, x3): function test_flex_direction_column_justify (line 1252) | def test_flex_direction_column_justify(align, y1, y2, y3): function test_flex_direction_row_justify_gap (line 1288) | def test_flex_direction_row_justify_gap(align, x1, x2, x3): function test_flex_direction_column_justify_gap (line 1324) | def test_flex_direction_column_justify_gap(align, y1, y2, y3): function test_flex_direction_row_justify_gap_wrap (line 1360) | def test_flex_direction_row_justify_gap_wrap(align, x1, x2, x3): function test_flex_direction_column_justify_gap_wrap (line 1397) | def test_flex_direction_column_justify_gap_wrap(align, y1, y2, y3): function test_flex_direction_row_stretch_no_grow (line 1423) | def test_flex_direction_row_stretch_no_grow(): function test_flex_direction_row_stretch_grow (line 1447) | def test_flex_direction_row_stretch_grow(): function test_flex_direction_row_justify_margin_padding (line 1485) | def test_flex_direction_row_justify_margin_padding(align, x1, x2, x3): function test_flex_direction_column_justify_margin_padding (line 1525) | def test_flex_direction_column_justify_margin_padding(align, y1, y2, y3): function test_flex_item_table (line 1553) | def test_flex_item_table(): function test_flex_item_table_width (line 1571) | def test_flex_item_table_width(): function test_flex_width_on_parent (line 1589) | def test_flex_width_on_parent(): function test_flex_column_item_flex_1 (line 1604) | def test_flex_column_item_flex_1(): function test_flex_row_item_flex_0 (line 1618) | def test_flex_row_item_flex_0(): function test_flex_item_intrinsic_width (line 1636) | def test_flex_item_intrinsic_width(): function test_flex_align_content_negative (line 1653) | def test_flex_align_content_negative(): function test_flex_shrink (line 1676) | def test_flex_shrink(): function test_flex_item_intrinsic_width_shrink (line 1691) | def test_flex_item_intrinsic_width_shrink(): function test_flex_item_intrinsic_height_shrink (line 1707) | def test_flex_item_intrinsic_height_shrink(): function test_flex_wrap_in_flex (line 1723) | def test_flex_wrap_in_flex(): function test_flex_auto_break_before (line 1743) | def test_flex_auto_break_before(): function test_flex_grow_in_flex_column (line 1765) | def test_flex_grow_in_flex_column(): function test_flex_collapsing_margin (line 1784) | def test_flex_collapsing_margin(): function test_flex_direction_column_next_page (line 1802) | def test_flex_direction_column_next_page(): function test_flex_1_item_padding (line 1833) | def test_flex_1_item_padding(): function test_flex_1_item_padding_direction_column (line 1848) | def test_flex_1_item_padding_direction_column(): function test_flex_item_replaced (line 1864) | def test_flex_item_replaced(): function test_flex_nested_column (line 1880) | def test_flex_nested_column(): function test_flex_blockify_image (line 1900) | def test_flex_blockify_image(): function test_flex_image_max_width (line 1914) | def test_flex_image_max_width(): function test_flex_image_max_height (line 1928) | def test_flex_image_max_height(): function test_flex_image_min_width (line 1942) | def test_flex_image_min_width(): function test_flex_image_justify_content (line 1957) | def test_flex_image_justify_content(): function test_flex_root_formatting_context (line 1973) | def test_flex_root_formatting_context(): function test_flex_height_page_overflow (line 1988) | def test_flex_height_page_overflow(): function test_flex_break_after_page (line 2006) | def test_flex_break_after_page(): FILE: tests/layout/test_float.py function outer_area (line 10) | def outer_area(box): function test_floats_1 (line 17) | def test_floats_1(): function test_floats_2 (line 34) | def test_floats_2(): function test_floats_3 (line 62) | def test_floats_3(): function test_floats_4 (line 92) | def test_floats_4(): function test_floats_5 (line 114) | def test_floats_5(): function test_floats_6 (line 136) | def test_floats_6(): function test_floats_7 (line 163) | def test_floats_7(): function test_floats_8 (line 186) | def test_floats_8(): function test_floats_9 (line 215) | def test_floats_9(): function test_floats_page_breaks_1 (line 221) | def test_floats_page_breaks_1(): function test_floats_page_breaks_2 (line 248) | def test_floats_page_breaks_2(): function test_floats_page_breaks_3 (line 275) | def test_floats_page_breaks_3(): function test_preferred_widths_1 (line 306) | def test_preferred_widths_1(): function test_preferred_widths_2 (line 327) | def test_preferred_widths_2(): function test_preferred_widths_3 (line 342) | def test_preferred_widths_3(): function test_preferred_widths_4 (line 356) | def test_preferred_widths_4(): function test_preferred_widths_5 (line 369) | def test_preferred_widths_5(): function test_float_in_inline_1 (line 383) | def test_float_in_inline_1(): function test_float_in_inline_2 (line 427) | def test_float_in_inline_2(): function test_float_in_inline_3 (line 462) | def test_float_in_inline_3(): function test_float_in_inline_4 (line 496) | def test_float_in_inline_4(): function test_float_next_line (line 532) | def test_float_next_line(): function test_float_text_indent_1 (line 564) | def test_float_text_indent_1(): function test_float_text_indent_2 (line 598) | def test_float_text_indent_2(): function test_float_text_indent_3 (line 639) | def test_float_text_indent_3(): function test_float_previous_break (line 685) | def test_float_previous_break(): function test_float_fail (line 731) | def test_float_fail(): function test_float_table_aborted_row (line 757) | def test_float_table_aborted_row(): function test_formatting_context_avoid_rtl (line 802) | def test_formatting_context_avoid_rtl(): function test_nested_right_float (line 811) | def test_nested_right_float(): function test_first_letter_float (line 827) | def test_first_letter_float(): FILE: tests/layout/test_footnotes.py function test_inline_footnote (line 9) | def test_inline_footnote(): function test_block_footnote (line 41) | def test_block_footnote(): function test_long_footnote (line 72) | def test_long_footnote(): function test_after_marker_footnote (line 107) | def test_after_marker_footnote(): function test_several_footnote (line 139) | def test_several_footnote(): function test_reported_footnote_1 (line 183) | def test_reported_footnote_1(): function test_reported_footnote_2 (line 224) | def test_reported_footnote_2(): function test_reported_footnote_3 (line 267) | def test_reported_footnote_3(): function test_reported_sequential_footnote (line 312) | def test_reported_sequential_footnote(): function test_reported_sequential_footnote_second_line (line 338) | def test_reported_sequential_footnote_second_line(): function test_footnote_report_orphans (line 364) | def test_footnote_report_orphans(): function test_footnote_area_after_call (line 415) | def test_footnote_area_after_call(css, tail): function test_footnote_display_inline (line 446) | def test_footnote_display_inline(): function test_footnote_longer_than_space_left (line 483) | def test_footnote_longer_than_space_left(): function test_footnote_longer_than_page (line 520) | def test_footnote_longer_than_page(): function test_footnote_policy_line (line 561) | def test_footnote_policy_line(): function test_footnote_policy_block (line 602) | def test_footnote_policy_block(): function test_footnote_repagination (line 641) | def test_footnote_repagination(): function test_reported_footnote_repagination (line 677) | def test_reported_footnote_repagination(): function test_footnote_max_height (line 723) | def test_footnote_max_height(): function test_footnote_table_aborted_row (line 777) | def test_footnote_table_aborted_row(): function test_footnote_table_aborted_group (line 820) | def test_footnote_table_aborted_group(): function test_footnote_bottom_margin (line 873) | def test_footnote_bottom_margin(): function test_footnotes_column_converge_end (line 906) | def test_footnotes_column_converge_end(): function test_footnotes_column_converge (line 948) | def test_footnotes_column_converge(): FILE: tests/layout/test_grid.py function test_grid_empty (line 11) | def test_grid_empty(): function test_grid_single_item (line 26) | def test_grid_single_item(): function test_grid_single_auto_width (line 42) | def test_grid_single_auto_width(): function test_grid_single_percentage_width (line 60) | def test_grid_single_percentage_width(): function test_grid_rows (line 76) | def test_grid_rows(): function test_grid_template_fr (line 95) | def test_grid_template_fr(): function test_grid_template_areas (line 126) | def test_grid_template_areas(): function test_grid_template_areas_grid_area (line 157) | def test_grid_template_areas_grid_area(): function test_grid_template_areas_empty_row (line 188) | def test_grid_template_areas_empty_row(): function test_grid_template_areas_multiple_rows (line 219) | def test_grid_template_areas_multiple_rows(): function test_grid_template_areas_multiple_columns (line 252) | def test_grid_template_areas_multiple_columns(): function test_grid_template_areas_overlap (line 285) | def test_grid_template_areas_overlap(): function test_grid_template_big_span (line 315) | def test_grid_template_big_span(): function test_grid_template_multiple_big_span (line 348) | def test_grid_template_multiple_big_span(): function test_grid_template_areas_span_overflow (line 389) | def test_grid_template_areas_span_overflow(): function test_grid_template_areas_extra_span (line 422) | def test_grid_template_areas_extra_span(): function test_grid_template_areas_extra_span_dense (line 460) | def test_grid_template_areas_extra_span_dense(): function test_grid_area_multiple_values (line 500) | def test_grid_area_multiple_values(): function test_grid_template_repeat_fr (line 534) | def test_grid_template_repeat_fr(): function test_grid_template_shorthand_fr (line 576) | def test_grid_template_shorthand_fr(): function test_grid_shorthand_auto_flow_rows_fr_size (line 613) | def test_grid_shorthand_auto_flow_rows_fr_size(): function test_grid_template_fr_too_large (line 645) | def test_grid_template_fr_too_large(): function test_grid_shorthand_auto_flow_columns_none_dense (line 674) | def test_grid_shorthand_auto_flow_columns_none_dense(): function test_grid_template_fr_undefined_free_space (line 706) | def test_grid_template_fr_undefined_free_space(): function test_grid_column_start (line 738) | def test_grid_column_start(): function test_grid_column_start_blockified (line 781) | def test_grid_column_start_blockified(): function test_grid_undefined_free_space (line 824) | def test_grid_undefined_free_space(): function test_grid_padding (line 869) | def test_grid_padding(): function test_grid_border (line 911) | def test_grid_border(): function test_grid_border_box (line 953) | def test_grid_border_box(): function test_grid_item_border_box (line 997) | def test_grid_item_border_box(): function test_grid_border_split (line 1019) | def test_grid_border_split(): function test_grid_margin (line 1056) | def test_grid_margin(): function test_grid_item_margin (line 1098) | def test_grid_item_margin(): function test_grid_auto_flow_column (line 1118) | def test_grid_auto_flow_column(): function test_grid_template_areas_extra_span_column_dense (line 1137) | def test_grid_template_areas_extra_span_column_dense(): function test_grid_gap_explicit_grid_column (line 1184) | def test_grid_gap_explicit_grid_column(): function test_grid_break (line 1215) | def test_grid_break(): function test_grid_break_order_negative (line 1276) | def test_grid_break_order_negative(): function test_grid_break_order_positive (line 1337) | def test_grid_break_order_positive(): function test_grid_break_border (line 1404) | def test_grid_break_border(): function test_grid_break_multiple (line 1484) | def test_grid_break_multiple(): function test_grid_break_span (line 1566) | def test_grid_break_span(): function test_grid_break_item_avoid (line 1649) | def test_grid_break_item_avoid(): function test_grid_break_item_avoid_auto (line 1699) | def test_grid_break_item_avoid_auto(): function test_grid_break_container (line 1749) | def test_grid_break_container(): function test_grid_bottom_page (line 1777) | def test_grid_bottom_page(): function test_grid_in_grid (line 1800) | def test_grid_in_grid(): function test_grid_in_flex_after_full_height (line 1844) | def test_grid_in_flex_after_full_height(): function test_grid_in_columns (line 1871) | def test_grid_in_columns(): function test_grid_in_columns_with_break (line 1909) | def test_grid_in_columns_with_break(): FILE: tests/layout/test_image.py function get_img (line 10) | def get_img(html): function test_images_1 (line 40) | def test_images_1(html): function test_images_2 (line 47) | def test_images_2(): function test_images_3 (line 71) | def test_images_3(url): function test_images_4 (line 102) | def test_images_4(url): function test_images_5 (line 108) | def test_images_5(): function test_images_6 (line 117) | def test_images_6(): function test_images_7 (line 128) | def test_images_7(): function test_images_8 (line 138) | def test_images_8(): function test_images_9 (line 149) | def test_images_9(): function test_images_10 (line 159) | def test_images_10(): function test_images_11 (line 166) | def test_images_11(): function test_images_12 (line 186) | def test_images_12(): function test_images_13 (line 209) | def test_images_13(): function test_images_14 (line 231) | def test_images_14(): function test_images_15 (line 253) | def test_images_15(): function test_images_16 (line 276) | def test_images_16(): function test_images_17 (line 295) | def test_images_17(): function test_images_18 (line 315) | def test_images_18(): function test_images_19 (line 332) | def test_images_19(html, children): function test_linear_gradient (line 340) | def test_linear_gradient(): function test_radial_gradient (line 401) | def test_radial_gradient(): function test_image_min_max_width (line 534) | def test_image_min_max_width(props, div_width): function test_svg_no_size_width (line 557) | def test_svg_no_size_width(css, width): function test_svg_no_size_min_width (line 578) | def test_svg_no_size_min_width(css, width): FILE: tests/layout/test_inline.py function test_empty_linebox (line 11) | def test_empty_linebox(): function test_empty_linebox_removed_space (line 22) | def test_empty_linebox_removed_space(): function test_breaking_linebox (line 39) | def test_breaking_linebox(): function test_position_x_ltr (line 72) | def test_position_x_ltr(): function test_position_x_rtl (line 100) | def test_position_x_rtl(): function test_breaking_linebox_regression_1 (line 132) | def test_breaking_linebox_regression_1(): function test_breaking_linebox_regression_2 (line 147) | def test_breaking_linebox_regression_2(): function test_breaking_linebox_regression_3 (line 225) | def test_breaking_linebox_regression_3(): function test_breaking_linebox_regression_4 (line 243) | def test_breaking_linebox_regression_4(): function test_breaking_linebox_regression_5 (line 260) | def test_breaking_linebox_regression_5(): function test_breaking_linebox_regression_6 (line 277) | def test_breaking_linebox_regression_6(): function test_breaking_linebox_regression_7 (line 291) | def test_breaking_linebox_regression_7(): function test_breaking_linebox_regression_8 (line 307) | def test_breaking_linebox_regression_8(): function test_breaking_linebox_regression_9 (line 326) | def test_breaking_linebox_regression_9(): function test_breaking_linebox_regression_10 (line 345) | def test_breaking_linebox_regression_10(): function test_breaking_linebox_regression_11 (line 365) | def test_breaking_linebox_regression_11(): function test_breaking_linebox_regression_12 (line 382) | def test_breaking_linebox_regression_12(): function test_breaking_linebox_regression_13 (line 398) | def test_breaking_linebox_regression_13(): function test_breaking_linebox_regression_14 (line 415) | def test_breaking_linebox_regression_14(): function test_breaking_linebox_regression_15 (line 431) | def test_breaking_linebox_regression_15(): function test_breaking_linebox_regression_16 (line 458) | def test_breaking_linebox_regression_16(): function test_linebox_text (line 488) | def test_linebox_text(): function test_linebox_positions (line 509) | def test_linebox_positions(): function test_forced_line_breaks_pre (line 539) | def test_forced_line_breaks_pre(): function test_forced_line_breaks_paragraph (line 563) | def test_forced_line_breaks_paragraph(): function test_inlinebox_splitting (line 584) | def test_inlinebox_splitting(): function test_whitespace_processing (line 612) | def test_whitespace_processing(): function test_inline_replaced_auto_margins (line 636) | def test_inline_replaced_auto_margins(): function test_empty_inline_auto_margins (line 654) | def test_empty_inline_auto_margins(): function test_font_stretch (line 672) | def test_font_stretch(): function test_line_count (line 697) | def test_line_count(source, lines_count): function test_vertical_align_1 (line 706) | def test_vertical_align_1(): function test_vertical_align_2 (line 732) | def test_vertical_align_2(): function test_vertical_align_3 (line 757) | def test_vertical_align_3(): function test_vertical_align_4 (line 777) | def test_vertical_align_4(): function test_vertical_align_5 (line 799) | def test_vertical_align_5(): function test_vertical_align_6 (line 822) | def test_vertical_align_6(): function test_vertical_align_7 (line 847) | def test_vertical_align_7(): function test_vertical_align_8 (line 868) | def test_vertical_align_8(): function test_vertical_align_9 (line 889) | def test_vertical_align_9(): function test_vertical_align_10 (line 933) | def test_vertical_align_10(): function test_vertical_align_11 (line 969) | def test_vertical_align_11(): function test_vertical_align_12 (line 986) | def test_vertical_align_12(): function test_vertical_align_13 (line 1002) | def test_vertical_align_13(): function test_box_decoration_break_inline_slice (line 1019) | def test_box_decoration_break_inline_slice(): function test_box_decoration_break_inline_clone (line 1049) | def test_box_decoration_break_inline_clone(): function test_bidi_position_x_invariant (line 1080) | def test_bidi_position_x_invariant(): function test_nested_waiting_children_width (line 1108) | def test_nested_waiting_children_width(): FILE: tests/layout/test_inline_block.py function test_inline_block_sizes (line 7) | def test_inline_block_sizes(): function test_inline_block_with_margin (line 106) | def test_inline_block_with_margin(): FILE: tests/layout/test_list.py function test_lists_style (line 15) | def test_lists_style(inside, style, character): function test_lists_empty_item (line 45) | def test_lists_empty_item(): function test_lists_whitespace_item (line 62) | def test_lists_whitespace_item(): function test_lists_page_break (line 78) | def test_lists_page_break(): function test_lists_page_break_margin (line 107) | def test_lists_page_break_margin(): FILE: tests/layout/test_logical.py function test_logical (line 93) | def test_logical(assert_same_renderings, documents): FILE: tests/layout/test_page.py function test_page_size_basic (line 21) | def test_page_size_basic(size, width, height): function test_page_size_with_margin (line 29) | def test_page_size_with_margin(): function test_page_size_with_margin_border_padding (line 67) | def test_page_size_with_margin_border_padding(): function test_page_size_margins (line 85) | def test_page_size_margins(margin, top, right, bottom, left): function test_page_size_over_constrained (line 105) | def test_page_size_over_constrained(style, width, height): function test_page_breaks (line 117) | def test_page_breaks(html): function test_page_breaks_box_split (line 140) | def test_page_breaks_box_split(): function test_page_breaks_complex_1 (line 174) | def test_page_breaks_complex_1(): function test_page_breaks_complex_2 (line 230) | def test_page_breaks_complex_2(): function test_page_breaks_complex_3 (line 261) | def test_page_breaks_complex_3(): function test_page_breaks_complex_4 (line 294) | def test_page_breaks_complex_4(): function test_page_breaks_complex_5 (line 328) | def test_page_breaks_complex_5(): function test_page_breaks_complex_6 (line 361) | def test_page_breaks_complex_6(): function test_page_breaks_complex_7 (line 401) | def test_page_breaks_complex_7(): function test_page_breaks_complex_8 (line 416) | def test_page_breaks_complex_8(): function test_page_breaks_complex_9 (line 452) | def test_page_breaks_complex_9(): function test_margin_break (line 497) | def test_margin_break(break_after, margin_break, margin_top): function test_margin_break_clearance (line 526) | def test_margin_break_clearance(): function test_recto_verso_break (line 568) | def test_recto_verso_break(direction, page_break, pages_number): function test_recto_verso_break_root (line 591) | def test_recto_verso_break_root(direction, page_break, first_page): function test_page_names_1 (line 604) | def test_page_names_1(): function test_page_names_2 (line 619) | def test_page_names_2(): function test_page_names_3 (line 635) | def test_page_names_3(): function test_page_names_4 (line 668) | def test_page_names_4(): function test_page_names_5 (line 697) | def test_page_names_5(): function test_page_names_6 (line 725) | def test_page_names_6(): function test_page_names_7 (line 761) | def test_page_names_7(): function test_page_names_8 (line 794) | def test_page_names_8(): function test_page_names_9 (line 826) | def test_page_names_9(): function test_page_names_10 (line 859) | def test_page_names_10(): function test_page_groups (line 895) | def test_page_groups(): function test_page_groups_blank_inside (line 973) | def test_page_groups_blank_inside(): function test_page_groups_blank_outside (line 993) | def test_page_groups_blank_outside(): function test_page_groups_first_nth (line 1012) | def test_page_groups_first_nth(): function test_page_groups_counters (line 1040) | def test_page_groups_counters(): function test_orphans_widows_avoid (line 1114) | def test_orphans_widows_avoid(style, line_counts): function test_page_and_linebox_breaking (line 1137) | def test_page_and_linebox_breaking(): function test_margin_boxes_fixed_dimension_1 (line 1164) | def test_margin_boxes_fixed_dimension_1(): function test_margin_boxes_fixed_dimension_2 (line 1225) | def test_margin_boxes_fixed_dimension_2(): function test_margin_boxes_fixed_dimension_3 (line 1249) | def test_margin_boxes_fixed_dimension_3(): function test_margin_boxes_fixed_dimension_4 (line 1267) | def test_margin_boxes_fixed_dimension_4(): function test_margin_boxes_fixed_dimension_5 (line 1290) | def test_margin_boxes_fixed_dimension_5(): function test_margin_boxes_fixed_dimension_6 (line 1313) | def test_margin_boxes_fixed_dimension_6(): function test_margin_boxes_fixed_dimension_7 (line 1331) | def test_margin_boxes_fixed_dimension_7(): function test_margin_boxes_fixed_dimension_8 (line 1349) | def test_margin_boxes_fixed_dimension_8(): function test_margin_boxes_fixed_dimension_9 (line 1367) | def test_margin_boxes_fixed_dimension_9(): function images (line 1384) | def images(*widths): function test_page_style (line 1472) | def test_page_style(css, widths): function test_margin_boxes_vertical_align (line 1499) | def test_margin_boxes_vertical_align(): function test_margin_boxes_element (line 1542) | def test_margin_boxes_element(): function test_margin_boxes_running_element (line 1583) | def test_margin_boxes_running_element(): function test_running_elements (line 1647) | def test_running_elements(argument, texts): function test_running_elements_display (line 1689) | def test_running_elements_display(): function test_running_img (line 1718) | def test_running_img(): function test_running_absolute (line 1736) | def test_running_absolute(): function test_running_flex (line 1757) | def test_running_flex(): function test_running_float (line 1778) | def test_running_float(): FILE: tests/layout/test_position.py function test_relative_positioning_1 (line 9) | def test_relative_positioning_1(): function test_relative_positioning_2 (line 42) | def test_relative_positioning_2(): function test_relative_positioning_3 (line 83) | def test_relative_positioning_3(): function test_relative_positioning_4 (line 103) | def test_relative_positioning_4(): function test_absolute_positioning_1 (line 124) | def test_absolute_positioning_1(): function test_absolute_positioning_2 (line 149) | def test_absolute_positioning_2(): function test_absolute_positioning_3 (line 166) | def test_absolute_positioning_3(): function test_absolute_positioning_4 (line 188) | def test_absolute_positioning_4(): function test_absolute_positioning_5 (line 206) | def test_absolute_positioning_5(): function test_absolute_positioning_6 (line 224) | def test_absolute_positioning_6(): function test_absolute_positioning_7 (line 248) | def test_absolute_positioning_7(): function test_absolute_positioning_8 (line 311) | def test_absolute_positioning_8(): function test_absolute_images (line 329) | def test_absolute_images(): function test_fixed_positioning (line 361) | def test_fixed_positioning(): function test_fixed_positioning_regression_1 (line 381) | def test_fixed_positioning_regression_1(): function test_fixed_positioning_regression_2 (line 418) | def test_fixed_positioning_regression_2(): function test_flex_relative_positioning (line 453) | def test_flex_relative_positioning(): function test_grid_relative_positioning (line 475) | def test_grid_relative_positioning(): function test_flex_absolute_positioning (line 498) | def test_flex_absolute_positioning(): function test_grid_absolute_positioning (line 523) | def test_grid_absolute_positioning(): FILE: tests/layout/test_preferred.py function test_shrink_to_fit_floating_point_error_1 (line 11) | def test_shrink_to_fit_floating_point_error_1(margin_left, font_size): function test_shrink_to_fit_floating_point_error_2 (line 29) | def test_shrink_to_fit_floating_point_error_2(font_size): function test_preferred_inline_zero_width_inline_block (line 54) | def test_preferred_inline_zero_width_inline_block(): function test_preferred_inline_nested_trailing_spaces (line 69) | def test_preferred_inline_nested_trailing_spaces(): function test_preferred_inline_trailing_space_in_nested (line 84) | def test_preferred_inline_trailing_space_in_nested(): FILE: tests/layout/test_table.py function _get_grid (line 11) | def _get_grid(html, grid_width, grid_height): function test_inline_table (line 25) | def test_inline_table(): function test_inline_table_width (line 55) | def test_inline_table_width(): function test_implicit_width_table_col_percent (line 72) | def test_implicit_width_table_col_percent(): function test_implicit_width_table_td_percent (line 94) | def test_implicit_width_table_td_percent(): function test_layout_table_fixed_1 (line 113) | def test_layout_table_fixed_1(): function test_layout_table_fixed_2 (line 142) | def test_layout_table_fixed_2(): function test_layout_table_fixed_3 (line 169) | def test_layout_table_fixed_3(): function test_layout_table_fixed_4 (line 205) | def test_layout_table_fixed_4(): function test_layout_table_fixed_5 (line 236) | def test_layout_table_fixed_5(): function test_layout_table_auto_1 (line 279) | def test_layout_table_auto_1(): function test_layout_table_auto_2 (line 309) | def test_layout_table_auto_2(): function test_layout_table_auto_3 (line 338) | def test_layout_table_auto_3(): function test_layout_table_auto_4 (line 373) | def test_layout_table_auto_4(): function test_layout_table_auto_5 (line 408) | def test_layout_table_auto_5(): function test_layout_table_auto_6 (line 433) | def test_layout_table_auto_6(): function test_layout_table_auto_7 (line 473) | def test_layout_table_auto_7(): function test_layout_table_auto_8 (line 502) | def test_layout_table_auto_8(): function test_layout_table_auto_9 (line 529) | def test_layout_table_auto_9(): function test_layout_table_auto_10 (line 564) | def test_layout_table_auto_10(): function test_layout_table_auto_11 (line 594) | def test_layout_table_auto_11(): function test_layout_table_auto_12 (line 636) | def test_layout_table_auto_12(): function test_layout_table_auto_13 (line 678) | def test_layout_table_auto_13(): function test_layout_table_auto_14 (line 701) | def test_layout_table_auto_14(): function test_layout_table_auto_15 (line 723) | def test_layout_table_auto_15(): function test_layout_table_auto_16 (line 741) | def test_layout_table_auto_16(): function test_layout_table_auto_17 (line 764) | def test_layout_table_auto_17(): function test_layout_table_auto_18 (line 806) | def test_layout_table_auto_18(): function test_layout_table_auto_19 (line 835) | def test_layout_table_auto_19(): function test_layout_table_auto_20 (line 867) | def test_layout_table_auto_20(): function test_layout_table_auto_21 (line 899) | def test_layout_table_auto_21(): function test_layout_table_auto_22 (line 936) | def test_layout_table_auto_22(): function test_layout_table_auto_23 (line 973) | def test_layout_table_auto_23(): function test_layout_table_auto_24 (line 1002) | def test_layout_table_auto_24(): function test_layout_table_auto_25 (line 1031) | def test_layout_table_auto_25(): function test_layout_table_auto_26 (line 1063) | def test_layout_table_auto_26(): function test_layout_table_auto_27 (line 1074) | def test_layout_table_auto_27(): function test_layout_table_auto_28 (line 1084) | def test_layout_table_auto_28(): function test_layout_table_auto_29 (line 1094) | def test_layout_table_auto_29(): function test_layout_table_auto_30 (line 1106) | def test_layout_table_auto_30(): function test_layout_table_auto_31 (line 1116) | def test_layout_table_auto_31(): function test_layout_table_auto_32 (line 1126) | def test_layout_table_auto_32(): function test_layout_table_auto_33 (line 1140) | def test_layout_table_auto_33(): function test_layout_table_auto_34 (line 1158) | def test_layout_table_auto_34(): function test_layout_table_auto_35 (line 1174) | def test_layout_table_auto_35(): function test_layout_table_auto_36 (line 1193) | def test_layout_table_auto_36(): function test_layout_table_auto_37 (line 1203) | def test_layout_table_auto_37(): function test_layout_table_auto_38 (line 1225) | def test_layout_table_auto_38(): function test_layout_table_auto_39 (line 1245) | def test_layout_table_auto_39(): function test_layout_table_auto_40 (line 1263) | def test_layout_table_auto_40(): function test_layout_table_auto_41 (line 1280) | def test_layout_table_auto_41(): function test_layout_table_auto_42 (line 1308) | def test_layout_table_auto_42(): function test_layout_table_auto_43 (line 1333) | def test_layout_table_auto_43(): function test_layout_table_auto_44 (line 1363) | def test_layout_table_auto_44(): function test_layout_table_auto_45 (line 1397) | def test_layout_table_auto_45(): function test_layout_table_auto_46 (line 1440) | def test_layout_table_auto_46(): function test_layout_table_auto_47 (line 1464) | def test_layout_table_auto_47(): function test_layout_table_auto_48 (line 1484) | def test_layout_table_auto_48(): function test_layout_table_auto_49 (line 1506) | def test_layout_table_auto_49(): function test_layout_table_auto_50 (line 1527) | def test_layout_table_auto_50(): function test_layout_table_auto_51 (line 1550) | def test_layout_table_auto_51(): function test_layout_table_auto_52 (line 1572) | def test_layout_table_auto_52(): function test_explicit_width_table_percent_rtl (line 1614) | def test_explicit_width_table_percent_rtl(body_width, table_width, check... function test_table_column_width_1 (line 1652) | def test_table_column_width_1(): function test_table_column_width_2 (line 1751) | def test_table_column_width_2(): function test_table_column_width_3 (line 1777) | def test_table_column_width_3(): function test_table_row_height_1 (line 1805) | def test_table_row_height_1(): function test_table_row_height_2 (line 1888) | def test_table_row_height_2(): function test_table_row_height_3 (line 1909) | def test_table_row_height_3(): function test_table_row_height_4 (line 1931) | def test_table_row_height_4(): function test_table_vertical_align (line 1949) | def test_table_vertical_align(assert_pixels): function test_table_vertical_align_float (line 2013) | def test_table_vertical_align_float(): function test_table_wrapper (line 2114) | def test_table_wrapper(): function test_table_html_tag (line 2141) | def test_table_html_tag(): function test_table_page_breaks (line 2286) | def test_table_page_breaks(html, rows, positions): function test_table_page_breaks_in_cell (line 2316) | def test_table_page_breaks_in_cell(): function test_table_page_breaks_complex_1 (line 2349) | def test_table_page_breaks_complex_1(): function test_table_page_breaks_complex_2 (line 2403) | def test_table_page_breaks_complex_2(): function test_table_page_break_after (line 2464) | def test_table_page_break_after(): function test_table_page_break_before (line 2544) | def test_table_page_break_before(): function test_table_page_break_avoid (line 2825) | def test_table_page_break_avoid(html, rows): function test_table_page_break_avoid_before_table (line 2848) | def test_table_page_break_avoid_before_table(): function test_table_page_break_avoid_before_tbody (line 2882) | def test_table_page_break_avoid_before_tbody(): function test_inline_table_baseline (line 2921) | def test_inline_table_baseline(vertical_align, table_position_y): function test_table_caption_margin_top (line 2957) | def test_table_caption_margin_top(): function test_table_caption_margin_bottom (line 2986) | def test_table_caption_margin_bottom(): function test_table_empty_body (line 3034) | def test_table_empty_body(rows_expected, thead, tfoot, content): function test_table_group_break_inside_avoid_absolute (line 3068) | def test_table_group_break_inside_avoid_absolute(): function test_table_row_break_inside_avoid_absolute (line 3099) | def test_table_row_break_inside_avoid_absolute(): function test_table_break_inside_avoid_absolute (line 3132) | def test_table_break_inside_avoid_absolute(): function test_table_break_children_margin (line 3162) | def test_table_break_children_margin(): function test_table_td_break_inside_avoid (line 3178) | def test_table_td_break_inside_avoid(): function test_table_bad_int_td_th_span (line 3197) | def test_table_bad_int_td_th_span(): function test_table_bad_int_col_span (line 3223) | def test_table_bad_int_col_span(): function test_table_bad_int_colgroup_span (line 3246) | def test_table_bad_int_colgroup_span(): function test_table_different_display (line 3269) | def test_table_different_display(): function test_min_width_with_overflow (line 3311) | def test_min_width_with_overflow(): function test_table_cell_max_width (line 3369) | def test_table_cell_max_width(): function test_border_collapse_1 (line 3409) | def test_border_collapse_1(): function test_border_collapse_2 (line 3422) | def test_border_collapse_2(): function test_border_collapse_3 (line 3442) | def test_border_collapse_3(): function test_border_collapse_4 (line 3463) | def test_border_collapse_4(): function test_border_collapse_5 (line 3491) | def test_border_collapse_5(): function test_table_zero_width (line 3513) | def test_table_zero_width(): function test_table_inline_atomic_nowrap (line 3531) | def test_table_inline_atomic_nowrap(): FILE: tests/test_acid2.py function test_acid2 (line 13) | def test_acid2(assert_pixels_equal): FILE: tests/test_api.py class chdir (line 37) | class chdir(AbstractContextManager): # noqa: N801 method __init__ (line 38) | def __init__(self, path): method __enter__ (line 42) | def __enter__(self): method __exit__ (line 46) | def __exit__(self, *excinfo): function _test_resource (line 50) | def _test_resource(class_, name, check, **kwargs): function _check_doc1 (line 89) | def _check_doc1(html, has_base_url=True): function _run (line 106) | def _run(args, stdin=b''): function _gzip_compress (line 114) | def _gzip_compress(data): function http_server (line 123) | def http_server(): class FakeFile (line 172) | class FakeFile: method __init__ (line 173) | def __init__(self): method write (line 176) | def write(self, data): method getvalue (line 179) | def getvalue(self): function _png_size (line 183) | def _png_size(png_bytes): function _round_meta (line 188) | def _round_meta(pages): function test_html_parsing (line 213) | def test_html_parsing(): function test_css_parsing (line 233) | def test_css_parsing(): function check_png_pattern (line 251) | def check_png_pattern(assert_pixels_equal, png_bytes, x2=False, blank=Fa... function test_python_render (line 311) | def test_python_render(assert_pixels_equal, tmp_path): function test_unknown_options (line 373) | def test_unknown_options(): function test_command_line_render (line 382) | def test_command_line_render(tmp_path): function test_pdfa (line 524) | def test_pdfa(version, pdf_version): function test_pdfa_compressed (line 538) | def test_pdfa_compressed(version, pdf_version): function test_pdfa1b_cidset (line 543) | def test_pdfa1b_cidset(): function test_pdfua (line 554) | def test_pdfua(version, pdf_version): function test_pdfua_compressed (line 566) | def test_pdfua_compressed(version, pdf_version): function test_pdf_tags (line 572) | def test_pdf_tags(): function test_pdf_identifier (line 579) | def test_pdf_identifier(): function test_pdf_version (line 585) | def test_pdf_version(): function test_pdf_custom_metadata (line 591) | def test_pdf_custom_metadata(): function test_bad_pdf_custom_metadata (line 600) | def test_bad_pdf_custom_metadata(): function test_partial_pdf_custom_metadata (line 608) | def test_partial_pdf_custom_metadata(): function test_pdf_srgb (line 617) | def test_pdf_srgb(): function test_pdf_no_srgb (line 623) | def test_pdf_no_srgb(): function test_pdf_font_name (line 629) | def test_pdf_font_name(): function test_to_unicode (line 636) | def test_to_unicode(): function test_to_unicode_rtl (line 646) | def test_to_unicode_rtl(): function test_no_redirect (line 656) | def test_no_redirect(): function test_fail_on_error (line 672) | def test_fail_on_error(): function test_no_redirect_fail_on_error (line 685) | def test_no_redirect_fail_on_error(): function test_allowed_protocols (line 706) | def test_allowed_protocols(command): function test_allowed_protocols_data (line 716) | def test_allowed_protocols_data(command): function test_disallowed_protocols (line 727) | def test_disallowed_protocols(command): function test_redirect_loop (line 735) | def test_redirect_loop(): function test_pdf_inputs (line 764) | def test_pdf_inputs(html, fields): function test_appearance (line 778) | def test_appearance(css, with_forms, without_forms): function test_appearance_non_input (line 786) | def test_appearance_non_input(): function test_reproducible (line 791) | def test_reproducible(): function test_unicode_filenames (line 800) | def test_unicode_filenames(assert_pixels_equal, tmp_path): function test_low_level_api (line 833) | def test_low_level_api(assert_pixels_equal): function test_assert_bookmarks (line 1034) | def test_assert_bookmarks(html, expected_by_page, expected_tree, round): function simplify_links (line 1042) | def simplify_links(links): function assert_links (line 1048) | def assert_links(html, links, anchors, resolved_links, function test_links_1 (line 1069) | def test_links_1(): function test_links_2 (line 1113) | def test_links_2(): function test_links_3 (line 1126) | def test_links_3(): function test_links_4 (line 1140) | def test_links_4(): function test_links_5 (line 1152) | def test_links_5(): function test_links_6 (line 1165) | def test_links_6(): function test_links_7 (line 1184) | def test_links_7(): function test_links_8 (line 1198) | def test_links_8(): function test_links_9 (line 1216) | def test_links_9(): function test_links_10 (line 1230) | def test_links_10(): function test_links_11 (line 1243) | def test_links_11(): function test_links_12 (line 1254) | def test_links_12(): function test_deprecated_url_fetcher (line 1274) | def test_deprecated_url_fetcher(assert_pixels_equal): class Fetcher (line 1337) | class Fetcher(URLFetcher): method fetch (line 1338) | def fetch(self, url, headers=None): function test_url_fetcher (line 1375) | def test_url_fetcher(html, assert_pixels_equal): function test_url_fetcher_default (line 1383) | def test_url_fetcher_default(assert_pixels_equal): function test_url_fetcher_bad_image (line 1392) | def test_url_fetcher_bad_image(assert_pixels_equal): function test_url_fetcher_bad_stylesheet (line 1404) | def test_url_fetcher_bad_stylesheet(assert_pixels_equal): function test_url_fetcher_non_fatal_error (line 1415) | def test_url_fetcher_non_fatal_error(assert_pixels_equal): function test_url_fetcher_fatal_error (line 1424) | def test_url_fetcher_fatal_error(assert_pixels_equal): function test_url_fetcher_default_fail_on_errors (line 1431) | def test_url_fetcher_default_fail_on_errors(assert_pixels_equal): function assert_meta (line 1439) | def assert_meta(html, **meta): function test_html_meta_1 (line 1455) | def test_html_meta_1(): function test_html_meta_2 (line 1460) | def test_html_meta_2(): function test_html_meta_3 (line 1497) | def test_html_meta_3(): function test_html_meta_4 (line 1511) | def test_html_meta_4(): function test_http (line 1526) | def test_http(): function test_page_copy_relative (line 1569) | def test_page_copy_relative(): FILE: tests/test_boxes.py function test_box_tree (line 15) | def test_box_tree(): function test_html_entities (line 33) | def test_html_entities(): function test_inline_in_block_1 (line 41) | def test_inline_in_block_1(): function test_inline_in_block_2 (line 60) | def test_inline_in_block_2(): function test_inline_in_block_3 (line 79) | def test_inline_in_block_3(): function test_inline_in_block_4 (line 99) | def test_inline_in_block_4(): function test_block_in_inline (line 116) | def test_block_in_inline(): function test_styles (line 189) | def test_styles(): function test_whitespace (line 213) | def test_whitespace(): function test_page_style (line 260) | def test_page_style(page_type, top, right, bottom, left): function test_images_1 (line 287) | def test_images_1(): function test_images_2 (line 308) | def test_images_2(): function test_tables_1 (line 322) | def test_tables_1(): function test_tables_2 (line 382) | def test_tables_2(): function test_tables_3 (line 401) | def test_tables_3(): function test_tables_4 (line 425) | def test_tables_4(): function test_tables_5 (line 440) | def test_tables_5(): function test_tables_6 (line 454) | def test_tables_6(): function test_tables_7 (line 466) | def test_tables_7(): function test_tables_8 (line 490) | def test_tables_8(): function test_tables_9 (line 504) | def test_tables_9(): function test_table_style (line 518) | def test_table_style(): function test_column_style (line 532) | def test_column_style(): function test_nested_grid_x (line 551) | def test_nested_grid_x(): function test_colspan_rowspan_1 (line 572) | def test_colspan_rowspan_1(): function test_colspan_rowspan_2 (line 633) | def test_colspan_rowspan_2(): function test_before_after_1 (line 665) | def test_before_after_1(): function test_before_after_2 (line 683) | def test_before_after_2(): function test_before_after_3 (line 701) | def test_before_after_3(): function test_before_after_4 (line 717) | def test_before_after_4(): function test_before_after_5 (line 744) | def test_before_after_5(): function test_quotes_auto (line 770) | def test_quotes_auto(): function test_quotes_none (line 797) | def test_quotes_none(): function test_quotes_lang (line 824) | def test_quotes_lang(): function test_quotes_lang_alternate (line 850) | def test_quotes_lang_alternate(): function test_quotes_lang_parent (line 876) | def test_quotes_lang_parent(): function test_margin_boxes (line 902) | def test_margin_boxes(): function test_margin_box_string_set_1 (line 935) | def test_margin_box_string_set_1(): function test_margin_box_string_set_2 (line 965) | def test_margin_box_string_set_2(): function test_margin_box_string_set_3 (line 998) | def test_margin_box_string_set_3(): function test_margin_box_string_set_4 (line 1020) | def test_margin_box_string_set_4(): function test_margin_box_string_set_5 (line 1047) | def test_margin_box_string_set_5(): function test_margin_box_string_set_6 (line 1070) | def test_margin_box_string_set_6(): function test_margin_box_string_set_7 (line 1110) | def test_margin_box_string_set_7(): function test_margin_box_string_set_8 (line 1133) | def test_margin_box_string_set_8(): function test_margin_box_string_set_9 (line 1165) | def test_margin_box_string_set_9(): function test_margin_box_string_set_10 (line 1190) | def test_margin_box_string_set_10(): function test_page_counters (line 1225) | def test_page_counters(): function test_display_none_root (line 1255) | def test_display_none_root(html): FILE: tests/test_fonts.py function test_font_face (line 7) | def test_font_face(): function test_kerning_default (line 20) | def test_kerning_default(): function test_ligatures_word_space (line 36) | def test_ligatures_word_space(): function test_kerning_deactivate (line 50) | def test_kerning_deactivate(): function test_kerning_ligature_deactivate (line 76) | def test_kerning_ligature_deactivate(): function test_font_face_descriptors (line 103) | def test_font_face_descriptors(): function test_woff_simple (line 134) | def test_woff_simple(): FILE: tests/test_pdf.py function test_page_size_zoom (line 25) | def test_page_size_zoom(zoom): function test_bookmarks_1 (line 32) | def test_bookmarks_1(): function test_bookmarks_2 (line 51) | def test_bookmarks_2(): function test_bookmarks_3 (line 57) | def test_bookmarks_3(): function test_bookmarks_4 (line 64) | def test_bookmarks_4(): function test_bookmarks_5 (line 104) | def test_bookmarks_5(): function test_bookmarks_6 (line 127) | def test_bookmarks_6(): function test_bookmarks_7 (line 158) | def test_bookmarks_7(): function test_bookmarks_8 (line 173) | def test_bookmarks_8(): function test_bookmarks_9 (line 200) | def test_bookmarks_9(): function test_bookmarks_10 (line 211) | def test_bookmarks_10(): function test_bookmarks_11 (line 231) | def test_bookmarks_11(): function test_bookmarks_12 (line 253) | def test_bookmarks_12(): function test_bookmarks_13 (line 265) | def test_bookmarks_13(): function test_bookmarks_14 (line 278) | def test_bookmarks_14(): function test_bookmarks_15 (line 292) | def test_bookmarks_15(): function test_links_none (line 304) | def test_links_none(): function test_links (line 310) | def test_links(): function test_sorted_links (line 371) | def test_sorted_links(): function test_relative_links_no_height (line 383) | def test_relative_links_no_height(): function test_relative_links_missing_base (line 393) | def test_relative_links_missing_base(): function test_relative_links_missing_base_link (line 403) | def test_relative_links_missing_base_link(): function test_relative_links_internal (line 416) | def test_relative_links_internal(): function test_relative_links_anchors (line 433) | def test_relative_links_anchors(): function test_relative_links_different_base (line 449) | def test_relative_links_different_base(): function test_relative_links_same_base (line 457) | def test_relative_links_same_base(): function test_missing_links (line 465) | def test_missing_links(): function test_anchor_multiple_pages (line 488) | def test_anchor_multiple_pages(): function test_embed_gif (line 502) | def test_embed_gif(): function test_embed_jpeg (line 509) | def test_embed_jpeg(): function test_embed_image_once (line 517) | def test_embed_image_once(): function test_embed_images_from_pages (line 530) | def test_embed_images_from_pages(): function test_document_info (line 545) | def test_document_info(): function test_embedded_files_attachments (line 569) | def test_embedded_files_attachments(tmp_path): function test_attachments_data (line 624) | def test_attachments_data(): function test_attachments_data_with_anchor (line 636) | def test_attachments_data_with_anchor(): function test_attachments_no_href (line 650) | def test_attachments_no_href(): function test_attachments_none (line 664) | def test_attachments_none(): function test_attachments_none_empty (line 675) | def test_attachments_none_empty(): function test_annotations (line 685) | def test_annotations(): function test_bleed (line 711) | def test_bleed(style, media, bleed, trim): function test_default_rdf_metadata (line 723) | def test_default_rdf_metadata(): function test_custom_rdf_metadata (line 734) | def test_custom_rdf_metadata(): function test_font_descent_ascent (line 749) | def test_font_descent_ascent(): function test_pdf_tags_inline_table (line 758) | def test_pdf_tags_inline_table(): FILE: tests/test_presentational_hints.py function test_no_ph (line 14) | def test_no_ph(): function test_ph_page (line 29) | def test_ph_page(): function test_ph_flow (line 46) | def test_ph_flow(): function test_ph_phrasing (line 70) | def test_ph_phrasing(): function test_ph_lists (line 104) | def test_ph_lists(): function test_ph_lists_types (line 136) | def test_ph_lists_types(): function test_ph_tables (line 162) | def test_ph_tables(): function test_ph_hr (line 225) | def test_ph_hr(): function test_ph_embedded (line 255) | def test_ph_embedded(): FILE: tests/test_stacking.py function flatten_blocks_and_cells (line 24) | def flatten_blocks_and_cells(blocks_and_cells): function serialize_stacking (line 30) | def serialize_stacking(context): function test_nested (line 51) | def test_nested(source, contexts): function test_image_contexts (line 58) | def test_image_contexts(): function test_z_index (line 82) | def test_z_index(assert_pixels, z_indexes, color): FILE: tests/test_text.py function make_text (line 13) | def make_text(text, width=None, **style): function test_line_content (line 24) | def test_line_content(): function test_line_with_any_width (line 35) | def test_line_with_any_width(): function test_line_breaking (line 42) | def test_line_breaking(): function test_line_breaking_rtl (line 58) | def test_line_breaking_rtl(): function test_line_breaking_nbsp (line 70) | def test_line_breaking_nbsp(): function test_text_dimension (line 89) | def test_text_dimension(): function test_text_font_size_zero (line 98) | def test_text_font_size_zero(): function test_text_font_size_very_small (line 116) | def test_text_font_size_very_small(): function test_text_spaced_inlines (line 133) | def test_text_spaced_inlines(): function test_text_align_left (line 160) | def test_text_align_left(): function test_text_align_right (line 186) | def test_text_align_right(): function test_text_align_center (line 213) | def test_text_align_center(): function test_text_align_justify (line 240) | def test_text_align_justify(): function test_text_align_justify_all (line 278) | def test_text_align_justify_all(): function test_text_align_all_last (line 319) | def test_text_align_all_last(): function test_text_align_not_enough_space (line 358) | def test_text_align_not_enough_space(): function test_text_align_justify_no_space (line 373) | def test_text_align_justify_no_space(): function test_text_align_justify_text_indent (line 390) | def test_text_align_justify_text_indent(): function test_text_align_justify_no_break_between_children (line 430) | def test_text_align_justify_no_break_between_children(): function test_word_spacing (line 470) | def test_word_spacing(text): function test_letter_spacing_1 (line 492) | def test_letter_spacing_1(): function test_spacing_ex (line 544) | def test_spacing_ex(spacing): function test_text_indent (line 551) | def test_text_indent(indent): function test_text_indent_inline (line 573) | def test_text_indent_inline(): function test_text_indent_multipage (line 590) | def test_text_indent_multipage(indent): function test_hyphenate_character_1 (line 618) | def test_hyphenate_character_1(): function test_hyphenate_character_2 (line 634) | def test_hyphenate_character_2(): function test_hyphenate_character_3 (line 650) | def test_hyphenate_character_3(): function test_hyphenate_character_4 (line 666) | def test_hyphenate_character_4(): function test_hyphenate_character_5 (line 681) | def test_hyphenate_character_5(): function test_hyphenate_manual_1 (line 698) | def test_hyphenate_manual_1(i): function test_hyphenate_manual_2 (line 718) | def test_hyphenate_manual_2(i): function test_hyphenate_manual_3 (line 743) | def test_hyphenate_manual_3(): function test_hyphenate_manual_4 (line 760) | def test_hyphenate_manual_4(): function test_hyphenate_limit_zone_1 (line 773) | def test_hyphenate_limit_zone_1(): function test_hyphenate_limit_zone_2 (line 789) | def test_hyphenate_limit_zone_2(): function test_hyphenate_limit_zone_3 (line 805) | def test_hyphenate_limit_zone_3(): function test_hyphenate_limit_zone_4 (line 821) | def test_hyphenate_limit_zone_4(): function test_hyphen_nbsp (line 836) | def test_hyphen_nbsp(): function test_hyphenate_limit_chars (line 868) | def test_hyphenate_limit_chars(css, result): function test_hyphenate_limit_chars_punctuation (line 887) | def test_hyphenate_limit_chars_punctuation(css): function test_overflow_wrap (line 910) | def test_overflow_wrap(wrap, text, test, full_text): function test_wrap_overflow_word_break (line 944) | def test_wrap_overflow_word_break(span_css, expected_lines): function test_overflow_wrap_2 (line 972) | def test_overflow_wrap_2(wrap, text, body_width, expected_width): function test_overflow_wrap_trailing_space (line 996) | def test_overflow_wrap_trailing_space(wrap, text, body_width, expected_w... function test_overflow_wrap_no_break_on_space (line 1013) | def test_overflow_wrap_no_break_on_space(): function test_line_break_before_trailing_space (line 1029) | def test_line_break_before_trailing_space(): function test_line_break_before_nested_trailing_space (line 1042) | def test_line_break_before_nested_trailing_space(): function white_space_lines (line 1054) | def white_space_lines(width, space): function test_white_space_1 (line 1067) | def test_white_space_1(): function test_white_space_2 (line 1084) | def test_white_space_2(): function test_white_space_3 (line 1095) | def test_white_space_3(): function test_white_space_4 (line 1103) | def test_white_space_4(): function test_white_space_5 (line 1123) | def test_white_space_5(): function test_white_space_6 (line 1140) | def test_white_space_6(): function test_white_space_7 (line 1148) | def test_white_space_7(): function test_white_space_8 (line 1159) | def test_white_space_8(): function test_white_space_9 (line 1167) | def test_white_space_9(): function test_white_space_10 (line 1178) | def test_white_space_10(): function test_white_space_11 (line 1189) | def test_white_space_11(): function test_white_space_12 (line 1208) | def test_white_space_12(): function test_tab_size (line 1233) | def test_tab_size(value, width): function test_text_transform (line 1248) | def test_text_transform(): function test_text_transform_lang_uppercase (line 1287) | def test_text_transform_lang_uppercase(lang, lowercase, uppercase): function test_text_transform_lang_lowercase (line 1307) | def test_text_transform_lang_lowercase(lang, uppercase, lowercase): function test_text_transform_capitalize (line 1339) | def test_text_transform_capitalize(original, transformed, lang_code): function test_text_floating_pre_line (line 1346) | def test_text_floating_pre_line(): function test_leader_content (line 1363) | def test_leader_content(leader, content): function test_max_lines (line 1379) | def test_max_lines(): function test_continue (line 1407) | def test_continue(): function test_first_letter_line_height (line 1432) | def test_first_letter_line_height(): function test_first_letter_text_transform (line 1451) | def test_first_letter_text_transform(): function test_first_letter_nested (line 1470) | def test_first_letter_nested(): function test_first_line_line_height (line 1499) | def test_first_line_line_height(): function test_first_line_text_transform (line 1518) | def test_first_line_text_transform(): function test_first_line_nested (line 1537) | def test_first_line_nested(): function test_first_line_first_letter (line 1568) | def test_first_line_first_letter(): FILE: tests/test_unicode.py function test_unicode (line 10) | def test_unicode(assert_pixels_equal, tmp_path): FILE: tests/test_url.py function test_malformed_url_link (line 15) | def test_malformed_url_link(url, base_url): FILE: tests/testing_utils.py class FakeHTML (line 42) | class FakeHTML(HTML): method __init__ (line 44) | def __init__(self, *args, force_uncompressed_pdf=True, **kwargs): method _ua_stylesheets (line 48) | def _ua_stylesheets(self, forms=False): method render (line 53) | def render(self, font_config=None, *args, **kwargs): method write_pdf (line 56) | def write_pdf(self, target=None, zoom=1, finisher=None, **options): function resource_path (line 63) | def resource_path(name): function assert_no_logs (line 75) | def assert_no_logs(function): function serialize (line 96) | def serialize(box_list): function tree_position (line 109) | def tree_position(box_list, matcher): function _parse_base (line 130) | def _parse_base(html_content, base_url=BASE_URL): function parse (line 144) | def parse(html_content): function parse_all (line 150) | def parse_all(html_content, base_url=BASE_URL): function render_pages (line 158) | def render_pages(html_content): function assert_tree (line 165) | def assert_tree(box, expected): function _sanity_checks (line 185) | def _sanity_checks(box): FILE: weasyprint/__init__.py function _find_base_url (line 101) | def _find_base_url(html_document, fallback_base_url): class HTML (line 115) | class HTML: method __init__ (line 159) | def __init__(self, guess=None, filename=None, url=None, file_obj=None, method _ua_stylesheets (line 186) | def _ua_stylesheets(self, forms=False): method _ua_counter_style (line 191) | def _ua_counter_style(self): method _ph_stylesheets (line 194) | def _ph_stylesheets(self): method render (line 197) | def render(self, font_config=None, counter_style=None, color_profiles=... method write_pdf (line 225) | def write_pdf(self, target=None, zoom=1, finisher=None, class CSS (line 270) | class CSS: method __init__ (line 285) | def __init__(self, guess=None, filename=None, url=None, file_obj=None,... class Attachment (line 318) | class Attachment: method __init__ (line 343) | def __init__(self, guess=None, filename=None, url=None, file_obj=None, FILE: weasyprint/__main__.py class PrintInfo (line 16) | class PrintInfo(argparse.Action): method __call__ (line 17) | def __call__(*_, **__): class Parser (line 33) | class Parser(argparse.ArgumentParser): method __init__ (line 34) | def __init__(self, *args, **kwargs): method add_argument (line 38) | def add_argument(self, *args, _group_name=None, **kwargs): method add_argument_group (line 46) | def add_argument_group(self, name, *args, **kwargs): method docstring (line 57) | def docstring(self): function main (line 173) | def main(argv=None, stdout=None, stdin=None, HTML=HTML): # noqa: N803 FILE: weasyprint/anchors.py function rectangle_aabb (line 10) | def rectangle_aabb(matrix, pos_x, pos_y, width, height): function gather_anchors (line 30) | def gather_anchors(box, anchors, links, bookmarks, forms, parent_matrix=... function make_page_bookmark_tree (line 132) | def make_page_bookmark_tree(page, skipped_levels, last_by_depth, FILE: weasyprint/css/__init__.py class StyleFor (line 54) | class StyleFor: method __init__ (line 56) | def __init__(self, html, sheets, presentational_hints, font_config, method __call__ (line 141) | def __call__(self, element, pseudo_type=None): method set_computed_styles (line 155) | def set_computed_styles(self, element, parent, root=None, pseudo_type=... method add_page_declarations (line 182) | def add_page_declarations(self, page_type): method get_cascaded_styles (line 200) | def get_cascaded_styles(self): method get_computed_styles (line 203) | def get_computed_styles(self): method _page_type_match (line 207) | def _page_type_match(page_selector_type, page_type): function get_child_text (line 234) | def get_child_text(element): function text_decoration (line 243) | def text_decoration(key, value, parent_value, cascaded): function find_stylesheets (line 262) | def find_stylesheets(wrapper_element, device_media_type, url_fetcher, ba... function find_style_attributes (line 310) | def find_style_attributes(tree, presentational_hints=False, base_url=None): function declaration_precedence (line 569) | def declaration_precedence(origin, importance): function resolve_var (line 592) | def resolve_var(computed, token, parent_style, known_variables=None): function _resolve_calc_sum (line 635) | def _resolve_calc_sum(computed, tokens, property_name, refer_to): function _resolve_calc_product (line 704) | def _resolve_calc_product(computed, tokens, property_name, refer_to): function _resolve_calc_value (line 754) | def _resolve_calc_value(computed, tokens): function resolve_math (line 772) | def resolve_math(token, computed=None, property_name=None, refer_to=None): class InitialStyle (line 1034) | class InitialStyle(dict): method __init__ (line 1036) | def __init__(self, font_config): method __missing__ (line 1042) | def __missing__(self, key): class AnonymousStyle (line 1047) | class AnonymousStyle(dict): method __init__ (line 1049) | def __init__(self, parent_style): method copy (line 1066) | def copy(self): method __missing__ (line 1071) | def __missing__(self, key): class ComputedStyle (line 1091) | class ComputedStyle(dict): method __init__ (line 1093) | def __init__(self, parent_style, cascaded, element, pseudo_type, method copy (line 1107) | def copy(self): method __missing__ (line 1115) | def __missing__(self, key): class ColorProfile (line 1244) | class ColorProfile: method __init__ (line 1245) | def __init__(self, file_object, descriptors): method name (line 1252) | def name(self): method content (line 1258) | def content(self): function _add_layer (line 1262) | def _add_layer(layer, layers): function computed_from_cascaded (line 1282) | def computed_from_cascaded(element, cascaded, parent_style, pseudo_type=... function _parse_layer (line 1290) | def _parse_layer(tokens): function parse_color_profile_name (line 1309) | def parse_color_profile_name(prelude): function parse_page_selectors (line 1323) | def parse_page_selectors(rule): function preprocess_stylesheet (line 1440) | def preprocess_stylesheet(device_media_type, base_url, stylesheet_rules,... function get_all_computed_styles (line 1786) | def get_all_computed_styles(html, user_stylesheets=None, presentational_... FILE: weasyprint/css/computed_values.py function register_logical (line 133) | def register_logical(names, prefixes=('',), suffixes=('',)): function physical_size (line 154) | def physical_size(name, prefix, suffix, block, inline): function physical_inset (line 167) | def physical_inset(name, prefix, suffix, block, inline): function physical_radius (line 189) | def physical_radius(name, prefix, suffix, block, inline): function register_computer (line 214) | def register_computer(name): function compute_attr (line 225) | def compute_attr(style, values): function background_image (line 260) | def background_image(style, name, values): function image (line 266) | def image(style, name, image): function color (line 292) | def color(style, name, values): function compute_position (line 298) | def compute_position(style, name, values): function length_or_percentage_tuple (line 307) | def length_or_percentage_tuple(style, name, values): function length_tuple (line 315) | def length_tuple(style, name, values): function break_before_after (line 322) | def break_before_after(style, name, value): function length (line 356) | def length(style, name, value, font_size=None, pixels_only=False): function bleed (line 374) | def bleed(style, name, value): function pixel_length (line 381) | def pixel_length(style, name, value): function background_size (line 388) | def background_size(style, name, values): function image_orientation (line 397) | def image_orientation(style, name, values): function border_width (line 411) | def border_width(style, name, value): function border_image_slice (line 430) | def border_image_slice(style, name, values): function border_image_width (line 454) | def border_image_width(style, name, values): function border_image_outset (line 474) | def border_image_outset(style, name, values): function border_image_repeat (line 490) | def border_image_repeat(style, name, values): function length_pixels_only (line 497) | def length_pixels_only(style, name, value): function border_radius (line 506) | def border_radius(style, name, values): function gap (line 513) | def gap(style, name, value): function _content_list (line 518) | def _content_list(style, values): function bookmark_label (line 554) | def bookmark_label(style, name, values): function string_set (line 560) | def string_set(style, name, values): function content (line 569) | def content(style, name, values): function display (line 581) | def display(style, name, value): function compute_float (line 600) | def compute_float(style, name, value): function font_size (line 611) | def font_size(style, name, value): function font_weight (line 643) | def font_weight(style, name, value): function _compute_track_breadth (line 659) | def _compute_track_breadth(style, name, value): function _track_size (line 670) | def _track_size(style, name, values): function grid_template (line 698) | def grid_template(style, name, values): function grid_auto (line 708) | def grid_auto(style, name, values): function line_height (line 726) | def line_height(style, name, value): function anchor (line 742) | def anchor(style, name, values): function link (line 751) | def link(style, name, values): function lang (line 762) | def lang(style, name, values): function tab_size (line 774) | def tab_size(style, name, value): function transform (line 780) | def transform(style, name, value): function vertical_align (line 791) | def vertical_align(style, name, value): function word_spacing (line 817) | def word_spacing(style, name, value): FILE: weasyprint/css/counters.py function symbol (line 13) | def symbol(string_or_url): function parse_counter_style_name (line 23) | def parse_counter_style_name(tokens, counter_style): class CounterStyle (line 35) | class CounterStyle(dict): method resolve_counter (line 44) | def resolve_counter(self, counter_name, previous_types=None): method render_value (line 103) | def render_value(self, counter_value, counter_name=None, counter=None, method render_marker (line 277) | def render_marker(self, counter_name, counter_value): method copy (line 294) | def copy(self): FILE: weasyprint/css/functions.py class Function (line 4) | class Function: method __init__ (line 8) | def __init__(self, token): method split_space (line 16) | def split_space(self): method split_comma (line 23) | def split_comma(self, single_tokens=True, trailing=False): function check_attr (line 61) | def check_attr(token, allowed_type=None): function check_counter (line 89) | def check_counter(token, allowed_type=None): function check_content (line 126) | def check_content(token): function check_string_or_element (line 139) | def check_string_or_element(string_or_element, token): function check_var (line 161) | def check_var(token): function check_math (line 176) | def check_math(token): FILE: weasyprint/css/media_queries.py function evaluate_media_query (line 13) | def evaluate_media_query(query_list, device_media_type): function parse_media_query (line 25) | def parse_media_query(tokens): FILE: weasyprint/css/targets.py class TargetLookupItem (line 14) | class TargetLookupItem: method __init__ (line 20) | def __init__(self, state='pending'): class CounterLookupItem (line 39) | class CounterLookupItem: method __init__ (line 45) | def __init__(self, parse_again, missing_counters, missing_target_count... function anchor_name_from_token (line 63) | def anchor_name_from_token(anchor_token): class TargetCollector (line 71) | class TargetCollector: method __init__ (line 74) | def __init__(self): method collect_anchor (line 90) | def collect_anchor(self, anchor_name): method lookup_target (line 99) | def lookup_target(self, anchor_token, source_box, css_token, parse_aga... method store_target (line 123) | def store_target(self, anchor_name, target_counter_values, target_box): method collect_missing_counters (line 141) | def collect_missing_counters(self, parent_box, css_token, method check_pending_targets (line 166) | def check_pending_targets(self): method cache_target_page_counters (line 176) | def cache_target_page_counters(self, anchor_name, page_counter_values, FILE: weasyprint/css/tokens.py class InvalidValues (line 52) | class InvalidValues(ValueError): # noqa: N818 class PercentageInMath (line 56) | class PercentageInMath(ValueError): # noqa: N818 class RelativeLengthInMath (line 60) | class RelativeLengthInMath(ValueError): # noqa: N818 class Pending (line 64) | class Pending(ABC): method __init__ (line 67) | def __init__(self, tokens, name): method validate (line 73) | def validate(self, tokens, wanted_key): method solve (line 77) | def solve(self, tokens, wanted_key): function parse_color_hint (line 99) | def parse_color_hint(tokens): function parse_color_stop (line 104) | def parse_color_stop(tokens): function parse_color_stops_and_hints (line 120) | def parse_color_stops_and_hints(color_stops_hints): function parse_linear_gradient_parameters (line 146) | def parse_linear_gradient_parameters(arguments): function parse_2d_position (line 159) | def parse_2d_position(tokens): function parse_position (line 187) | def parse_position(tokens): function parse_radial_gradient_parameters (line 236) | def parse_radial_gradient_parameters(arguments): function split_on_comma (line 279) | def split_on_comma(tokens): function remove_whitespace (line 298) | def remove_whitespace(tokens): function get_keyword (line 305) | def get_keyword(token): function get_custom_ident (line 315) | def get_custom_ident(token): function get_single_keyword (line 325) | def get_single_keyword(tokens): function get_number (line 337) | def get_number(token, negative=True, integer=False): function get_string (line 368) | def get_string(token): function get_percentage (line 383) | def get_percentage(token, negative=True): function get_length (line 400) | def get_length(token, negative=True, percentage=False): function get_angle (line 427) | def get_angle(token): function get_resolution (line 444) | def get_resolution(token): function get_image (line 458) | def get_image(token, base_url): function get_url (line 490) | def get_url(token, base_url): function get_quote (line 512) | def get_quote(token): function get_target (line 521) | def get_target(token, base_url): function get_content_list (line 578) | def get_content_list(tokens, base_url): function get_content_list_token (line 586) | def get_content_list_token(token, base_url): function single_keyword (line 636) | def single_keyword(function): function single_token (line 647) | def single_token(function): function comma_separated_list (line 658) | def comma_separated_list(function): function tokenize (line 673) | def tokenize(item, function=None, unit=None): FILE: weasyprint/css/units.py function to_pixels (line 58) | def to_pixels(value, style, property_name, font_size=None): function to_radians (line 115) | def to_radians(value): FILE: weasyprint/css/validation/__init__.py function preprocess_declarations (line 114) | def preprocess_declarations(base_url, declarations, prelude=None): FILE: weasyprint/css/validation/descriptors.py class NoneFakeToken (line 25) | class NoneFakeToken: class NormalFakeToken (line 30) | class NormalFakeToken: function preprocess_descriptors (line 35) | def preprocess_descriptors(rule, base_url, descriptors): function descriptor (line 73) | def descriptor(rule, descriptor_name=None, wants_base_url=False): function expand_font_variant (line 99) | def expand_font_variant(tokens): function font_family (line 134) | def font_family(tokens, allow_spaces=False): function src (line 148) | def src(tokens, base_url): function font_style (line 163) | def font_style(keyword): function font_weight (line 170) | def font_weight(token): function font_stretch (line 182) | def font_stretch(keyword): function font_feature_settings (line 191) | def font_feature_settings(tokens): function font_variant (line 197) | def font_variant(tokens): function unicode_range (line 216) | def unicode_range(token): function system (line 223) | def system(tokens): function negative (line 244) | def negative(tokens, base_url): function prefix_suffix (line 269) | def prefix_suffix(tokens, base_url): function range (line 284) | def range(tokens): function pad (line 302) | def pad(tokens, base_url): function fallback (line 322) | def fallback(token): function symbols (line 330) | def symbols(tokens, base_url): function additive_symbols (line 346) | def additive_symbols(tokens, base_url): function color_profile_src (line 360) | def color_profile_src(token, base_url): function rendering_intent (line 368) | def rendering_intent(keyword): function components (line 377) | def components(tokens): FILE: weasyprint/css/validation/expanders.py class PendingExpander (line 27) | class PendingExpander(Pending): method __init__ (line 29) | def __init__(self, tokens, validator): method validate (line 33) | def validate(self, tokens, wanted_key): function _find_var (line 42) | def _find_var(tokens, expander, expanded_names): function expander (line 51) | def expander(property_name): function generic_expander (line 61) | def generic_expander(*expanded_names, **kwargs): function expand_two_logical_sides (line 137) | def expand_two_logical_sides(tokens, name, base_url): function expand_four_sides (line 149) | def expand_four_sides(tokens, name, base_url): function _expand_sides (line 158) | def _expand_sides(tokens, name, base_url, sides): function border_radius (line 198) | def border_radius(tokens, name, base_url): function expand_list_style (line 237) | def expand_list_style(tokens, name, base_url): function expand_border (line 279) | def expand_border(tokens, name, base_url): function expand_logical_border (line 291) | def expand_logical_border(tokens, name, base_url): function expand_border_side (line 308) | def expand_border_side(tokens, name): function expand_border_image (line 329) | def expand_border_image(tokens, name, base_url): function expand_mask_border (line 393) | def expand_mask_border(tokens, name, base_url): function expand_background (line 457) | def expand_background(tokens, name, base_url): function expand_text_decoration (line 561) | def expand_text_decoration(tokens, name): function expand_page_break_before_after (line 602) | def expand_page_break_before_after(tokens, name): function expand_page_break_after (line 622) | def expand_page_break_after(tokens, name): function expand_page_break_before (line 633) | def expand_page_break_before(tokens, name): function expand_page_break_inside (line 644) | def expand_page_break_inside(tokens, name): function expand_columns (line 659) | def expand_columns(tokens, name): function font_variant (line 682) | def font_variant(tokens, name): function expand_font (line 694) | def expand_font(tokens, name): function expand_word_wrap (line 766) | def expand_word_wrap(tokens, name): function expand_flex (line 780) | def expand_flex(tokens, name): function expand_flex_flow (line 838) | def expand_flex_flow(tokens, name): function _expand_grid_template (line 864) | def _expand_grid_template(tokens, name): function expand_grid_template (line 900) | def expand_grid_template(tokens, name): function expand_grid (line 908) | def expand_grid(tokens, name): function _expand_grid_column_row_area (line 968) | def _expand_grid_column_row_area(tokens, max_number): function expand_grid_column_row (line 1001) | def expand_grid_column_row(tokens, name): function expand_grid_area (line 1011) | def expand_grid_area(tokens, name): function expand_gap (line 1022) | def expand_gap(tokens, name): function expand_legacy_column_gap (line 1041) | def expand_legacy_column_gap(tokens, name): function expand_legacy_row_gap (line 1051) | def expand_legacy_row_gap(tokens, name): function expand_place_content (line 1061) | def expand_place_content(tokens, name): function expand_place_items (line 1069) | def expand_place_items(tokens, name): function expand_place_self (line 1077) | def expand_place_self(tokens, name): function expand_line_clamp (line 1085) | def expand_line_clamp(tokens, name): function expand_text_align (line 1125) | def expand_text_align(tokens, name): FILE: weasyprint/css/validation/properties.py class PendingProperty (line 34) | class PendingProperty(Pending): method validate (line 36) | def validate(self, tokens, wanted_key): function property (line 42) | def property(property_name=None, proprietary=False, unstable=False, function validate_non_shorthand (line 83) | def validate_non_shorthand(tokens, name, base_url=None, required=False): function background_attachment (line 117) | def background_attachment(keyword): function other_colors (line 134) | def other_colors(token): function outline_color (line 141) | def outline_color(token): function border_collapse (line 150) | def border_collapse(keyword): function empty_cells (line 156) | def empty_cells(keyword): function color (line 163) | def color(token): function background_image (line 175) | def background_image(token, base_url): function list_style_image (line 183) | def list_style_image(token, base_url): function transform_origin (line 194) | def transform_origin(tokens): function background_position (line 204) | def background_position(tokens): function object_position (line 211) | def object_position(tokens): function background_repeat (line 218) | def background_repeat(tokens): function background_size (line 235) | def background_size(tokens): function box (line 263) | def box(keyword): function border_spacing (line 270) | def border_spacing(tokens): function border_corner_radius (line 288) | def border_corner_radius(tokens): function border_style (line 308) | def border_style(keyword): function break_before_after (line 317) | def break_before_after(keyword): function break_inside (line 325) | def break_inside(keyword): function box_decoration_break (line 332) | def box_decoration_break(keyword): function block_ellipsis (line 339) | def block_ellipsis(token): function continue_ (line 351) | def continue_(keyword): function max_lines (line 358) | def max_lines(token): function margin_break (line 367) | def margin_break(keyword): function page (line 374) | def page(token): function bleed (line 385) | def bleed(token): function marks (line 394) | def marks(tokens): function outline_style (line 409) | def outline_style(keyword): function border_width (line 426) | def border_width(token): function border_image_source (line 437) | def border_image_source(token, base_url): function border_image_slice (line 445) | def border_image_slice(tokens): function border_image_width (line 466) | def border_image_width(tokens): function border_image_outset (line 484) | def border_image_outset(tokens): function border_image_repeat (line 500) | def border_image_repeat(tokens): function mask_border_mode (line 509) | def mask_border_mode(keyword): function column_width (line 515) | def column_width(token): function column_span (line 526) | def column_span(keyword): function box_sizing (line 533) | def box_sizing(keyword): function caption_side (line 540) | def caption_side(keyword): function clear (line 547) | def clear(keyword): function clip (line 554) | def clip(token): function content (line 573) | def content(tokens, base_url): function counter_increment (line 600) | def counter_increment(tokens): function counter_reset (line 606) | def counter_reset(tokens): function counter_set (line 612) | def counter_set(tokens): function counter (line 617) | def counter(tokens, default_integer): function lenght_precentage_or_auto (line 662) | def lenght_precentage_or_auto(token): function width_height (line 675) | def width_height(token): function gap (line 686) | def gap(token): function column_fill (line 697) | def column_fill(keyword): function direction (line 704) | def direction(keyword): function display (line 710) | def display(tokens): function float_ (line 757) | def float_(keyword): # XXX do not hide the "float" builtin function font_family (line 765) | def font_family(tokens): function font_kerning (line 775) | def font_kerning(keyword): function font_language_override (line 781) | def font_language_override(token): function font_variant_ligatures (line 790) | def font_variant_ligatures(tokens): function font_variant_position (line 822) | def font_variant_position(keyword): function font_variant_caps (line 828) | def font_variant_caps(keyword): function font_variant_numeric (line 835) | def font_variant_numeric(tokens): function font_feature_settings (line 866) | def font_feature_settings(tokens): function font_variant_alternates (line 898) | def font_variant_alternates(keyword): function font_variant_east_asian (line 905) | def font_variant_east_asian(tokens): function font_variation_settings (line 935) | def font_variation_settings(tokens): function font_size (line 952) | def font_size(token): function font_style (line 965) | def font_style(keyword): function font_stretch (line 972) | def font_stretch(keyword): function font_weight (line 982) | def font_weight(token): function object_fit (line 994) | def object_fit(keyword): function image_resolution (line 1003) | def image_resolution(token): function spacing (line 1011) | def spacing(token): function outline_offset (line 1021) | def outline_offset(token): function line_height (line 1029) | def line_height(token): function list_style_position (line 1041) | def list_style_position(keyword): function list_style_type (line 1048) | def list_style_type(token): function min_width_height (line 1085) | def min_width_height(token): function length_or_precentage (line 1103) | def length_or_precentage(token): function max_width_height (line 1114) | def max_width_height(token): function opacity (line 1124) | def opacity(token): function z_index (line 1134) | def z_index(token): function orphans_widows (line 1145) | def orphans_widows(token): function column_count (line 1154) | def column_count(token): function overflow (line 1165) | def overflow(keyword): function text_overflow (line 1172) | def text_overflow(keyword): function position (line 1179) | def position(token): function quotes (line 1190) | def quotes(tokens): function table_layout (line 1205) | def table_layout(keyword): function text_align_all (line 1213) | def text_align_all(keyword): function text_align_last (line 1220) | def text_align_last(keyword): function text_decoration_line (line 1226) | def text_decoration_line(tokens): function text_decoration_style (line 1237) | def text_decoration_style(keyword): function text_decoration_thickness (line 1245) | def text_decoration_thickness(token): function text_indent (line 1255) | def text_indent(token): function text_transform (line 1263) | def text_transform(keyword): function vertical_align (line 1270) | def vertical_align(token): function visibility (line 1282) | def visibility(keyword): function white_space (line 1289) | def white_space(keyword): function overflow_wrap (line 1296) | def overflow_wrap(keyword): function word_break (line 1303) | def word_break(keyword): function flex_basis (line 1310) | def flex_basis(token): function flex_direction (line 1320) | def flex_direction(keyword): function flex_grow_shrink (line 1328) | def flex_grow_shrink(token): function _inflexible_breadth (line 1333) | def _inflexible_breadth(token): function _track_breadth (line 1343) | def _track_breadth(token): function _track_size (line 1350) | def _track_size(token): function _fixed_size (line 1368) | def _fixed_size(token): function _line_names (line 1386) | def _line_names(token): function grid_auto (line 1400) | def grid_auto(tokens): function grid_auto_flow (line 1412) | def grid_auto_flow(tokens): function grid_template (line 1428) | def grid_template(tokens): function grid_template_areas (line 1557) | def grid_template_areas(tokens): function grid_line (line 1617) | def grid_line(tokens): function flex_wrap (line 1658) | def flex_wrap(keyword): function justify_content (line 1664) | def justify_content(tokens): function justify_items (line 1683) | def justify_items(tokens): function justify_self (line 1710) | def justify_self(tokens): function align_items (line 1734) | def align_items(tokens): function align_self (line 1757) | def align_self(tokens): function align_content (line 1780) | def align_content(tokens): function order (line 1804) | def order(token): function image_rendering (line 1811) | def image_rendering(keyword): function image_orientation (line 1817) | def image_orientation(tokens): function size (line 1841) | def size(tokens): function anchor (line 1882) | def anchor(token): function link (line 1895) | def link(token, base_url): function tab_size (line 1911) | def tab_size(token): function hyphens (line 1925) | def hyphens(token): function hyphenate_character (line 1933) | def hyphenate_character(token): function hyphenate_limit_zone (line 1943) | def hyphenate_limit_zone(token): function hyphenate_limit_chars (line 1949) | def hyphenate_limit_chars(tokens): function lang (line 1987) | def lang(token): function bookmark_label (line 2001) | def bookmark_label(tokens, base_url): function bookmark_level (line 2010) | def bookmark_level(token): function bookmark_state (line 2021) | def bookmark_state(keyword): function footnote_display (line 2028) | def footnote_display(keyword): function footnote_policy (line 2035) | def footnote_policy(keyword): function string_set (line 2042) | def string_set(tokens, base_url): function transform (line 2058) | def transform(tokens): function appearance (line 2121) | def appearance(token): function color_scheme (line 2128) | def color_scheme(tokens): FILE: weasyprint/document.py class Page (line 25) | class Page: method __init__ (line 33) | def __init__(self, page_box): method paint (line 83) | def paint(self, stream, scale=1): class DiskCache (line 90) | class DiskCache: method __init__ (line 98) | def __init__(self, folder): method _path_from_key (line 104) | def _path_from_key(self, key): method __getitem__ (line 108) | def __getitem__(self, key): method __setitem__ (line 114) | def __setitem__(self, key, value): method __contains__ (line 122) | def __contains__(self, key): method __del__ (line 127) | def __del__(self): class Document (line 137) | class Document: method _build_layout_context (line 149) | def _build_layout_context(cls, html, font_config, counter_style, color... method _render (line 181) | def _render(cls, html, font_config, counter_style, color_profiles, opt... method __init__ (line 207) | def __init__(self, pages, metadata, url_fetcher, font_config, color_pr... method copy (line 227) | def copy(self, pages='all'): method make_bookmark_tree (line 260) | def make_bookmark_tree(self, scale=1, transform_pages=False): method write_pdf (line 293) | def write_pdf(self, target=None, zoom=1, finisher=None, **options): FILE: weasyprint/draw/__init__.py function draw_page (line 18) | def draw_page(page, stream): function draw_stacking_context (line 31) | def draw_stacking_context(stream, stacking_context): function draw_background (line 139) | def draw_background(stream, bg, clip_box=True, bleed=None, marks=()): function draw_background_image (line 238) | def draw_background_image(stream, layer, style): function draw_table (line 324) | def draw_table(stream, table): function draw_collapsed_borders (line 354) | def draw_collapsed_borders(stream, table): function draw_replacedbox (line 471) | def draw_replacedbox(stream, box): function draw_inline_level (line 489) | def draw_inline_level(stream, page, box, offset_x=0, text_overflow='clip', function draw_block_level (line 529) | def draw_block_level(page, stream, blocks_and_cells): FILE: weasyprint/draw/border.py function set_mask_border (line 14) | def set_mask_border(stream, box): function draw_column_rules (line 28) | def draw_column_rules(stream, box): function draw_border (line 56) | def draw_border(stream, box): function draw_border_image (line 116) | def draw_border_image(box, stream, image, border_slice, border_repeat, b... function clip_border_segment (line 321) | def clip_border_segment(stream, style, width, side, border_box, function draw_rounded_border (line 552) | def draw_rounded_border(stream, box, style, color): function draw_rect_border (line 572) | def draw_rect_border(stream, box, widths, style, color): function draw_line (line 602) | def draw_line(stream, x1, y1, x2, y2, thickness, style, color, offset=0): function draw_outline (line 670) | def draw_outline(stream, box): function rounded_box (line 693) | def rounded_box(stream, radii): FILE: weasyprint/draw/color.py function get_color (line 8) | def get_color(style, key): function darken (line 14) | def darken(color): function lighten (line 24) | def lighten(color): function styled_color (line 35) | def styled_color(style, color, side): FILE: weasyprint/draw/text.py function draw_text (line 18) | def draw_text(stream, textbox, offset_x, text_overflow, block_ellipsis): function draw_emojis (line 78) | def draw_emojis(stream, style, x, y, emojis): function draw_first_line (line 87) | def draw_first_line(stream, textbox, text_overflow, block_ellipsis, matr... function draw_text_decoration (line 291) | def draw_text_decoration(stream, textbox, offset_x, offset_y, thickness,... FILE: weasyprint/formatting_structure/boxes.py class Box (line 57) | class Box: method all_children (line 89) | def all_children(self): method descendants (line 92) | def descendants(self, placeholders=False): method __init__ (line 101) | def __init__(self, element_tag, style, element): method __repr__ (line 110) | def __repr__(self): method anonymous_from (line 114) | def anonymous_from(cls, parent, *args, **kwargs): method copy (line 119) | def copy(self): method deepcopy (line 129) | def deepcopy(self): method translate (line 133) | def translate(self, dx=0, dy=0, ignore_floats=False): method padding_width (line 150) | def padding_width(self): method padding_height (line 154) | def padding_height(self): method border_width (line 158) | def border_width(self): method border_height (line 163) | def border_height(self): method margin_width (line 168) | def margin_width(self): method margin_height (line 172) | def margin_height(self): method content_box_x (line 178) | def content_box_x(self): method content_box_y (line 183) | def content_box_y(self): method padding_box_x (line 188) | def padding_box_x(self): method padding_box_y (line 192) | def padding_box_y(self): method border_box_x (line 196) | def border_box_x(self): method border_box_y (line 200) | def border_box_y(self): method hit_area (line 204) | def hit_area(self): method rounded_box (line 212) | def rounded_box(self, bt, br, bb, bl): method rounded_box_ratio (line 258) | def rounded_box_ratio(self, ratio): method rounded_padding_box (line 265) | def rounded_padding_box(self): method rounded_border_box (line 273) | def rounded_border_box(self): method rounded_content_box (line 277) | def rounded_content_box(self): method is_floated (line 287) | def is_floated(self): method is_footnote (line 291) | def is_footnote(self): method is_absolutely_positioned (line 295) | def is_absolutely_positioned(self): method is_running (line 299) | def is_running(self): method is_in_normal_flow (line 303) | def is_in_normal_flow(self): method is_monolithic (line 309) | def is_monolithic(self): method establishes_formatting_context (line 319) | def establishes_formatting_context(self): method page_values (line 332) | def page_values(self): method is_attachment (line 338) | def is_attachment(self): method is_input (line 348) | def is_input(self): method is_form (line 356) | def is_form(self): class ParentBox (line 363) | class ParentBox(Box): method __init__ (line 365) | def __init__(self, element_tag, style, element, children): method _reset_spacing (line 369) | def _reset_spacing(self, side): method remove_decoration (line 376) | def remove_decoration(self, start, end): method copy_with_children (line 384) | def copy_with_children(self, new_children): method deepcopy (line 395) | def deepcopy(self): method get_wrapped_table (line 400) | def get_wrapped_table(self): method page_values (line 409) | def page_values(self): method top_margin_collapses (line 427) | def top_margin_collapses(self): method bottom_margin_collapses (line 435) | def bottom_margin_collapses(self): class BlockLevelBox (line 444) | class BlockLevelBox(Box): class BlockContainerBox (line 454) | class BlockContainerBox(ParentBox): class BlockBox (line 467) | class BlockBox(BlockContainerBox, BlockLevelBox): class LineBox (line 476) | class LineBox(ParentBox): method anonymous_from (line 490) | def anonymous_from(cls, parent, *args, **kwargs): class InlineLevelBox (line 497) | class InlineLevelBox(Box): method remove_decoration (line 507) | def remove_decoration(self, start, end): class InlineBox (line 517) | class InlineBox(InlineLevelBox, ParentBox): method hit_area (line 527) | def hit_area(self): class TextBox (line 534) | class TextBox(InlineLevelBox): method __init__ (line 543) | def __init__(self, element_tag, style, element, text): method copy_with_text (line 548) | def copy_with_text(self, text): class AtomicInlineLevelBox (line 556) | class AtomicInlineLevelBox(InlineLevelBox): class InlineBlockBox (line 564) | class InlineBlockBox(AtomicInlineLevelBox, BlockContainerBox): class ReplacedBox (line 575) | class ReplacedBox(Box): method __init__ (line 582) | def __init__(self, element_tag, style, element, replacement): class BlockReplacedBox (line 587) | class BlockReplacedBox(ReplacedBox, BlockLevelBox): class InlineReplacedBox (line 596) | class InlineReplacedBox(ReplacedBox, AtomicInlineLevelBox): class TableBox (line 606) | class TableBox(BlockLevelBox, ParentBox): method all_children (line 612) | def all_children(self): method translate (line 615) | def translate(self, dx=0, dy=0, ignore_floats=False): method page_values (line 620) | def page_values(self): class InlineTableBox (line 624) | class InlineTableBox(TableBox): class TableRowGroupBox (line 628) | class TableRowGroupBox(ParentBox): class TableRowBox (line 640) | class TableRowBox(ParentBox): class TableColumnGroupBox (line 648) | class TableColumnGroupBox(ParentBox): method get_cells (line 665) | def get_cells(self): method span (line 671) | def span(self): class TableColumnBox (line 682) | class TableColumnBox(ParentBox): method get_cells (line 699) | def get_cells(self): method span (line 708) | def span(self): class TableCellBox (line 715) | class TableCellBox(BlockContainerBox): method __init__ (line 719) | def __init__(self, *args, **kwargs): class TableCaptionBox (line 737) | class TableCaptionBox(BlockBox): class PageBox (line 744) | class PageBox(ParentBox): method __init__ (line 751) | def __init__(self, page_type, style): method __repr__ (line 757) | def __repr__(self): method bleed (line 761) | def bleed(self): method bleed_area (line 767) | def bleed_area(self): class MarginBox (line 774) | class MarginBox(BlockContainerBox): method __init__ (line 776) | def __init__(self, at_keyword, style): method __repr__ (line 782) | def __repr__(self): class FootnoteAreaBox (line 786) | class FootnoteAreaBox(BlockBox): method __init__ (line 788) | def __init__(self, page, style): method __repr__ (line 794) | def __repr__(self): class FlexContainerBox (line 798) | class FlexContainerBox(ParentBox): class FlexBox (line 802) | class FlexBox(FlexContainerBox, BlockLevelBox): class InlineFlexBox (line 810) | class InlineFlexBox(FlexContainerBox, InlineLevelBox): class GridContainerBox (line 818) | class GridContainerBox(ParentBox): method __init__ (line 820) | def __init__(self, element_tag, style, element, children): class GridBox (line 826) | class GridBox(GridContainerBox, BlockLevelBox): class InlineGridBox (line 834) | class InlineGridBox(GridContainerBox, InlineLevelBox): FILE: weasyprint/formatting_structure/build.py function create_anonymous_boxes (line 53) | def create_anonymous_boxes(box): function build_formatting_structure (line 63) | def build_formatting_structure(element_tree, style_for, get_image_from_uri, function make_box (line 97) | def make_box(element_tag, style, content, element): function element_to_box (line 102) | def element_to_box(element, style_for, get_image_from_uri, base_url, function before_after_to_box (line 262) | def before_after_to_box(element, pseudo_type, state, style_for, function marker_to_box (line 308) | def marker_to_box(element, state, parent_style, style_for, get_image_fro... function compute_content_list (line 367) | def compute_content_list(content_list, parent_box, counter_values, css_t... function content_to_boxes (line 551) | def content_to_boxes(style, parent_box, quote_depth, counter_values, function compute_string_set (line 593) | def compute_string_set(element, box, string_name, content_list, function compute_bookmark_label (line 625) | def compute_bookmark_label(element, box, content_list, counter_values, function set_content_lists (line 649) | def set_content_lists(element, box, style, counter_values, target_collec... function update_counters (line 669) | def update_counters(state, style): function is_whitespace (line 708) | def is_whitespace(box, _has_non_whitespace=re.compile('\\S').search): function wrap_improper (line 713) | def wrap_improper(box, children, wrapper_type, test=None): function anonymous_table_boxes (line 739) | def anonymous_table_boxes(box): function table_boxes_children (line 755) | def table_boxes_children(box, children): function wrap_table (line 849) | def wrap_table(box, children): function blockify (line 980) | def blockify(box, layout): function flex_boxes (line 998) | def flex_boxes(box): function flex_children (line 1015) | def flex_children(box, children): function grid_boxes (line 1033) | def grid_boxes(box): function grid_children (line 1050) | def grid_children(box, children): function process_whitespace (line 1067) | def process_whitespace(box, following_collapsible_space=False): function process_text_transform (line 1120) | def process_text_transform(box): function uppercase (line 1145) | def uppercase(text, lang_code): function lowercase (line 1182) | def lowercase(text, lang_code): function capitalize (line 1205) | def capitalize(text, lang_code): function inline_in_block (line 1230) | def inline_in_block(box): function block_in_inline (line 1342) | def block_in_inline(box): function _inner_block_in_inline (line 1444) | def _inner_block_in_inline(box, skip_stack=None): function set_viewport_overflow (line 1497) | def set_viewport_overflow(root_box): function box_text (line 1519) | def box_text(box): function extract_text (line 1537) | def extract_text(text_part, box): FILE: weasyprint/html.py function ascii_lower (line 36) | def ascii_lower(string): function element_has_link_type (line 56) | def element_has_link_type(element, link_type): function handle_element (line 66) | def handle_element(element, box, get_image_from_uri, base_url): function handler (line 78) | def handler(tag): function make_replaced_box (line 87) | def make_replaced_box(element, box, image): function handle_img (line 106) | def handle_img(element, box, get_image_from_uri, base_url): function handle_embed (line 143) | def handle_embed(element, box, get_image_from_uri, base_url): function handle_object (line 162) | def handle_object(element, box, get_image_from_uri, base_url): function handle_colgroup (line 181) | def handle_colgroup(element, box, _get_image_from_uri, _base_url): function handle_col (line 192) | def handle_col(element, box, _get_image_from_uri, _base_url): function handle_svg (line 202) | def handle_svg(element, box, get_image_from_uri, base_url): function get_html_metadata (line 221) | def get_html_metadata(html): function strip_whitespace (line 294) | def strip_whitespace(string): function parse_w3c_date (line 340) | def parse_w3c_date(meta_name, string): FILE: weasyprint/images.py class ImageLoadingError (line 26) | class ImageLoadingError(ValueError): class RasterImage (line 34) | class RasterImage: method __init__ (line 35) | def __init__(self, pillow_image, image_id, image_data, filename=None, method get_intrinsic_size (line 87) | def get_intrinsic_size(self, resolution, font_size): method draw (line 90) | def draw(self, stream, concrete_width, concrete_height, style): method cache_image_data (line 110) | def cache_image_data(self, data, filename=None, slot='source'): method get_x_object (line 117) | def get_x_object(self, interpolate, dpi_ratio): method _get_png_data (line 201) | def _get_png_data(pillow_image): class LazyImage (line 229) | class LazyImage(pydyf.Object): method __init__ (line 230) | def __init__(self, cache, key, data): method data (line 237) | def data(self): class LazyLocalImage (line 241) | class LazyLocalImage(pydyf.Object): method __init__ (line 242) | def __init__(self, filename): method data (line 247) | def data(self): class SVGImage (line 251) | class SVGImage: method __init__ (line 252) | def __init__(self, tree, base_url, url_fetcher, context): method get_intrinsic_size (line 259) | def get_intrinsic_size(self, image_resolution, font_size): method draw (line 277) | def draw(self, stream, concrete_width, concrete_height, _style): function get_image_from_uri (line 287) | def get_image_from_uri(cache, url_fetcher, options, url, forced_mime_typ... function rotate_pillow_image (line 338) | def rotate_pillow_image(pillow_image, orientation): function process_color_stops (line 362) | def process_color_stops(vector_length, positions, hints, style): function normalize_stop_positions (line 414) | def normalize_stop_positions(positions): function gradient_average_color (line 433) | def gradient_average_color(colors, positions): class Gradient (line 467) | class Gradient: method __init__ (line 468) | def __init__(self, color_stops, repeating, color_hints): method get_intrinsic_size (line 479) | def get_intrinsic_size(self, image_resolution, font_size): method draw (line 482) | def draw(self, stream, concrete_width, concrete_height, style): method layout (line 544) | def layout(self, width, height, style): class LinearGradient (line 569) | class LinearGradient(Gradient): method __init__ (line 570) | def __init__(self, color_stops, direction, repeating, color_hints): method layout (line 575) | def layout(self, width, height, style): class RadialGradient (line 667) | class RadialGradient(Gradient): method __init__ (line 668) | def __init__(self, color_stops, shape, size, center, repeating, color_... method layout (line 681) | def layout(self, width, height, style): method _repeat (line 763) | def _repeat(self, width, height, scale_y, points, positions, colors, h... method _resolve_size (line 849) | def _resolve_size(self, width, height, center_x, center_y, style): method _handle_degenerate (line 878) | def _handle_degenerate(self, size_x, size_y): FILE: weasyprint/layout/__init__.py function initialize_page_maker (line 25) | def initialize_page_maker(context, root_box): function layout_fixed_boxes (line 78) | def layout_fixed_boxes(context, pages, containing_page): function layout_document (line 103) | def layout_document(html, root_box, context, max_loops=8): class FakeList (line 219) | class FakeList(list): method append (line 221) | def append(self, item): class LayoutContext (line 225) | class LayoutContext: method __init__ (line 226) | def __init__(self, style_for, get_image_from_uri, font_config, method overflows_page (line 252) | def overflows_page(self, bottom_space, position_y): method overflows (line 256) | def overflows(bottom, position_y): method excluded_shapes (line 262) | def excluded_shapes(self): method excluded_shapes (line 266) | def excluded_shapes(self, excluded_shapes): method create_block_formatting_context (line 269) | def create_block_formatting_context(self, root_box=None, new_list=None): method finish_block_formatting_context (line 275) | def finish_block_formatting_context(self, root_box=None): method create_flex_formatting_context (line 285) | def create_flex_formatting_context(self, root_box): method finish_flex_formatting_context (line 288) | def finish_flex_formatting_context(self, root_box): method add_broken_out_of_flow (line 291) | def add_broken_out_of_flow(self, new_box, box, containing_block, resum... method get_string_set_for (line 295) | def get_string_set_for(self, page, name, keyword='first'): method get_running_element_for (line 300) | def get_running_element_for(self, page, name, keyword='first'): method get_string_or_element_for (line 305) | def get_string_or_element_for(self, store, page, name, keyword): method layout_footnote (line 357) | def layout_footnote(self, footnote): method unlayout_footnote (line 363) | def unlayout_footnote(self, footnote): method report_footnote (line 375) | def report_footnote(self, footnote): method _update_footnote_area (line 381) | def _update_footnote_area(self): FILE: weasyprint/layout/absolute.py class AbsolutePlaceholder (line 11) | class AbsolutePlaceholder: method __init__ (line 13) | def __init__(self, box): method set_laid_out_box (line 19) | def set_laid_out_box(self, new_box): method translate (line 23) | def translate(self, dx=0, dy=0, ignore_floats=False): method copy (line 33) | def copy(self): method __getattr__ (line 39) | def __getattr__(self, name): method __setattr__ (line 42) | def __setattr__(self, name, value): method __repr__ (line 45) | def __repr__(self): function absolute_width (line 50) | def absolute_width(box, context, cb_x, cb_y, cb_width, cb_height): function absolute_height (line 126) | def absolute_height(box, context, cb_x, cb_y, cb_width, cb_height): function absolute_block (line 179) | def absolute_block(context, box, containing_block, fixed_boxes, bottom_s... function absolute_layout (line 232) | def absolute_layout(context, placeholder, containing_block, fixed_boxes, function absolute_box_layout (line 244) | def absolute_box_layout(context, box, containing_block, fixed_boxes, function absolute_replaced (line 275) | def absolute_replaced(context, box, cb_x, cb_y, cb_width, cb_height): FILE: weasyprint/layout/background.py function box_rectangle (line 19) | def box_rectangle(box, which_rectangle): function layout_box_backgrounds (line 35) | def layout_box_backgrounds(page, box, get_image_from_uri, layout_childre... function layout_background_layer (line 94) | def layout_background_layer(box, page, resolution, image, size, clip, re... function layout_backgrounds (line 222) | def layout_backgrounds(page, get_image_from_uri): FILE: weasyprint/layout/block.py function block_level_layout (line 18) | def block_level_layout(context, box, bottom_space, skip_stack, containin... function block_level_layout_switch (line 65) | def block_level_layout_switch(context, box, bottom_space, skip_stack, co... function block_box_layout (line 94) | def block_box_layout(context, box, bottom_space, skip_stack, function block_level_width (line 144) | def block_level_width(box, containing_block, with_min_max=True): function relative_positioning (line 207) | def relative_positioning(box, containing_block): function _out_of_flow_layout (line 238) | def _out_of_flow_layout(context, box, index, child, new_children, function _break_line (line 304) | def _break_line(context, box, line, new_children, needed, page_is_empty,... function _linebox_layout (line 334) | def _linebox_layout(context, box, index, child, new_children, page_is_em... function _in_flow_layout (line 476) | def _in_flow_layout(context, box, index, child, new_children, page_is_em... function block_container_layout (line 662) | def block_container_layout(context, box, bottom_space, skip_stack, page_... function collapse_margin (line 926) | def collapse_margin(adjoining_margins): function block_level_page_break (line 935) | def block_level_page_break(sibling_before, sibling_after): function block_level_page_name (line 991) | def block_level_page_name(sibling_before, sibling_after): function find_earlier_page_break (line 999) | def find_earlier_page_break(context, children, absolute_boxes, fixed_box... function find_last_in_flow_child (line 1077) | def find_last_in_flow_child(children): function reversed_enumerate (line 1084) | def reversed_enumerate(seq): function remove_placeholders (line 1089) | def remove_placeholders(context, box_list, absolute_boxes, fixed_boxes): function avoid_page_break (line 1112) | def avoid_page_break(page_break, context): function force_page_break (line 1119) | def force_page_break(page_break, context): FILE: weasyprint/layout/column.py function columns_layout (line 9) | def columns_layout(context, box, bottom_space, skip_stack, containing_bl... function _report_footnotes (line 385) | def _report_footnotes(context, footnotes_height): function _create_column_box (line 403) | def _create_column_box(box, containing_block, children, width, position_y): FILE: weasyprint/layout/flex.py class FlexLine (line 14) | class FlexLine(list): function flex_layout (line 18) | def flex_layout(context, box, bottom_space, skip_stack, containing_block... FILE: weasyprint/layout/float.py function float_width (line 14) | def float_width(box, context, containing_block): function float_layout (line 21) | def float_layout(context, box, containing_block, absolute_boxes, fixed_b... function find_float_position (line 87) | def find_float_position(context, box, containing_block): function get_clearance (line 119) | def get_clearance(context, box, direction, collapsed_margin=0): function avoid_collisions (line 150) | def avoid_collisions(context, box, containing_block, outer=True): FILE: weasyprint/layout/grid.py function _is_length (line 15) | def _is_length(sizing): function _is_fr (line 19) | def _is_fr(sizing): function _intersect (line 23) | def _intersect(position_1, size_1, position_2, size_2): function _intersect_with_children (line 29) | def _intersect_with_children(x, y, width, height, positions): function _get_line (line 38) | def _get_line(line, lines, side): function _get_placement (line 66) | def _get_placement(start, end, lines): function _get_span (line 122) | def _get_span(place): function _get_second_placement (line 130) | def _get_second_placement(first_placement, second_start, second_end, function _get_sizing_functions (line 180) | def _get_sizing_functions(size): function _get_template_tracks (line 191) | def _get_template_tracks(tracks): function _distribute_extra_space (line 231) | def _distribute_extra_space(affected_sizes, affected_tracks_types, size_... function _resolve_tracks_sizes (line 350) | def _resolve_tracks_sizes(sizing_functions, box_size, children_positions, function grid_layout (line 575) | def grid_layout(context, box, bottom_space, skip_stack, containing_block, FILE: weasyprint/layout/inline.py function iter_line_boxes (line 24) | def iter_line_boxes(context, box, position_y, bottom_space, skip_stack, function get_next_linebox (line 57) | def get_next_linebox(context, linebox, position_y, bottom_space, skip_st... function skip_first_whitespace (line 202) | def skip_first_whitespace(box, skip_stack): function remove_last_whitespace (line 243) | def remove_last_whitespace(context, line): function first_letter_to_box (line 294) | def first_letter_to_box(box, skip_stack, first_letter_style): function atomic_box (line 375) | def atomic_box(context, box, position_x, skip_stack, containing_block, function inline_block_box_layout (line 397) | def inline_block_box_layout(context, box, position_x, skip_stack, function inline_block_baseline (line 426) | def inline_block_baseline(box): function inline_block_width (line 449) | def inline_block_width(box, context, containing_block): function split_inline_level (line 458) | def split_inline_level(context, box, position_x, max_x, bottom_space, function _out_of_flow_layout (line 559) | def _out_of_flow_layout(context, box, containing_block, index, child, function _break_waiting_children (line 644) | def _break_waiting_children(context, box, max_x, bottom_space, initial_s... function _adjust_line_height (line 696) | def _adjust_line_height(box): function split_inline_box (line 709) | def split_inline_box(context, box, position_x, max_x, bottom_space, skip... function split_text_box (line 933) | def split_text_box(context, box, available_width, skip, is_line_start=Tr... function line_box_verticality (line 996) | def line_box_verticality(box): function translate_subtree (line 1038) | def translate_subtree(box, dy): function aligned_subtree_verticality (line 1049) | def aligned_subtree_verticality(box, top_bottom_subtrees, baseline_y): function inline_box_verticality (line 1062) | def inline_box_verticality(box, top_bottom_subtrees, baseline_y): function text_align (line 1144) | def text_align(context, line, available_width, last): function justify_line (line 1181) | def justify_line(context, line, extra_width): function count_expandable_spaces (line 1188) | def count_expandable_spaces(box): function add_word_spacing (line 1199) | def add_word_spacing(context, box, justification_spacing, x_advance): function is_phantom_linebox (line 1230) | def is_phantom_linebox(linebox): function can_break_inside (line 1246) | def can_break_inside(box): FILE: weasyprint/layout/leader.py function leader_index (line 6) | def leader_index(box): function handle_leader (line 18) | def handle_leader(context, line, containing_block): FILE: weasyprint/layout/min_max.py function handle_min_max_width (line 6) | def handle_min_max_width(function): function handle_min_max_height (line 22) | def handle_min_max_height(function): FILE: weasyprint/layout/page.py class OrientedBox (line 20) | class OrientedBox: method sugar (line 22) | def sugar(self): method outer (line 26) | def outer(self): method outer (line 30) | def outer(self, new_outer_width): method outer_min_content_size (line 36) | def outer_min_content_size(self): method outer_max_content_size (line 41) | def outer_max_content_size(self): class VerticalBox (line 46) | class VerticalBox(OrientedBox): method __init__ (line 47) | def __init__(self, context, box): method restore_box_attributes (line 59) | def restore_box_attributes(self): method min_content_size (line 67) | def min_content_size(self): method max_content_size (line 71) | def max_content_size(self): class HorizontalBox (line 75) | class HorizontalBox(OrientedBox): method __init__ (line 76) | def __init__(self, context, box): method restore_box_attributes (line 88) | def restore_box_attributes(self): method min_content_size (line 95) | def min_content_size(self): method max_content_size (line 102) | def max_content_size(self): function compute_fixed_dimension (line 109) | def compute_fixed_dimension(context, box, outer, vertical, top_or_left): function compute_variable_dimension (line 180) | def compute_variable_dimension(context, side_boxes, vertical, available_... function _standardize_page_based_counters (line 331) | def _standardize_page_based_counters(style, pseudo_type): function make_margin_boxes (line 356) | def make_margin_boxes(context, page, state): function margin_box_content_layout (line 489) | def margin_box_content_layout(context, page, box): function page_width_or_height (line 521) | def page_width_or_height(box, containing_block_size): function page_width (line 553) | def page_width(box, context, containing_block_width): function page_height (line 558) | def page_height(box, context, containing_block_height): function make_page (line 562) | def make_page(context, root_box, page_type, resume_at, page_number, function set_page_type_computed_styles (line 816) | def set_page_type_computed_styles(page_type, html, style_for): function _includes_resume_at (line 838) | def _includes_resume_at(resume_at, page_group_resume_at): function _update_page_groups (line 849) | def _update_page_groups(page_groups, resume_at, next_page, root_box, bla... function remake_page (line 908) | def remake_page(index, context, root_box, html): function make_all_pages (line 990) | def make_all_pages(context, root_box, html, pages): FILE: weasyprint/layout/percent.py function percentage (line 10) | def percentage(value, computed, refer_to): function resolve_one_percentage (line 27) | def resolve_one_percentage(box, property_name, refer_to): function resolve_position_percentages (line 43) | def resolve_position_percentages(box, containing_block): function resolve_percentages (line 51) | def resolve_percentages(box, containing_block): function resolve_radii_percentages (line 107) | def resolve_radii_percentages(box): function adjust_box_sizing (line 128) | def adjust_box_sizing(box, axis): FILE: weasyprint/layout/preferred.py function shrink_to_fit (line 23) | def shrink_to_fit(context, box, available_content_width): function min_content_width (line 39) | def min_content_width(context, box, outer=True): function max_content_width (line 66) | def max_content_width(context, box, outer=True): function _block_content_width (line 93) | def _block_content_width(context, box, function, outer): function min_max (line 134) | def min_max(box, width): function margin_width (line 165) | def margin_width(box, width, left=True, right=True): function adjust (line 211) | def adjust(box, outer, width, left=True, right=True): function block_min_content_width (line 226) | def block_min_content_width(context, box, outer=True): function block_max_content_width (line 232) | def block_max_content_width(context, box, outer=True): function inline_min_content_width (line 237) | def inline_min_content_width(context, box, outer=True, skip_stack=None, function inline_max_content_width (line 253) | def inline_max_content_width(context, box, outer=True, is_line_start=Fal... function column_group_content_width (line 263) | def column_group_content_width(context, box): function table_cell_min_content_width (line 275) | def table_cell_min_content_width(context, box, outer): function table_cell_min_max_content_width (line 293) | def table_cell_min_max_content_width(context, box, outer=True): function inline_line_widths (line 301) | def inline_line_widths(context, box, outer, is_line_start, minimum, skip... function _percentage_contribution (line 416) | def _percentage_contribution(box): function table_and_columns_preferred_widths (line 437) | def table_and_columns_preferred_widths(context, box, outer=True): function replaced_min_content_width (line 714) | def replaced_min_content_width(box, outer=True): function replaced_max_content_width (line 748) | def replaced_max_content_width(box, outer=True): function flex_min_content_width (line 774) | def flex_min_content_width(context, box, outer=True): function flex_max_content_width (line 790) | def flex_max_content_width(context, box, outer=True): function trailing_whitespace_size (line 805) | def trailing_whitespace_size(context, box): FILE: weasyprint/layout/replaced.py function default_image_sizing (line 11) | def default_image_sizing(intrinsic_width, intrinsic_height, intrinsic_ra... function contain_constraint_image_sizing (line 50) | def contain_constraint_image_sizing(constraint_width, constraint_height, function cover_constraint_image_sizing (line 63) | def cover_constraint_image_sizing(constraint_width, constraint_height, function _constraint_image_sizing (line 76) | def _constraint_image_sizing(constraint_width, constraint_height, function replacedbox_layout (line 86) | def replacedbox_layout(box): function replaced_box_width (line 134) | def replaced_box_width(box, containing_block): function replaced_box_height (line 169) | def replaced_box_height(box): function inline_replaced_box_layout (line 192) | def inline_replaced_box_layout(box, containing_block): function inline_replaced_box_width_height (line 200) | def inline_replaced_box_width_height(box, containing_block): function min_max_auto_replaced (line 210) | def min_max_auto_replaced(box): function block_replaced_box_layout (line 266) | def block_replaced_box_layout(context, box, containing_block): function block_replaced_width (line 299) | def block_replaced_width(box, containing_block): FILE: weasyprint/layout/table.py function table_layout (line 13) | def table_layout(context, table, bottom_space, skip_stack, containing_bl... function add_top_padding (line 633) | def add_top_padding(box, extra_padding): function fixed_table_layout (line 644) | def fixed_table_layout(box): function auto_table_layout (line 730) | def auto_table_layout(context, box, containing_block): function table_wrapper_width (line 825) | def table_wrapper_width(context, wrapper, containing_block): function cell_baseline (line 838) | def cell_baseline(cell): function find_in_flow_baseline (line 853) | def find_in_flow_baseline(box, last=False, baseline_types=(boxes.LineBox... function distribute_excess_width (line 873) | def distribute_excess_width(context, grid, excess_width, column_widths, ... function collapse_table_borders (line 946) | def collapse_table_borders(table, grid_width, grid_height): FILE: weasyprint/logger.py class CallbackHandler (line 27) | class CallbackHandler(logging.Handler): method __init__ (line 29) | def __init__(self, callback): function capture_logs (line 35) | def capture_logs(logger='weasyprint', level=None): FILE: weasyprint/matrix.py class Matrix (line 4) | class Matrix(list): method __init__ (line 5) | def __init__(self, a=1, b=0, c=0, d=1, e=0, f=0, matrix=None): method __matmul__ (line 10) | def __matmul__(self, other): method invert (line 17) | def invert(self): method determinant (line 38) | def determinant(self): method transform_point (line 45) | def transform_point(self, x, y): method values (line 49) | def values(self): FILE: weasyprint/pdf/__init__.py function _w3c_date_to_pdf (line 28) | def _w3c_date_to_pdf(string, attr_name): function _reference_resources (line 58) | def _reference_resources(pdf, resources, images, fonts, color_profiles): function _use_references (line 67) | def _use_references(pdf, resources, images, color_profiles): function generate_pdf (line 119) | def generate_pdf(document, target, zoom, **options): FILE: weasyprint/pdf/anchors.py function add_links (line 21) | def add_links(links_and_anchors, matrix, pdf, page, names, tags): function add_outlines (line 57) | def add_outlines(pdf, bookmarks, parent=None): function add_forms (line 97) | def add_forms(forms, matrix, pdf, page, resources, stream, font_map): function add_annotations (line 281) | def add_annotations(links, matrix, document, pdf, page, annot_files, com... function write_pdf_attachment (line 331) | def write_pdf_attachment(pdf, attachment, compress): function resolve_links (line 386) | def resolve_links(pages): FILE: weasyprint/pdf/debug.py function debug (line 8) | def debug(pdf, metadata, document, page_streams, attachments, compress): FILE: weasyprint/pdf/fonts.py class Font (line 20) | class Font: method __init__ (line 21) | def __init__(self, pango_font, description, font_size): method get_unused_glyph_id (line 116) | def get_unused_glyph_id(self, codepoint): method clean (line 128) | def clean(self, to_unicode, hinting): method type (line 190) | def type(self): method subset (line 193) | def subset(self, to_unicode, hinting): method _harfbuzz_subset (line 204) | def _harfbuzz_subset(self, to_unicode, hinting): method _fonttools_subset (line 268) | def _fonttools_subset(self, to_unicode, hinting): function build_fonts_dictionary (line 298) | def build_fonts_dictionary(pdf, fonts, compress, subset, options): function _build_bitmap_font_dictionary (line 396) | def _build_bitmap_font_dictionary(font_dictionary, pdf, font, widths, co... function _build_vector_font_dictionary (line 561) | def _build_vector_font_dictionary(font_dictionary, pdf, font, widths, co... FILE: weasyprint/pdf/metadata.py class DocumentMetadata (line 27) | class DocumentMetadata: method __init__ (line 32) | def __init__(self, title=None, authors=None, description=None, keyword... method include_in_pdf (line 84) | def include_in_pdf(self, pdf, variant, version, conformance, compress): method generate_rdf_metadata (line 101) | def generate_rdf_metadata(self, variant, version, conformance): FILE: weasyprint/pdf/pdfa.py function pdfa (line 8) | def pdfa(pdf, metadata, document, page_streams, attachments, compress, FILE: weasyprint/pdf/pdfua.py function pdfua (line 6) | def pdfua(pdf, metadata, document, page_streams, attachments, compress, ... FILE: weasyprint/pdf/pdfx.py function pdfx (line 9) | def pdfx(pdf, metadata, document, page_streams, attachments, compress, v... FILE: weasyprint/pdf/stream.py class Stream (line 14) | class Stream(pydyf.Stream): method __init__ (line 16) | def __init__(self, fonts, page_rectangle, resources, images, tags, col... method clone (line 36) | def clone(self, **kwargs): method ctm (line 54) | def ctm(self): method push_state (line 57) | def push_state(self): method pop_state (line 61) | def pop_state(self): method transform (line 72) | def transform(self, a=1, b=0, c=0, d=1, e=0, f=0): method begin_text (line 76) | def begin_text(self): method end_text (line 83) | def end_text(self): method set_color (line 87) | def set_color(self, color, stroke=False): method set_font_size (line 129) | def set_font_size(self, font, size): method set_state (line 135) | def set_state(self, state): method set_alpha (line 140) | def set_alpha(self, alpha, stroke=False, fill=None): method set_alpha_state (line 160) | def set_alpha_state(self, x, y, width, height, mode='luminosity'): method set_blend_mode (line 175) | def set_blend_mode(self, mode): method add_font (line 181) | def add_font(self, pango_font): method add_group (line 187) | def add_group(self, x, y, width, height): method add_image (line 213) | def add_image(self, image, interpolate, ratio): method add_pattern (line 229) | def add_pattern(self, x, y, width, height, repeat_width, repeat_height... method add_shading (line 254) | def add_shading(self, shading_type, color_space, domain, coords, extend, method stacked (line 270) | def stacked(self): method marked (line 279) | def marked(self, box, tag): method artifact (line 294) | def artifact(self): method create_interpolation_function (line 304) | def create_interpolation_function(domain, c0, c1, n): method create_stitching_function (line 314) | def create_stitching_function(domain, encode, bounds, sub_functions): FILE: weasyprint/pdf/tags.py function add_tags (line 12) | def add_tags(pdf, document, page_streams): function _get_pdf_tag (line 70) | def _get_pdf_tag(tag): function _build_box_tree (line 114) | def _build_box_tree(box, parent, pdf, page_number, nums, links, tags): FILE: weasyprint/stacking.py class StackingContext (line 7) | class StackingContext: method __init__ (line 14) | def __init__(self, box, child_contexts, blocks, floats, blocks_and_cells, method from_page (line 42) | def from_page(cls, page): method from_box (line 51) | def from_box(cls, box, page, child_contexts=None): function _dispatch (line 69) | def _dispatch(box, page, child_contexts, blocks, floats, blocks_and_cells): function _dispatch_children (line 121) | def _dispatch_children(box, page, child_contexts, blocks, floats, FILE: weasyprint/svg/__init__.py class Node (line 87) | class Node: method __init__ (line 90) | def __init__(self, wrapper, style): method copy (line 101) | def copy(self): method get (line 105) | def get(self, key, default=None): method tag (line 110) | def tag(self): method text (line 115) | def text(self): method tail (line 120) | def tail(self): method display (line 125) | def display(self): method visible (line 130) | def visible(self): method cascade (line 134) | def cascade(self, child): method __iter__ (line 186) | def __iter__(self): method get_viewbox (line 197) | def get_viewbox(self): method get_href (line 203) | def get_href(self, base_url): method del_href (line 209) | def del_href(self): method process_whitespace (line 215) | def process_whitespace(string, preserve): method get_child (line 227) | def get_child(self, id_): method text_children (line 238) | def text_children(self, element, trailing_space, text_root=False): method flatten (line 301) | def flatten(self): method pop_rotation (line 310) | def pop_rotation(self, original_rotate, rotate): method override_iter (line 316) | def override_iter(self, iterator): method set_svg_size (line 323) | def set_svg_size(self, svg, concrete_width, concrete_height): class LazyDefs (line 336) | class LazyDefs: method __init__ (line 337) | def __init__(self, name, svg): method __getitem__ (line 342) | def __getitem__(self, name): method get (line 345) | def get(self, name): method __contains__ (line 359) | def __contains__(self, name): class SVG (line 363) | class SVG: method __init__ (line 366) | def __init__(self, tree, url, font_config, url_fetcher=None): method get_intrinsic_size (line 391) | def get_intrinsic_size(self, font_size): method get_viewbox (line 407) | def get_viewbox(self): method point (line 411) | def point(self, x, y, font_size): method length (line 417) | def length(self, length, font_size): method draw (line 421) | def draw(self, stream, concrete_width, concrete_height, base_url, cont... method draw_node (line 432) | def draw_node(self, node, font_size, fill_stroke=True): method draw_markers (line 588) | def draw_markers(self, node, font_size, fill_stroke): method get_paint (line 700) | def get_paint(value): method set_graphical_state (line 716) | def set_graphical_state(self, node, font_size, text=False): method fill_stroke (line 782) | def fill_stroke(self, node, font_size, text=False): method transform (line 821) | def transform(self, node, font_size): method inherit_element (line 833) | def inherit_element(self, element, defs): method calculate_bounding_box (line 849) | def calculate_bounding_box(self, node, font_size, stroke=True): class Pattern (line 860) | class Pattern(SVG): method __init__ (line 862) | def __init__(self, tree, svg): method draw_node (line 867) | def draw_node(self, node, font_size, fill_stroke=True): FILE: weasyprint/svg/bounding_box.py function bounding_box (line 11) | def bounding_box(svg, node, font_size, stroke): function bounding_box_rect (line 26) | def bounding_box_rect(svg, node, font_size): function bounding_box_circle (line 34) | def bounding_box_circle(svg, node, font_size): function bounding_box_ellipse (line 41) | def bounding_box_ellipse(svg, node, font_size): function bounding_box_line (line 48) | def bounding_box_line(svg, node, font_size): function bounding_box_polyline (line 57) | def bounding_box_polyline(svg, node, font_size): function bounding_box_path (line 68) | def bounding_box_path(svg, node, font_size): function bounding_box_text (line 207) | def bounding_box_text(svg, node, font_size): function bounding_box_g (line 212) | def bounding_box_g(svg, node, font_size): function bounding_box_use (line 225) | def bounding_box_use(svg, node, font_size): function _bounding_box_elliptical_arc (line 237) | def _bounding_box_elliptical_arc(x1, y1, rx, ry, phi, large, sweep, x, y): function extend_bounding_box (line 337) | def extend_bounding_box(bounding_box, points): function is_valid_bounding_box (line 350) | def is_valid_bounding_box(bounding_box): FILE: weasyprint/svg/css.py function find_stylesheets_rules (line 13) | def find_stylesheets_rules(tree, stylesheet_rules, url, font_config, url... function parse_declarations (line 50) | def parse_declarations(input): function parse_stylesheets (line 68) | def parse_stylesheets(tree, url, font_config, url_fetcher): FILE: weasyprint/svg/defs.py function get_use_tree (line 11) | def get_use_tree(svg, node, font_size): function use (line 45) | def use(svg, node, font_size): function draw_gradient_or_pattern (line 71) | def draw_gradient_or_pattern(svg, node, name, font_size, opacity, stroke): function draw_gradient (line 81) | def draw_gradient(svg, node, gradient, font_size, opacity, stroke): function spread_linear_gradient (line 239) | def spread_linear_gradient(spread, positions, colors, x1, y1, x2, y2, function spread_radial_gradient (line 310) | def spread_radial_gradient(spread, positions, colors, fx, fy, fr, cx, cy... function draw_pattern (line 419) | def draw_pattern(svg, node, pattern, font_size, opacity, stroke): function apply_filters (line 470) | def apply_filters(svg, node, filter_node, font_size): function paint_mask (line 492) | def paint_mask(svg, node, mask, font_size): FILE: weasyprint/svg/images.py function svg (line 7) | def svg(svg, node, font_size): function image (line 36) | def image(svg, node, font_size): FILE: weasyprint/svg/path.py function _rotate (line 11) | def _rotate(x, y, angle): function path (line 16) | def path(svg, node, font_size): FILE: weasyprint/svg/shapes.py function circle (line 8) | def circle(svg, node, font_size): function ellipse (line 24) | def ellipse(svg, node, font_size): function rect (line 45) | def rect(svg, node, font_size): function line (line 91) | def line(svg, node, font_size): function polygon (line 101) | def polygon(svg, node, font_size): function polyline (line 107) | def polyline(svg, node, font_size): FILE: weasyprint/svg/text.py class TextBox (line 10) | class TextBox: method __init__ (line 12) | def __init__(self, pango_layout, style): method text (line 17) | def text(self): class Style (line 21) | class Style(dict): function text (line 25) | def text(svg, node, font_size): FILE: weasyprint/svg/utils.py class PointError (line 13) | class PointError(Exception): function normalize (line 17) | def normalize(string): function size (line 26) | def size(string, font_size=None, percentage_reference=None): function alpha_value (line 60) | def alpha_value(value): function point (line 71) | def point(svg, string, font_size): function preserve_ratio (line 82) | def preserve_ratio(svg, node, font_size, width, height, viewbox=None): function parse_url (line 138) | def parse_url(url): function color (line 150) | def color(string): function transform (line 155) | def transform(transform_string, transform_origin, font_size, normalized_... FILE: weasyprint/text/constants.py function get_lang_quotes (line 466) | def get_lang_quotes(lang): FILE: weasyprint/text/ffi.py function _dlopen (line 443) | def _dlopen(ffi, *names, allow_fail=False): function unicode_to_char_p (line 503) | def unicode_to_char_p(string): FILE: weasyprint/text/fonts.py function _check_font_configuration (line 27) | def _check_font_configuration(font_config): # pragma: no cover class FontConfiguration (line 77) | class FontConfiguration: method __init__ (line 91) | def __init__(self): method add_font_face (line 115) | def add_font_face(self, rule_descriptors, url_fetcher): method __del__ (line 252) | def __del__(self): function font_features (line 258) | def font_features(font_kerning='normal', font_variant_ligatures='normal', function get_font_description (line 328) | def get_font_description(style): function get_pango_font_hb_face (line 352) | def get_pango_font_hb_face(pango_font): function get_hb_object_data (line 359) | def get_hb_object_data(hb_object, ot_color=None, glyph=None): function get_pango_font_key (line 379) | def get_pango_font_key(pango_font): FILE: weasyprint/text/line_break.py function line_size (line 13) | def line_size(line, style): function first_line_metrics (line 29) | def first_line_metrics(first_line, text, layout, resume_at, space_collapse, class Layout (line 57) | class Layout: method __init__ (line 59) | def __init__(self, style, justification_spacing=0, max_width=None): method setup (line 64) | def setup(self, style): method get_first_line (line 134) | def get_first_line(self): method set_text (line 141) | def set_text(self, text, justify=False): method set_tabs (line 204) | def set_tabs(self): method deactivate (line 220) | def deactivate(self): method reactivate (line 223) | def reactivate(self, style): function create_layout (line 228) | def create_layout(text, style, context, max_width, justification_spacing): function split_first_line (line 242) | def split_first_line(text, style, context, max_width, justification_spac... function _font_style_cache_key (line 511) | def _font_style_cache_key(style, include_size=False): function strut (line 533) | def strut(style): function character_ratio (line 563) | def character_ratio(style, unit): function get_log_attrs (line 602) | def get_log_attrs(text, lang): function get_next_break_point (line 621) | def get_next_break_point(log_attrs): function get_next_break_point_from_text (line 627) | def get_next_break_point_from_text(text, lang): function can_break_text (line 635) | def can_break_text(text, lang): function get_next_word_boundaries (line 639) | def get_next_word_boundaries(text, lang): function get_last_word_end (line 654) | def get_last_word_end(text, lang): FILE: weasyprint/urls.py class StreamingGzipFile (line 35) | class StreamingGzipFile(GzipFile): method __init__ (line 36) | def __init__(self, fileobj): method close (line 40) | def close(self): method seekable (line 44) | def seekable(self): function iri_to_uri (line 48) | def iri_to_uri(url): function path2url (line 64) | def path2url(path): function url_is_absolute (line 95) | def url_is_absolute(url): function get_url_attribute (line 101) | def get_url_attribute(element, attr_name, base_url, allow_relative=False): function get_url_tuple (line 120) | def get_url_tuple(url, base_url): function url_join (line 130) | def url_join(base_url, url, allow_relative, context, context_args): function get_link_attribute (line 145) | def get_link_attribute(element, attr_name, base_url): function ensure_url (line 175) | def ensure_url(string): function default_url_fetcher (line 185) | def default_url_fetcher(url, timeout=10, ssl_context=None, http_headers=... function select_source (line 204) | def select_source(guess=None, filename=None, url=None, file_obj=None, st... class URLFetchingError (line 270) | class URLFetchingError(IOError): class FatalURLFetchingError (line 274) | class FatalURLFetchingError(BaseException): class URLFetcher (line 278) | class URLFetcher(request.OpenerDirector): method __init__ (line 297) | def __init__(self, timeout=10, ssl_context=None, http_headers=None, method fetch (line 317) | def fetch(self, url, headers=None): method open (line 367) | def open(self, url, data=None, timeout=None): method __call__ (line 373) | def __call__(self, url): class URLFetcherResponse (line 377) | class URLFetcherResponse: method __init__ (line 395) | def __init__(self, url, body=None, headers=None, status=200, **kwargs): method read (line 417) | def read(self, *args, **kwargs): method close (line 420) | def close(self): method path (line 431) | def path(self): method content_type (line 436) | def content_type(self): method charset (line 440) | def charset(self): method geturl (line 443) | def geturl(self): method info (line 446) | def info(self): method code (line 450) | def code(self): method getcode (line 453) | def getcode(self): function fetch (line 458) | def fetch(url_fetcher, url):