From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- layout/base/tests/Ahem.ttf | Bin 0 -> 12480 bytes layout/base/tests/accessiblecaret_magnifier.html | 91 ++ .../tests/border_radius_hit_testing_iframe.html | 27 + layout/base/tests/browser.ini | 36 + layout/base/tests/browser_bug1701027-1.js | 130 ++ layout/base/tests/browser_bug1701027-2.js | 126 ++ layout/base/tests/browser_bug1757410.js | 62 + layout/base/tests/browser_bug1787079.js | 86 + layout/base/tests/browser_bug1791083.js | 81 + layout/base/tests/browser_bug617076.js | 71 + layout/base/tests/browser_bug839103.js | 82 + .../tests/browser_disableDialogs_onbeforeunload.js | 64 + ...rowser_onbeforeunload_only_after_interaction.js | 75 + ...beforeunload_only_after_interaction_in_frame.js | 96 ++ ...er_scroll_into_view_in_out_of_process_iframe.js | 50 + ...lect_popup_position_in_out_of_process_iframe.js | 122 ++ .../base/tests/browser_visual_viewport_iframe.js | 59 + layout/base/tests/bug1007065-1-ref.html | 15 + layout/base/tests/bug1007065-1.html | 15 + layout/base/tests/bug1007067-1-ref.html | 20 + layout/base/tests/bug1007067-1.html | 20 + layout/base/tests/bug1061468-ref.html | 13 + layout/base/tests/bug1061468.html | 40 + layout/base/tests/bug106855-1-ref.html | 27 + layout/base/tests/bug106855-1.html | 25 + layout/base/tests/bug106855-2.html | 26 + layout/base/tests/bug1078327_inner.html | 107 ++ layout/base/tests/bug1080360_inner.html | 83 + layout/base/tests/bug1080361_inner.html | 114 ++ layout/base/tests/bug1082486-1-ref.html | 18 + layout/base/tests/bug1082486-1.html | 27 + layout/base/tests/bug1082486-2-ref.html | 12 + layout/base/tests/bug1082486-2.html | 12 + layout/base/tests/bug1093686_inner.html | 83 + layout/base/tests/bug1097242-1-ref.html | 14 + layout/base/tests/bug1097242-1.html | 22 + layout/base/tests/bug1109968-1-ref.html | 17 + layout/base/tests/bug1109968-1.html | 23 + layout/base/tests/bug1109968-2-ref.html | 17 + layout/base/tests/bug1109968-2.html | 23 + layout/base/tests/bug1123067-1.html | 38 + layout/base/tests/bug1123067-2.html | 34 + layout/base/tests/bug1123067-3.html | 35 + layout/base/tests/bug1123067-ref.html | 33 + layout/base/tests/bug1132768-1-ref.html | 12 + layout/base/tests/bug1132768-1.html | 17 + layout/base/tests/bug1153130_inner.html | 72 + layout/base/tests/bug1162990_inner_1.html | 146 ++ layout/base/tests/bug1162990_inner_2.html | 147 ++ layout/base/tests/bug1226904.html | 35 + layout/base/tests/bug1237236-1-ref.html | 30 + layout/base/tests/bug1237236-1.html | 31 + layout/base/tests/bug1237236-2-ref.html | 29 + layout/base/tests/bug1237236-2.html | 30 + layout/base/tests/bug1258308-1-ref.html | 34 + layout/base/tests/bug1258308-1.html | 42 + layout/base/tests/bug1258308-2-ref.html | 30 + layout/base/tests/bug1258308-2.html | 31 + layout/base/tests/bug1259949-1-ref.html | 30 + layout/base/tests/bug1259949-1.html | 34 + layout/base/tests/bug1259949-2-ref.html | 30 + layout/base/tests/bug1259949-2.html | 30 + layout/base/tests/bug1263288-ref.html | 28 + layout/base/tests/bug1263288.html | 30 + layout/base/tests/bug1263357-1-ref.html | 28 + layout/base/tests/bug1263357-1.html | 34 + layout/base/tests/bug1263357-2-ref.html | 28 + layout/base/tests/bug1263357-2.html | 34 + layout/base/tests/bug1263357-3-ref.html | 27 + layout/base/tests/bug1263357-3.html | 28 + layout/base/tests/bug1263357-4-ref.html | 27 + layout/base/tests/bug1263357-4.html | 28 + layout/base/tests/bug1263357-5-ref.html | 27 + layout/base/tests/bug1263357-5.html | 28 + layout/base/tests/bug1354478-1-ref.html | 35 + layout/base/tests/bug1354478-1.html | 35 + layout/base/tests/bug1354478-2-ref.html | 35 + layout/base/tests/bug1354478-2.html | 35 + layout/base/tests/bug1354478-3-ref.html | 38 + layout/base/tests/bug1354478-3.html | 38 + layout/base/tests/bug1354478-4-ref.html | 38 + layout/base/tests/bug1354478-4.html | 38 + layout/base/tests/bug1354478-5-ref.html | 38 + layout/base/tests/bug1354478-5.html | 38 + layout/base/tests/bug1354478-6-ref.html | 38 + layout/base/tests/bug1354478-6.html | 38 + layout/base/tests/bug1359411-ref.html | 11 + layout/base/tests/bug1359411.html | 12 + layout/base/tests/bug1415416-ref.html | 21 + layout/base/tests/bug1415416.html | 28 + layout/base/tests/bug1423331-1-ref.html | 23 + layout/base/tests/bug1423331-1.html | 28 + layout/base/tests/bug1423331-2-ref.html | 23 + layout/base/tests/bug1423331-2.html | 29 + layout/base/tests/bug1423331-3.html | 26 + layout/base/tests/bug1423331-4.html | 27 + layout/base/tests/bug1448730.html | 103 ++ layout/base/tests/bug1484094-1-ref.html | 21 + layout/base/tests/bug1484094-1.html | 23 + layout/base/tests/bug1484094-2-ref.html | 21 + layout/base/tests/bug1484094-2.html | 23 + layout/base/tests/bug1496118-ref.html | 25 + layout/base/tests/bug1496118.html | 37 + layout/base/tests/bug1506547-1.html | 29 + layout/base/tests/bug1506547-2.html | 30 + layout/base/tests/bug1506547-3.html | 32 + layout/base/tests/bug1506547-4-ref.html | 21 + layout/base/tests/bug1506547-4.html | 21 + layout/base/tests/bug1506547-5-ref.html | 26 + layout/base/tests/bug1506547-5.html | 27 + layout/base/tests/bug1506547-6.html | 27 + layout/base/tests/bug1510942-1-ref.html | 20 + layout/base/tests/bug1510942-1.html | 21 + layout/base/tests/bug1510942-2-ref.html | 4 + layout/base/tests/bug1510942-2.html | 21 + layout/base/tests/bug1516963-1-ref.html | 16 + layout/base/tests/bug1516963-1.html | 30 + layout/base/tests/bug1516963-2-ref.html | 16 + layout/base/tests/bug1516963-2.html | 30 + layout/base/tests/bug1516963-3-ref.html | 20 + layout/base/tests/bug1516963-3.html | 34 + layout/base/tests/bug1516963-4-ref.html | 20 + layout/base/tests/bug1516963-4.html | 34 + layout/base/tests/bug1516963-5-ref.html | 16 + layout/base/tests/bug1516963-5.html | 30 + layout/base/tests/bug1516963-6-ref.html | 20 + layout/base/tests/bug1516963-6.html | 34 + layout/base/tests/bug1518339-1-ref.html | 16 + layout/base/tests/bug1518339-1.html | 23 + layout/base/tests/bug1518339-2-ref.html | 25 + layout/base/tests/bug1518339-2.html | 23 + layout/base/tests/bug1524266-1-ref.html | 30 + layout/base/tests/bug1524266-1.html | 27 + layout/base/tests/bug1524266-2-ref.html | 24 + layout/base/tests/bug1524266-2.html | 38 + layout/base/tests/bug1524266-3.html | 37 + layout/base/tests/bug1524266-4.html | 30 + layout/base/tests/bug1529492-1-ref.html | 30 + layout/base/tests/bug1529492-1.html | 35 + layout/base/tests/bug1550869-1-ref.html | 19 + layout/base/tests/bug1550869-1a.html | 33 + layout/base/tests/bug1550869-1b.html | 33 + layout/base/tests/bug1550869-1c.html | 33 + layout/base/tests/bug1550869-2-ref.html | 15 + layout/base/tests/bug1550869-2a.html | 30 + layout/base/tests/bug1550869-2b.html | 30 + layout/base/tests/bug1550869-2c.html | 30 + layout/base/tests/bug1550869-2d.html | 30 + layout/base/tests/bug1591282-1-ref.html | 23 + layout/base/tests/bug1591282-1.html | 27 + layout/base/tests/bug1611661-ref.html | 18 + layout/base/tests/bug1611661.html | 23 + layout/base/tests/bug1634543-1-ref.html | 20 + layout/base/tests/bug1634543-1.html | 25 + layout/base/tests/bug1634543-2.html | 24 + layout/base/tests/bug1634543-3.html | 20 + layout/base/tests/bug1634543-4.html | 23 + layout/base/tests/bug1634743-1-ref.html | 23 + layout/base/tests/bug1634743-1.html | 29 + layout/base/tests/bug1637476-1-ref.html | 24 + layout/base/tests/bug1637476-1.html | 24 + layout/base/tests/bug1637476-2-ref.html | 24 + layout/base/tests/bug1637476-2.html | 24 + layout/base/tests/bug1637476-3-ref.html | 24 + layout/base/tests/bug1637476-3.html | 24 + layout/base/tests/bug1663475-1-ref.html | 28 + layout/base/tests/bug1663475-1.html | 32 + layout/base/tests/bug1663475-2-ref.html | 29 + layout/base/tests/bug1663475-2.html | 33 + layout/base/tests/bug1670531-1.html | 27 + layout/base/tests/bug1670531-2.html | 27 + layout/base/tests/bug1670531-3-ref.html | 27 + layout/base/tests/bug1670531-3.html | 27 + layout/base/tests/bug1670531-4.html | 27 + layout/base/tests/bug240933-1-ref.html | 12 + layout/base/tests/bug240933-1.html | 13 + layout/base/tests/bug240933-2.html | 15 + layout/base/tests/bug369950-subframe.xml | 11 + layout/base/tests/bug389321-1-ref.html | 17 + layout/base/tests/bug389321-1.html | 19 + layout/base/tests/bug389321-2-ref.html | 9 + layout/base/tests/bug389321-2.html | 9 + layout/base/tests/bug389321-3-ref.html | 9 + layout/base/tests/bug389321-3.html | 9 + layout/base/tests/bug450930.xhtml | 181 ++ layout/base/tests/bug482484-ref.html | 18 + layout/base/tests/bug482484.html | 22 + layout/base/tests/bug503399-ref.html | 42 + layout/base/tests/bug503399.html | 41 + layout/base/tests/bug512295-1-ref.html | 30 + layout/base/tests/bug512295-1.html | 36 + layout/base/tests/bug512295-2-ref.html | 30 + layout/base/tests/bug512295-2.html | 36 + layout/base/tests/bug558663.html | 103 ++ layout/base/tests/bug583889_inner1.html | 64 + layout/base/tests/bug583889_inner2.html | 5 + layout/base/tests/bug585922-ref.html | 21 + layout/base/tests/bug585922.html | 35 + layout/base/tests/bug597519-1-ref.html | 12 + layout/base/tests/bug597519-1.html | 15 + layout/base/tests/bug602141-1-ref.html | 18 + layout/base/tests/bug602141-1.html | 21 + layout/base/tests/bug602141-2-ref.html | 18 + layout/base/tests/bug602141-2.html | 23 + layout/base/tests/bug602141-3-ref.html | 18 + layout/base/tests/bug602141-3.html | 21 + layout/base/tests/bug602141-4-ref.html | 18 + layout/base/tests/bug602141-4.html | 21 + layout/base/tests/bug612271-1.html | 15 + layout/base/tests/bug612271-2.html | 15 + layout/base/tests/bug612271-3.html | 15 + layout/base/tests/bug612271-ref.html | 17 + layout/base/tests/bug613433-1.html | 24 + layout/base/tests/bug613433-2.html | 24 + layout/base/tests/bug613433-3.html | 24 + layout/base/tests/bug613433-ref.html | 21 + layout/base/tests/bug613807-1-ref.html | 6 + layout/base/tests/bug613807-1.html | 90 + layout/base/tests/bug632215-1.html | 29 + layout/base/tests/bug632215-2.html | 28 + layout/base/tests/bug632215-ref.html | 17 + layout/base/tests/bug633044-1-ref.html | 16 + layout/base/tests/bug633044-1.html | 24 + layout/base/tests/bug634406-1-ref.html | 10 + layout/base/tests/bug634406-1.html | 16 + layout/base/tests/bug644428-1-ref.html | 17 + layout/base/tests/bug644428-1.html | 19 + layout/base/tests/bug646382-1-ref.html | 21 + layout/base/tests/bug646382-1.html | 22 + layout/base/tests/bug646382-2-ref.html | 18 + layout/base/tests/bug646382-2.html | 21 + layout/base/tests/bug664087-1-ref.html | 21 + layout/base/tests/bug664087-1.html | 25 + layout/base/tests/bug664087-2-ref.html | 21 + layout/base/tests/bug664087-2.html | 25 + layout/base/tests/bug682712-1-ref.html | 24 + layout/base/tests/bug682712-1.html | 32 + layout/base/tests/bug687297_a.html | 17 + layout/base/tests/bug687297_b.html | 17 + layout/base/tests/bug687297_c.html | 17 + layout/base/tests/bug746993-1-ref.html | 20 + layout/base/tests/bug746993-1.html | 22 + layout/base/tests/bug839103.css | 1 + layout/base/tests/bug851445_helper.html | 11 + layout/base/tests/bug923376-ref.html | 12 + layout/base/tests/bug923376.html | 16 + layout/base/tests/bug956530-1-ref.html | 29 + layout/base/tests/bug956530-1.html | 35 + layout/base/tests/bug966992-1-ref.html | 40 + layout/base/tests/bug966992-1.html | 36 + layout/base/tests/bug966992-2-ref.html | 42 + layout/base/tests/bug966992-2.html | 38 + layout/base/tests/bug966992-3-ref.html | 26 + layout/base/tests/bug966992-3.html | 26 + layout/base/tests/bug970964_inner.html | 357 ++++ layout/base/tests/bug970964_inner2.html | 356 ++++ layout/base/tests/bug977003_inner_1.html | 100 ++ layout/base/tests/bug977003_inner_2.html | 75 + layout/base/tests/bug977003_inner_3.html | 95 ++ layout/base/tests/bug977003_inner_4.html | 100 ++ layout/base/tests/bug977003_inner_5.html | 121 ++ layout/base/tests/bug977003_inner_6.html | 105 ++ layout/base/tests/bug989012-1-ref.html | 21 + layout/base/tests/bug989012-1.html | 24 + layout/base/tests/bug989012-2-ref.html | 26 + layout/base/tests/bug989012-2.html | 29 + layout/base/tests/bug989012-3-ref.html | 28 + layout/base/tests/bug989012-3.html | 31 + layout/base/tests/chrome/animated.gif | Bin 0 -> 527 bytes layout/base/tests/chrome/blue-32x32.png | Bin 0 -> 110 bytes layout/base/tests/chrome/bug1041200_frame.html | 2 + layout/base/tests/chrome/bug1041200_window.html | 40 + layout/base/tests/chrome/bug1722890.html | 18 + layout/base/tests/chrome/bug1722890_ref.html | 19 + layout/base/tests/chrome/bug1769161_1.html | 17 + layout/base/tests/chrome/bug1769161_1_ref.html | 17 + layout/base/tests/chrome/bug1769161_2.html | 17 + layout/base/tests/chrome/bug1769161_2_ref.html | 17 + layout/base/tests/chrome/bug1769161_3.html | 17 + layout/base/tests/chrome/bug1769161_3_ref.html | 18 + layout/base/tests/chrome/bug1769161_4.html | 17 + layout/base/tests/chrome/bug1769161_4_ref.html | 18 + layout/base/tests/chrome/bug495648.rdf | 214 +++ layout/base/tests/chrome/bug551434_childframe.html | 4 + layout/base/tests/chrome/chrome.ini | 138 ++ .../chrome/chrome_content_integration_window.xhtml | 45 + layout/base/tests/chrome/color_adjust.html | 9 + layout/base/tests/chrome/color_adjust_ref.html | 8 + .../tests/chrome/default_background_window.xhtml | 67 + .../chrome/dialog_with_positioning_window.xhtml | 30 + layout/base/tests/chrome/file_bug1018265.xhtml | 50 + layout/base/tests/chrome/file_bug458898.html | 1 + layout/base/tests/chrome/file_bug465448.html | 1 + .../chrome/frame_css_visibility_propagation.html | 1 + layout/base/tests/chrome/green.png | Bin 0 -> 91 bytes layout/base/tests/chrome/markA.ttf | Bin 0 -> 1568 bytes layout/base/tests/chrome/markB.ttf | Bin 0 -> 1568 bytes layout/base/tests/chrome/print_page_size1.html | 31 + layout/base/tests/chrome/print_page_size1_ref.html | 31 + layout/base/tests/chrome/print_page_size2.html | 31 + layout/base/tests/chrome/print_page_size2_ref.html | 34 + layout/base/tests/chrome/print_page_size3.html | 31 + layout/base/tests/chrome/print_page_size3_ref.html | 33 + layout/base/tests/chrome/print_page_size4.html | 31 + layout/base/tests/chrome/print_page_size4_ref.html | 31 + .../tests/chrome/printpreview_bug1713404_ref.html | 27 + .../tests/chrome/printpreview_bug1730091_ref.html | 27 + .../chrome/printpreview_bug396024_helper.xhtml | 112 ++ .../chrome/printpreview_bug482976_helper.xhtml | 68 + .../chrome/printpreview_downloadable_font.html | 24 + .../printpreview_downloadable_font_in_iframe.html | 25 + ...intpreview_downloadable_font_in_iframe_ref.html | 24 + .../chrome/printpreview_downloadable_font_ref.html | 23 + .../base/tests/chrome/printpreview_font_api.html | 25 + .../tests/chrome/printpreview_font_api_ref.html | 23 + .../chrome/printpreview_font_mozprintcallback.html | 27 + .../printpreview_font_mozprintcallback_ref.html | 28 + layout/base/tests/chrome/printpreview_helper.xhtml | 1721 ++++++++++++++++++++ .../tests/chrome/printpreview_image_select.html | 7 + .../chrome/printpreview_image_select_ref.html | 4 + layout/base/tests/chrome/printpreview_images.html | 25 + .../base/tests/chrome/printpreview_images_ref.html | 15 + .../base/tests/chrome/printpreview_images_sw.html | 46 + layout/base/tests/chrome/printpreview_images_sw.js | 11 + .../tests/chrome/printpreview_images_sw_ref.html | 14 + layout/base/tests/chrome/printpreview_mask.html | 16 + .../chrome/printpreview_mixed_page_size_001.html | 11 + .../chrome/printpreview_mixed_page_size_002.html | 15 + layout/base/tests/chrome/printpreview_pps16.html | 43 + .../base/tests/chrome/printpreview_pps16_ref.html | 49 + layout/base/tests/chrome/printpreview_pps2.html | 15 + .../base/tests/chrome/printpreview_pps2_ref.html | 40 + layout/base/tests/chrome/printpreview_pps4.html | 19 + .../base/tests/chrome/printpreview_pps4_ref.html | 25 + layout/base/tests/chrome/printpreview_pps6.html | 40 + .../base/tests/chrome/printpreview_pps6_ref.html | 90 + layout/base/tests/chrome/printpreview_pps9.html | 29 + .../base/tests/chrome/printpreview_pps9_ref.html | 40 + layout/base/tests/chrome/printpreview_pps_uw2.html | 16 + .../chrome/printpreview_pps_uw2_no_margin_ref.html | 36 + .../tests/chrome/printpreview_pps_uw2_ref.html | 49 + layout/base/tests/chrome/printpreview_pps_uw4.html | 19 + .../tests/chrome/printpreview_pps_uw4_ref.html | 70 + layout/base/tests/chrome/printpreview_pps_uw9.html | 29 + .../tests/chrome/printpreview_pps_uw9_ref.html | 82 + .../base/tests/chrome/printpreview_prettyprint.xml | 1 + .../chrome/printpreview_prettyprint_ref.xhtml | 3 + layout/base/tests/chrome/printpreview_quirks.html | 8 + .../base/tests/chrome/printpreview_quirks_ref.html | 5 + layout/base/tests/chrome/red.png | Bin 0 -> 510 bytes layout/base/tests/chrome/test_bug1018265.xhtml | 37 + layout/base/tests/chrome/test_bug1041200.xhtml | 22 + layout/base/tests/chrome/test_bug396367-1.html | 40 + layout/base/tests/chrome/test_bug396367-2.html | 47 + layout/base/tests/chrome/test_bug420499.xhtml | 126 ++ layout/base/tests/chrome/test_bug458898.html | 39 + layout/base/tests/chrome/test_bug465448.xhtml | 45 + layout/base/tests/chrome/test_bug514660.xhtml | 35 + layout/base/tests/chrome/test_bug533845.xhtml | 49 + layout/base/tests/chrome/test_bug551434.html | 95 ++ layout/base/tests/chrome/test_bug708062.html | 43 + layout/base/tests/chrome/test_bug812817.xhtml | 37 + .../chrome/test_chrome_content_integration.xhtml | 24 + .../tests/chrome/test_color_scheme_browser.xhtml | 114 ++ .../chrome/test_css_visibility_propagation.xhtml | 209 +++ .../tests/chrome/test_default_background.xhtml | 22 + .../tests/chrome/test_dialog_with_positioning.html | 20 + .../tests/chrome/test_document_adopted_styles.html | 8 + .../chrome/test_document_adopted_styles_ref.html | 6 + .../chrome/test_fixed_bg_scrolling_repaints.html | 40 + .../tests/chrome/test_getClientRectsAndTexts.html | 80 + .../chrome/test_get_printer_basic_attributes.html | 36 + .../tests/chrome/test_get_printer_orientation.html | 50 + .../tests/chrome/test_get_printer_paper_sizes.html | 69 + .../tests/chrome/test_prerendered_transforms.html | 46 + .../chrome/test_printer_default_settings.html | 63 + layout/base/tests/chrome/test_printpreview.xhtml | 16 + .../tests/chrome/test_printpreview_bug396024.xhtml | 21 + .../tests/chrome/test_printpreview_bug482976.xhtml | 21 + .../base/tests/chrome/test_scrolling_repaints.html | 48 + .../chrome/test_shadow_root_adopted_styles.html | 11 + .../test_shadow_root_adopted_styles_ref.html | 11 + .../tests/chrome/test_shared_adopted_styles.html | 19 + .../chrome/test_shared_adopted_styles_ref.html | 16 + layout/base/tests/chrome/test_will_change.html | 140 ++ .../window_css_visibility_propagation-1.xhtml | 6 + .../window_css_visibility_propagation-2.xhtml | 6 + .../window_css_visibility_propagation-3.html | 3 + .../window_css_visibility_propagation-4.html | 3 + ...into-editing-host-during-blur-of-input-ref.html | 27 + ...ion-into-editing-host-during-blur-of-input.html | 33 + layout/base/tests/file_bug607529-1.html | 12 + layout/base/tests/file_bug607529.html | 51 + layout/base/tests/file_bug839103.html | 10 + layout/base/tests/file_bug842853-frame.html | 6 + layout/base/tests/file_bug842853.html | 17 + layout/base/tests/file_bug842853.sjs | 16 + .../tests/file_dynamic_toolbar_max_height.html | 56 + ...le_getBoxQuads_convertPointRectQuad_frame1.html | 3 + ...le_getBoxQuads_convertPointRectQuad_frame2.html | 1 + layout/base/tests/file_lazyload_telemetry.html | 9 + layout/base/tests/file_synthmousemove.html | 49 + layout/base/tests/file_zoom_restore_bfcache.html | 92 ++ layout/base/tests/helper_bug1701027-1.html | 10 + layout/base/tests/helper_bug1701027-2.html | 10 + layout/base/tests/helper_synthmousemove.html | 3 + layout/base/tests/image_rgrg-256x256.png | Bin 0 -> 131 bytes layout/base/tests/input-invalid-ref.html | 7 + .../base/tests/input-maxlength-invalid-change.html | 25 + .../tests/input-maxlength-ui-invalid-change.html | 25 + .../tests/input-maxlength-ui-valid-change.html | 28 + .../tests/input-maxlength-valid-before-change.html | 15 + .../base/tests/input-maxlength-valid-change.html | 28 + .../base/tests/input-minlength-invalid-change.html | 25 + .../tests/input-minlength-ui-invalid-change.html | 25 + .../tests/input-minlength-ui-valid-change.html | 28 + .../tests/input-minlength-valid-before-change.html | 15 + .../base/tests/input-minlength-valid-change.html | 28 + .../base/tests/input-password-RTL-input-ref.html | 23 + layout/base/tests/input-password-RTL-input.html | 31 + layout/base/tests/input-password-remask-ref.html | 20 + layout/base/tests/input-password-remask.html | 23 + .../input-password-unmask-around-emoji-ref.html | 40 + .../tests/input-password-unmask-around-emoji.html | 21 + layout/base/tests/input-password-unmask-ref.html | 33 + layout/base/tests/input-password-unmask.html | 25 + layout/base/tests/input-stoppropagation-ref.html | 16 + layout/base/tests/input-stoppropagation.html | 20 + layout/base/tests/input-ui-valid-ref.html | 6 + layout/base/tests/input-valid-ref.html | 7 + ...rlinePosition-after-Selection-addRange-ref.html | 20 + ...interlinePosition-after-Selection-addRange.html | 21 + layout/base/tests/marionette/manifest.ini | 6 + layout/base/tests/marionette/selection.py | 335 ++++ .../marionette/test_accessiblecaret_cursor_mode.py | 285 ++++ .../test_accessiblecaret_selection_mode.py | 767 +++++++++ layout/base/tests/mochitest.ini | 470 ++++++ .../base/tests/multi-range-script-select-ref.html | 173 ++ layout/base/tests/multi-range-script-select.html | 185 +++ layout/base/tests/multi-range-user-select-ref.html | 166 ++ layout/base/tests/multi-range-user-select.html | 223 +++ layout/base/tests/partial.png | Bin 0 -> 4000 bytes .../preserve3d_sorting_hit_testing2_iframe.html | 96 ++ .../preserve3d_sorting_hit_testing_iframe.html | 32 + layout/base/tests/resize_flush_iframe.html | 17 + layout/base/tests/scroll_into_view_in_child.html | 8 + .../tests/scroll_selection_into_view_window.html | 59 + .../scroll_selection_into_view_window_frame.html | 6 + layout/base/tests/selection-utils.js | 167 ++ layout/base/tests/sendimagenevercomplete.sjs | 29 + .../base/tests/test_accessiblecaret_magnifier.html | 33 + layout/base/tests/test_after_paint_pref.html | 123 ++ .../base/tests/test_border_radius_hit_testing.html | 106 ++ layout/base/tests/test_bug1078327.html | 30 + layout/base/tests/test_bug1080360.html | 30 + layout/base/tests/test_bug1080361.html | 31 + layout/base/tests/test_bug1093686.html | 41 + layout/base/tests/test_bug1120705.html | 98 ++ layout/base/tests/test_bug114649.html | 78 + layout/base/tests/test_bug1153130.html | 30 + layout/base/tests/test_bug1162990.html | 32 + layout/base/tests/test_bug1216483.html | 204 +++ layout/base/tests/test_bug1226904.html | 44 + layout/base/tests/test_bug1246622.html | 45 + layout/base/tests/test_bug1278021.html | 45 + layout/base/tests/test_bug1448730.html | 30 + layout/base/tests/test_bug1515822.html | 47 + layout/base/tests/test_bug1550869_video.html | 35 + layout/base/tests/test_bug1714640.html | 36 + layout/base/tests/test_bug1756118.html | 87 + layout/base/tests/test_bug332655-1.html | 57 + layout/base/tests/test_bug332655-2.html | 67 + layout/base/tests/test_bug369950.html | 91 ++ layout/base/tests/test_bug370436.html | 91 ++ layout/base/tests/test_bug386575.xhtml | 46 + layout/base/tests/test_bug388019.html | 44 + layout/base/tests/test_bug394057.html | 88 + layout/base/tests/test_bug399284.html | 115 ++ layout/base/tests/test_bug399951.html | 34 + layout/base/tests/test_bug404209.xhtml | 47 + layout/base/tests/test_bug416896.html | 64 + layout/base/tests/test_bug423523.html | 104 ++ layout/base/tests/test_bug435293-interaction.html | 49 + layout/base/tests/test_bug435293-scale.html | 103 ++ layout/base/tests/test_bug435293-skew.html | 173 ++ layout/base/tests/test_bug449781.html | 62 + layout/base/tests/test_bug450930.xhtml | 28 + layout/base/tests/test_bug469170.html | 48 + layout/base/tests/test_bug471126.html | 34 + layout/base/tests/test_bug499538-1.html | 53 + layout/base/tests/test_bug514127.html | 55 + layout/base/tests/test_bug518777.html | 44 + layout/base/tests/test_bug548545.xhtml | 47 + layout/base/tests/test_bug558663.html | 37 + layout/base/tests/test_bug559499.html | 26 + layout/base/tests/test_bug569520.html | 67 + layout/base/tests/test_bug582181-1.html | 60 + layout/base/tests/test_bug582181-2.html | 63 + layout/base/tests/test_bug582771.html | 128 ++ layout/base/tests/test_bug583889.html | 53 + layout/base/tests/test_bug588174.html | 67 + layout/base/tests/test_bug603550.html | 118 ++ layout/base/tests/test_bug607529.html | 119 ++ layout/base/tests/test_bug629838.html | 87 + layout/base/tests/test_bug644768.html | 62 + layout/base/tests/test_bug646757.html | 43 + layout/base/tests/test_bug66619.html | 62 + layout/base/tests/test_bug667512.html | 40 + layout/base/tests/test_bug677878.html | 54 + layout/base/tests/test_bug687297.html | 54 + layout/base/tests/test_bug696020.html | 47 + layout/base/tests/test_bug718809.html | 28 + layout/base/tests/test_bug725426.html | 23 + layout/base/tests/test_bug731777.html | 49 + layout/base/tests/test_bug749186.html | 40 + layout/base/tests/test_bug761572.html | 40 + layout/base/tests/test_bug770106.html | 24 + layout/base/tests/test_bug842853-2.html | 56 + layout/base/tests/test_bug842853.html | 52 + layout/base/tests/test_bug849219.html | 50 + layout/base/tests/test_bug851445.html | 34 + layout/base/tests/test_bug851485.html | 86 + layout/base/tests/test_bug858459.html | 59 + layout/base/tests/test_bug93077-1.html | 31 + layout/base/tests/test_bug93077-2.html | 31 + layout/base/tests/test_bug93077-3.html | 34 + layout/base/tests/test_bug93077-4.html | 34 + layout/base/tests/test_bug93077-5.html | 34 + layout/base/tests/test_bug93077-6.html | 34 + layout/base/tests/test_bug970964.html | 46 + layout/base/tests/test_bug977003.html | 32 + layout/base/tests/test_bug990340.html | 60 + layout/base/tests/test_bug993936.html | 164 ++ .../test_caret_browsing_around_form_controls.html | 379 +++++ .../tests/test_dynamic_toolbar_max_height.html | 22 + layout/base/tests/test_emulateMedium.html | 165 ++ layout/base/tests/test_emulate_color_scheme.html | 40 + .../base/tests/test_event_target_iframe_oop.html | 177 ++ layout/base/tests/test_event_target_radius.html | 422 +++++ .../test_frame_reconstruction_body_table.html | 48 + ...est_frame_reconstruction_body_writing_mode.html | 34 + .../test_frame_reconstruction_for_column_span.html | 77 + ...t_frame_reconstruction_for_pseudo_elements.html | 74 + ...st_frame_reconstruction_for_svg_transforms.html | 46 + .../test_frame_reconstruction_scroll_restore.html | 82 + .../test_getBoxQuads_convertPointRectQuad.html | 717 ++++++++ .../base/tests/test_getClientRects_emptytext.html | 26 + layout/base/tests/test_mozPaintCount.html | 62 + layout/base/tests/test_partialbg.html | 76 + .../tests/test_preserve3d_sorting_hit_testing.html | 48 + .../test_preserve3d_sorting_hit_testing2.html | 40 + .../tests/test_refreshDriver_hasPendingTick.html | 95 ++ layout/base/tests/test_reftests_with_caret.html | 469 ++++++ layout/base/tests/test_resize_flush.html | 51 + layout/base/tests/test_scroll_event_ordering.html | 63 + .../base/tests/test_scroll_into_view_in_oopif.html | 17 + .../tests/test_scroll_selection_into_view.html | 97 ++ ...test_scroll_space_no_range_overflow_scroll.html | 67 + layout/base/tests/test_synthmousemove.html | 31 + .../tests/test_transformed_scrolling_repaints.html | 54 + .../test_transformed_scrolling_repaints_2.html | 54 + .../test_transformed_scrolling_repaints_3.html | 24 + .../base/tests/test_visual_viewport_in_oopif.html | 11 + layout/base/tests/test_zoom_restore_bfcache.html | 139 ++ layout/base/tests/textarea-invalid-ref.html | 7 + .../tests/textarea-maxlength-invalid-change.html | 25 + .../textarea-maxlength-ui-invalid-change.html | 25 + .../tests/textarea-maxlength-ui-valid-change.html | 28 + .../textarea-maxlength-valid-before-change.html | 15 + .../tests/textarea-maxlength-valid-change.html | 28 + .../tests/textarea-minlength-invalid-change.html | 25 + .../textarea-minlength-ui-invalid-change.html | 25 + .../tests/textarea-minlength-ui-valid-change.html | 28 + .../textarea-minlength-valid-before-change.html | 15 + .../tests/textarea-minlength-valid-change.html | 28 + layout/base/tests/textarea-valid-ref.html | 7 + .../transformed_scrolling_repaints_3_window.html | 46 + ...nsformed_scrolling_repaints_3_window_frame.html | 58 + layout/base/tests/visual_viewport_in_child.html | 25 + 579 files changed, 28421 insertions(+) create mode 100644 layout/base/tests/Ahem.ttf create mode 100644 layout/base/tests/accessiblecaret_magnifier.html create mode 100644 layout/base/tests/border_radius_hit_testing_iframe.html create mode 100644 layout/base/tests/browser.ini create mode 100644 layout/base/tests/browser_bug1701027-1.js create mode 100644 layout/base/tests/browser_bug1701027-2.js create mode 100644 layout/base/tests/browser_bug1757410.js create mode 100644 layout/base/tests/browser_bug1787079.js create mode 100644 layout/base/tests/browser_bug1791083.js create mode 100644 layout/base/tests/browser_bug617076.js create mode 100644 layout/base/tests/browser_bug839103.js create mode 100644 layout/base/tests/browser_disableDialogs_onbeforeunload.js create mode 100644 layout/base/tests/browser_onbeforeunload_only_after_interaction.js create mode 100644 layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js create mode 100644 layout/base/tests/browser_scroll_into_view_in_out_of_process_iframe.js create mode 100644 layout/base/tests/browser_select_popup_position_in_out_of_process_iframe.js create mode 100644 layout/base/tests/browser_visual_viewport_iframe.js create mode 100644 layout/base/tests/bug1007065-1-ref.html create mode 100644 layout/base/tests/bug1007065-1.html create mode 100644 layout/base/tests/bug1007067-1-ref.html create mode 100644 layout/base/tests/bug1007067-1.html create mode 100644 layout/base/tests/bug1061468-ref.html create mode 100644 layout/base/tests/bug1061468.html create mode 100644 layout/base/tests/bug106855-1-ref.html create mode 100644 layout/base/tests/bug106855-1.html create mode 100644 layout/base/tests/bug106855-2.html create mode 100644 layout/base/tests/bug1078327_inner.html create mode 100644 layout/base/tests/bug1080360_inner.html create mode 100644 layout/base/tests/bug1080361_inner.html create mode 100644 layout/base/tests/bug1082486-1-ref.html create mode 100644 layout/base/tests/bug1082486-1.html create mode 100644 layout/base/tests/bug1082486-2-ref.html create mode 100644 layout/base/tests/bug1082486-2.html create mode 100644 layout/base/tests/bug1093686_inner.html create mode 100644 layout/base/tests/bug1097242-1-ref.html create mode 100644 layout/base/tests/bug1097242-1.html create mode 100644 layout/base/tests/bug1109968-1-ref.html create mode 100644 layout/base/tests/bug1109968-1.html create mode 100644 layout/base/tests/bug1109968-2-ref.html create mode 100644 layout/base/tests/bug1109968-2.html create mode 100644 layout/base/tests/bug1123067-1.html create mode 100644 layout/base/tests/bug1123067-2.html create mode 100644 layout/base/tests/bug1123067-3.html create mode 100644 layout/base/tests/bug1123067-ref.html create mode 100644 layout/base/tests/bug1132768-1-ref.html create mode 100644 layout/base/tests/bug1132768-1.html create mode 100644 layout/base/tests/bug1153130_inner.html create mode 100644 layout/base/tests/bug1162990_inner_1.html create mode 100644 layout/base/tests/bug1162990_inner_2.html create mode 100644 layout/base/tests/bug1226904.html create mode 100644 layout/base/tests/bug1237236-1-ref.html create mode 100644 layout/base/tests/bug1237236-1.html create mode 100644 layout/base/tests/bug1237236-2-ref.html create mode 100644 layout/base/tests/bug1237236-2.html create mode 100644 layout/base/tests/bug1258308-1-ref.html create mode 100644 layout/base/tests/bug1258308-1.html create mode 100644 layout/base/tests/bug1258308-2-ref.html create mode 100644 layout/base/tests/bug1258308-2.html create mode 100644 layout/base/tests/bug1259949-1-ref.html create mode 100644 layout/base/tests/bug1259949-1.html create mode 100644 layout/base/tests/bug1259949-2-ref.html create mode 100644 layout/base/tests/bug1259949-2.html create mode 100644 layout/base/tests/bug1263288-ref.html create mode 100644 layout/base/tests/bug1263288.html create mode 100644 layout/base/tests/bug1263357-1-ref.html create mode 100644 layout/base/tests/bug1263357-1.html create mode 100644 layout/base/tests/bug1263357-2-ref.html create mode 100644 layout/base/tests/bug1263357-2.html create mode 100644 layout/base/tests/bug1263357-3-ref.html create mode 100644 layout/base/tests/bug1263357-3.html create mode 100644 layout/base/tests/bug1263357-4-ref.html create mode 100644 layout/base/tests/bug1263357-4.html create mode 100644 layout/base/tests/bug1263357-5-ref.html create mode 100644 layout/base/tests/bug1263357-5.html create mode 100644 layout/base/tests/bug1354478-1-ref.html create mode 100644 layout/base/tests/bug1354478-1.html create mode 100644 layout/base/tests/bug1354478-2-ref.html create mode 100644 layout/base/tests/bug1354478-2.html create mode 100644 layout/base/tests/bug1354478-3-ref.html create mode 100644 layout/base/tests/bug1354478-3.html create mode 100644 layout/base/tests/bug1354478-4-ref.html create mode 100644 layout/base/tests/bug1354478-4.html create mode 100644 layout/base/tests/bug1354478-5-ref.html create mode 100644 layout/base/tests/bug1354478-5.html create mode 100644 layout/base/tests/bug1354478-6-ref.html create mode 100644 layout/base/tests/bug1354478-6.html create mode 100644 layout/base/tests/bug1359411-ref.html create mode 100644 layout/base/tests/bug1359411.html create mode 100644 layout/base/tests/bug1415416-ref.html create mode 100644 layout/base/tests/bug1415416.html create mode 100644 layout/base/tests/bug1423331-1-ref.html create mode 100644 layout/base/tests/bug1423331-1.html create mode 100644 layout/base/tests/bug1423331-2-ref.html create mode 100644 layout/base/tests/bug1423331-2.html create mode 100644 layout/base/tests/bug1423331-3.html create mode 100644 layout/base/tests/bug1423331-4.html create mode 100644 layout/base/tests/bug1448730.html create mode 100644 layout/base/tests/bug1484094-1-ref.html create mode 100644 layout/base/tests/bug1484094-1.html create mode 100644 layout/base/tests/bug1484094-2-ref.html create mode 100644 layout/base/tests/bug1484094-2.html create mode 100644 layout/base/tests/bug1496118-ref.html create mode 100644 layout/base/tests/bug1496118.html create mode 100644 layout/base/tests/bug1506547-1.html create mode 100644 layout/base/tests/bug1506547-2.html create mode 100644 layout/base/tests/bug1506547-3.html create mode 100644 layout/base/tests/bug1506547-4-ref.html create mode 100644 layout/base/tests/bug1506547-4.html create mode 100644 layout/base/tests/bug1506547-5-ref.html create mode 100644 layout/base/tests/bug1506547-5.html create mode 100644 layout/base/tests/bug1506547-6.html create mode 100644 layout/base/tests/bug1510942-1-ref.html create mode 100644 layout/base/tests/bug1510942-1.html create mode 100644 layout/base/tests/bug1510942-2-ref.html create mode 100644 layout/base/tests/bug1510942-2.html create mode 100644 layout/base/tests/bug1516963-1-ref.html create mode 100644 layout/base/tests/bug1516963-1.html create mode 100644 layout/base/tests/bug1516963-2-ref.html create mode 100644 layout/base/tests/bug1516963-2.html create mode 100644 layout/base/tests/bug1516963-3-ref.html create mode 100644 layout/base/tests/bug1516963-3.html create mode 100644 layout/base/tests/bug1516963-4-ref.html create mode 100644 layout/base/tests/bug1516963-4.html create mode 100644 layout/base/tests/bug1516963-5-ref.html create mode 100644 layout/base/tests/bug1516963-5.html create mode 100644 layout/base/tests/bug1516963-6-ref.html create mode 100644 layout/base/tests/bug1516963-6.html create mode 100644 layout/base/tests/bug1518339-1-ref.html create mode 100644 layout/base/tests/bug1518339-1.html create mode 100644 layout/base/tests/bug1518339-2-ref.html create mode 100644 layout/base/tests/bug1518339-2.html create mode 100644 layout/base/tests/bug1524266-1-ref.html create mode 100644 layout/base/tests/bug1524266-1.html create mode 100644 layout/base/tests/bug1524266-2-ref.html create mode 100644 layout/base/tests/bug1524266-2.html create mode 100644 layout/base/tests/bug1524266-3.html create mode 100644 layout/base/tests/bug1524266-4.html create mode 100644 layout/base/tests/bug1529492-1-ref.html create mode 100644 layout/base/tests/bug1529492-1.html create mode 100644 layout/base/tests/bug1550869-1-ref.html create mode 100644 layout/base/tests/bug1550869-1a.html create mode 100644 layout/base/tests/bug1550869-1b.html create mode 100644 layout/base/tests/bug1550869-1c.html create mode 100644 layout/base/tests/bug1550869-2-ref.html create mode 100644 layout/base/tests/bug1550869-2a.html create mode 100644 layout/base/tests/bug1550869-2b.html create mode 100644 layout/base/tests/bug1550869-2c.html create mode 100644 layout/base/tests/bug1550869-2d.html create mode 100644 layout/base/tests/bug1591282-1-ref.html create mode 100644 layout/base/tests/bug1591282-1.html create mode 100644 layout/base/tests/bug1611661-ref.html create mode 100644 layout/base/tests/bug1611661.html create mode 100644 layout/base/tests/bug1634543-1-ref.html create mode 100644 layout/base/tests/bug1634543-1.html create mode 100644 layout/base/tests/bug1634543-2.html create mode 100644 layout/base/tests/bug1634543-3.html create mode 100644 layout/base/tests/bug1634543-4.html create mode 100644 layout/base/tests/bug1634743-1-ref.html create mode 100644 layout/base/tests/bug1634743-1.html create mode 100644 layout/base/tests/bug1637476-1-ref.html create mode 100644 layout/base/tests/bug1637476-1.html create mode 100644 layout/base/tests/bug1637476-2-ref.html create mode 100644 layout/base/tests/bug1637476-2.html create mode 100644 layout/base/tests/bug1637476-3-ref.html create mode 100644 layout/base/tests/bug1637476-3.html create mode 100644 layout/base/tests/bug1663475-1-ref.html create mode 100644 layout/base/tests/bug1663475-1.html create mode 100644 layout/base/tests/bug1663475-2-ref.html create mode 100644 layout/base/tests/bug1663475-2.html create mode 100644 layout/base/tests/bug1670531-1.html create mode 100644 layout/base/tests/bug1670531-2.html create mode 100644 layout/base/tests/bug1670531-3-ref.html create mode 100644 layout/base/tests/bug1670531-3.html create mode 100644 layout/base/tests/bug1670531-4.html create mode 100644 layout/base/tests/bug240933-1-ref.html create mode 100644 layout/base/tests/bug240933-1.html create mode 100644 layout/base/tests/bug240933-2.html create mode 100644 layout/base/tests/bug369950-subframe.xml create mode 100644 layout/base/tests/bug389321-1-ref.html create mode 100644 layout/base/tests/bug389321-1.html create mode 100644 layout/base/tests/bug389321-2-ref.html create mode 100644 layout/base/tests/bug389321-2.html create mode 100644 layout/base/tests/bug389321-3-ref.html create mode 100644 layout/base/tests/bug389321-3.html create mode 100644 layout/base/tests/bug450930.xhtml create mode 100644 layout/base/tests/bug482484-ref.html create mode 100644 layout/base/tests/bug482484.html create mode 100644 layout/base/tests/bug503399-ref.html create mode 100644 layout/base/tests/bug503399.html create mode 100644 layout/base/tests/bug512295-1-ref.html create mode 100644 layout/base/tests/bug512295-1.html create mode 100644 layout/base/tests/bug512295-2-ref.html create mode 100644 layout/base/tests/bug512295-2.html create mode 100644 layout/base/tests/bug558663.html create mode 100644 layout/base/tests/bug583889_inner1.html create mode 100644 layout/base/tests/bug583889_inner2.html create mode 100644 layout/base/tests/bug585922-ref.html create mode 100644 layout/base/tests/bug585922.html create mode 100644 layout/base/tests/bug597519-1-ref.html create mode 100644 layout/base/tests/bug597519-1.html create mode 100644 layout/base/tests/bug602141-1-ref.html create mode 100644 layout/base/tests/bug602141-1.html create mode 100644 layout/base/tests/bug602141-2-ref.html create mode 100644 layout/base/tests/bug602141-2.html create mode 100644 layout/base/tests/bug602141-3-ref.html create mode 100644 layout/base/tests/bug602141-3.html create mode 100644 layout/base/tests/bug602141-4-ref.html create mode 100644 layout/base/tests/bug602141-4.html create mode 100644 layout/base/tests/bug612271-1.html create mode 100644 layout/base/tests/bug612271-2.html create mode 100644 layout/base/tests/bug612271-3.html create mode 100644 layout/base/tests/bug612271-ref.html create mode 100644 layout/base/tests/bug613433-1.html create mode 100644 layout/base/tests/bug613433-2.html create mode 100644 layout/base/tests/bug613433-3.html create mode 100644 layout/base/tests/bug613433-ref.html create mode 100644 layout/base/tests/bug613807-1-ref.html create mode 100644 layout/base/tests/bug613807-1.html create mode 100644 layout/base/tests/bug632215-1.html create mode 100644 layout/base/tests/bug632215-2.html create mode 100644 layout/base/tests/bug632215-ref.html create mode 100644 layout/base/tests/bug633044-1-ref.html create mode 100644 layout/base/tests/bug633044-1.html create mode 100644 layout/base/tests/bug634406-1-ref.html create mode 100644 layout/base/tests/bug634406-1.html create mode 100644 layout/base/tests/bug644428-1-ref.html create mode 100644 layout/base/tests/bug644428-1.html create mode 100644 layout/base/tests/bug646382-1-ref.html create mode 100644 layout/base/tests/bug646382-1.html create mode 100644 layout/base/tests/bug646382-2-ref.html create mode 100644 layout/base/tests/bug646382-2.html create mode 100644 layout/base/tests/bug664087-1-ref.html create mode 100644 layout/base/tests/bug664087-1.html create mode 100644 layout/base/tests/bug664087-2-ref.html create mode 100644 layout/base/tests/bug664087-2.html create mode 100644 layout/base/tests/bug682712-1-ref.html create mode 100644 layout/base/tests/bug682712-1.html create mode 100644 layout/base/tests/bug687297_a.html create mode 100644 layout/base/tests/bug687297_b.html create mode 100644 layout/base/tests/bug687297_c.html create mode 100644 layout/base/tests/bug746993-1-ref.html create mode 100644 layout/base/tests/bug746993-1.html create mode 100644 layout/base/tests/bug839103.css create mode 100644 layout/base/tests/bug851445_helper.html create mode 100644 layout/base/tests/bug923376-ref.html create mode 100644 layout/base/tests/bug923376.html create mode 100644 layout/base/tests/bug956530-1-ref.html create mode 100644 layout/base/tests/bug956530-1.html create mode 100644 layout/base/tests/bug966992-1-ref.html create mode 100644 layout/base/tests/bug966992-1.html create mode 100644 layout/base/tests/bug966992-2-ref.html create mode 100644 layout/base/tests/bug966992-2.html create mode 100644 layout/base/tests/bug966992-3-ref.html create mode 100644 layout/base/tests/bug966992-3.html create mode 100644 layout/base/tests/bug970964_inner.html create mode 100644 layout/base/tests/bug970964_inner2.html create mode 100644 layout/base/tests/bug977003_inner_1.html create mode 100644 layout/base/tests/bug977003_inner_2.html create mode 100644 layout/base/tests/bug977003_inner_3.html create mode 100644 layout/base/tests/bug977003_inner_4.html create mode 100644 layout/base/tests/bug977003_inner_5.html create mode 100644 layout/base/tests/bug977003_inner_6.html create mode 100644 layout/base/tests/bug989012-1-ref.html create mode 100644 layout/base/tests/bug989012-1.html create mode 100644 layout/base/tests/bug989012-2-ref.html create mode 100644 layout/base/tests/bug989012-2.html create mode 100644 layout/base/tests/bug989012-3-ref.html create mode 100644 layout/base/tests/bug989012-3.html create mode 100644 layout/base/tests/chrome/animated.gif create mode 100644 layout/base/tests/chrome/blue-32x32.png create mode 100644 layout/base/tests/chrome/bug1041200_frame.html create mode 100644 layout/base/tests/chrome/bug1041200_window.html create mode 100644 layout/base/tests/chrome/bug1722890.html create mode 100644 layout/base/tests/chrome/bug1722890_ref.html create mode 100644 layout/base/tests/chrome/bug1769161_1.html create mode 100644 layout/base/tests/chrome/bug1769161_1_ref.html create mode 100644 layout/base/tests/chrome/bug1769161_2.html create mode 100644 layout/base/tests/chrome/bug1769161_2_ref.html create mode 100644 layout/base/tests/chrome/bug1769161_3.html create mode 100644 layout/base/tests/chrome/bug1769161_3_ref.html create mode 100644 layout/base/tests/chrome/bug1769161_4.html create mode 100644 layout/base/tests/chrome/bug1769161_4_ref.html create mode 100644 layout/base/tests/chrome/bug495648.rdf create mode 100644 layout/base/tests/chrome/bug551434_childframe.html create mode 100644 layout/base/tests/chrome/chrome.ini create mode 100644 layout/base/tests/chrome/chrome_content_integration_window.xhtml create mode 100644 layout/base/tests/chrome/color_adjust.html create mode 100644 layout/base/tests/chrome/color_adjust_ref.html create mode 100644 layout/base/tests/chrome/default_background_window.xhtml create mode 100644 layout/base/tests/chrome/dialog_with_positioning_window.xhtml create mode 100644 layout/base/tests/chrome/file_bug1018265.xhtml create mode 100644 layout/base/tests/chrome/file_bug458898.html create mode 100644 layout/base/tests/chrome/file_bug465448.html create mode 100644 layout/base/tests/chrome/frame_css_visibility_propagation.html create mode 100644 layout/base/tests/chrome/green.png create mode 100644 layout/base/tests/chrome/markA.ttf create mode 100644 layout/base/tests/chrome/markB.ttf create mode 100644 layout/base/tests/chrome/print_page_size1.html create mode 100644 layout/base/tests/chrome/print_page_size1_ref.html create mode 100644 layout/base/tests/chrome/print_page_size2.html create mode 100644 layout/base/tests/chrome/print_page_size2_ref.html create mode 100644 layout/base/tests/chrome/print_page_size3.html create mode 100644 layout/base/tests/chrome/print_page_size3_ref.html create mode 100644 layout/base/tests/chrome/print_page_size4.html create mode 100644 layout/base/tests/chrome/print_page_size4_ref.html create mode 100644 layout/base/tests/chrome/printpreview_bug1713404_ref.html create mode 100644 layout/base/tests/chrome/printpreview_bug1730091_ref.html create mode 100644 layout/base/tests/chrome/printpreview_bug396024_helper.xhtml create mode 100644 layout/base/tests/chrome/printpreview_bug482976_helper.xhtml create mode 100644 layout/base/tests/chrome/printpreview_downloadable_font.html create mode 100644 layout/base/tests/chrome/printpreview_downloadable_font_in_iframe.html create mode 100644 layout/base/tests/chrome/printpreview_downloadable_font_in_iframe_ref.html create mode 100644 layout/base/tests/chrome/printpreview_downloadable_font_ref.html create mode 100644 layout/base/tests/chrome/printpreview_font_api.html create mode 100644 layout/base/tests/chrome/printpreview_font_api_ref.html create mode 100644 layout/base/tests/chrome/printpreview_font_mozprintcallback.html create mode 100644 layout/base/tests/chrome/printpreview_font_mozprintcallback_ref.html create mode 100644 layout/base/tests/chrome/printpreview_helper.xhtml create mode 100644 layout/base/tests/chrome/printpreview_image_select.html create mode 100644 layout/base/tests/chrome/printpreview_image_select_ref.html create mode 100644 layout/base/tests/chrome/printpreview_images.html create mode 100644 layout/base/tests/chrome/printpreview_images_ref.html create mode 100644 layout/base/tests/chrome/printpreview_images_sw.html create mode 100644 layout/base/tests/chrome/printpreview_images_sw.js create mode 100644 layout/base/tests/chrome/printpreview_images_sw_ref.html create mode 100644 layout/base/tests/chrome/printpreview_mask.html create mode 100644 layout/base/tests/chrome/printpreview_mixed_page_size_001.html create mode 100644 layout/base/tests/chrome/printpreview_mixed_page_size_002.html create mode 100644 layout/base/tests/chrome/printpreview_pps16.html create mode 100644 layout/base/tests/chrome/printpreview_pps16_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps2.html create mode 100644 layout/base/tests/chrome/printpreview_pps2_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps4.html create mode 100644 layout/base/tests/chrome/printpreview_pps4_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps6.html create mode 100644 layout/base/tests/chrome/printpreview_pps6_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps9.html create mode 100644 layout/base/tests/chrome/printpreview_pps9_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw2.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw2_no_margin_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw2_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw4.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw4_ref.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw9.html create mode 100644 layout/base/tests/chrome/printpreview_pps_uw9_ref.html create mode 100644 layout/base/tests/chrome/printpreview_prettyprint.xml create mode 100644 layout/base/tests/chrome/printpreview_prettyprint_ref.xhtml create mode 100644 layout/base/tests/chrome/printpreview_quirks.html create mode 100644 layout/base/tests/chrome/printpreview_quirks_ref.html create mode 100644 layout/base/tests/chrome/red.png create mode 100644 layout/base/tests/chrome/test_bug1018265.xhtml create mode 100644 layout/base/tests/chrome/test_bug1041200.xhtml create mode 100644 layout/base/tests/chrome/test_bug396367-1.html create mode 100644 layout/base/tests/chrome/test_bug396367-2.html create mode 100644 layout/base/tests/chrome/test_bug420499.xhtml create mode 100644 layout/base/tests/chrome/test_bug458898.html create mode 100644 layout/base/tests/chrome/test_bug465448.xhtml create mode 100644 layout/base/tests/chrome/test_bug514660.xhtml create mode 100644 layout/base/tests/chrome/test_bug533845.xhtml create mode 100644 layout/base/tests/chrome/test_bug551434.html create mode 100644 layout/base/tests/chrome/test_bug708062.html create mode 100644 layout/base/tests/chrome/test_bug812817.xhtml create mode 100644 layout/base/tests/chrome/test_chrome_content_integration.xhtml create mode 100644 layout/base/tests/chrome/test_color_scheme_browser.xhtml create mode 100644 layout/base/tests/chrome/test_css_visibility_propagation.xhtml create mode 100644 layout/base/tests/chrome/test_default_background.xhtml create mode 100644 layout/base/tests/chrome/test_dialog_with_positioning.html create mode 100644 layout/base/tests/chrome/test_document_adopted_styles.html create mode 100644 layout/base/tests/chrome/test_document_adopted_styles_ref.html create mode 100644 layout/base/tests/chrome/test_fixed_bg_scrolling_repaints.html create mode 100644 layout/base/tests/chrome/test_getClientRectsAndTexts.html create mode 100644 layout/base/tests/chrome/test_get_printer_basic_attributes.html create mode 100644 layout/base/tests/chrome/test_get_printer_orientation.html create mode 100644 layout/base/tests/chrome/test_get_printer_paper_sizes.html create mode 100644 layout/base/tests/chrome/test_prerendered_transforms.html create mode 100644 layout/base/tests/chrome/test_printer_default_settings.html create mode 100644 layout/base/tests/chrome/test_printpreview.xhtml create mode 100644 layout/base/tests/chrome/test_printpreview_bug396024.xhtml create mode 100644 layout/base/tests/chrome/test_printpreview_bug482976.xhtml create mode 100644 layout/base/tests/chrome/test_scrolling_repaints.html create mode 100644 layout/base/tests/chrome/test_shadow_root_adopted_styles.html create mode 100644 layout/base/tests/chrome/test_shadow_root_adopted_styles_ref.html create mode 100644 layout/base/tests/chrome/test_shared_adopted_styles.html create mode 100644 layout/base/tests/chrome/test_shared_adopted_styles_ref.html create mode 100644 layout/base/tests/chrome/test_will_change.html create mode 100644 layout/base/tests/chrome/window_css_visibility_propagation-1.xhtml create mode 100644 layout/base/tests/chrome/window_css_visibility_propagation-2.xhtml create mode 100644 layout/base/tests/chrome/window_css_visibility_propagation-3.html create mode 100644 layout/base/tests/chrome/window_css_visibility_propagation-4.html create mode 100644 layout/base/tests/collapse-selection-into-editing-host-during-blur-of-input-ref.html create mode 100644 layout/base/tests/collapse-selection-into-editing-host-during-blur-of-input.html create mode 100644 layout/base/tests/file_bug607529-1.html create mode 100644 layout/base/tests/file_bug607529.html create mode 100644 layout/base/tests/file_bug839103.html create mode 100644 layout/base/tests/file_bug842853-frame.html create mode 100644 layout/base/tests/file_bug842853.html create mode 100644 layout/base/tests/file_bug842853.sjs create mode 100644 layout/base/tests/file_dynamic_toolbar_max_height.html create mode 100644 layout/base/tests/file_getBoxQuads_convertPointRectQuad_frame1.html create mode 100644 layout/base/tests/file_getBoxQuads_convertPointRectQuad_frame2.html create mode 100644 layout/base/tests/file_lazyload_telemetry.html create mode 100644 layout/base/tests/file_synthmousemove.html create mode 100644 layout/base/tests/file_zoom_restore_bfcache.html create mode 100644 layout/base/tests/helper_bug1701027-1.html create mode 100644 layout/base/tests/helper_bug1701027-2.html create mode 100644 layout/base/tests/helper_synthmousemove.html create mode 100644 layout/base/tests/image_rgrg-256x256.png create mode 100644 layout/base/tests/input-invalid-ref.html create mode 100644 layout/base/tests/input-maxlength-invalid-change.html create mode 100644 layout/base/tests/input-maxlength-ui-invalid-change.html create mode 100644 layout/base/tests/input-maxlength-ui-valid-change.html create mode 100644 layout/base/tests/input-maxlength-valid-before-change.html create mode 100644 layout/base/tests/input-maxlength-valid-change.html create mode 100644 layout/base/tests/input-minlength-invalid-change.html create mode 100644 layout/base/tests/input-minlength-ui-invalid-change.html create mode 100644 layout/base/tests/input-minlength-ui-valid-change.html create mode 100644 layout/base/tests/input-minlength-valid-before-change.html create mode 100644 layout/base/tests/input-minlength-valid-change.html create mode 100644 layout/base/tests/input-password-RTL-input-ref.html create mode 100644 layout/base/tests/input-password-RTL-input.html create mode 100644 layout/base/tests/input-password-remask-ref.html create mode 100644 layout/base/tests/input-password-remask.html create mode 100644 layout/base/tests/input-password-unmask-around-emoji-ref.html create mode 100644 layout/base/tests/input-password-unmask-around-emoji.html create mode 100644 layout/base/tests/input-password-unmask-ref.html create mode 100644 layout/base/tests/input-password-unmask.html create mode 100644 layout/base/tests/input-stoppropagation-ref.html create mode 100644 layout/base/tests/input-stoppropagation.html create mode 100644 layout/base/tests/input-ui-valid-ref.html create mode 100644 layout/base/tests/input-valid-ref.html create mode 100644 layout/base/tests/interlinePosition-after-Selection-addRange-ref.html create mode 100644 layout/base/tests/interlinePosition-after-Selection-addRange.html create mode 100644 layout/base/tests/marionette/manifest.ini create mode 100644 layout/base/tests/marionette/selection.py create mode 100644 layout/base/tests/marionette/test_accessiblecaret_cursor_mode.py create mode 100644 layout/base/tests/marionette/test_accessiblecaret_selection_mode.py create mode 100644 layout/base/tests/mochitest.ini create mode 100644 layout/base/tests/multi-range-script-select-ref.html create mode 100644 layout/base/tests/multi-range-script-select.html create mode 100644 layout/base/tests/multi-range-user-select-ref.html create mode 100644 layout/base/tests/multi-range-user-select.html create mode 100644 layout/base/tests/partial.png create mode 100644 layout/base/tests/preserve3d_sorting_hit_testing2_iframe.html create mode 100644 layout/base/tests/preserve3d_sorting_hit_testing_iframe.html create mode 100644 layout/base/tests/resize_flush_iframe.html create mode 100644 layout/base/tests/scroll_into_view_in_child.html create mode 100644 layout/base/tests/scroll_selection_into_view_window.html create mode 100644 layout/base/tests/scroll_selection_into_view_window_frame.html create mode 100644 layout/base/tests/selection-utils.js create mode 100644 layout/base/tests/sendimagenevercomplete.sjs create mode 100644 layout/base/tests/test_accessiblecaret_magnifier.html create mode 100644 layout/base/tests/test_after_paint_pref.html create mode 100644 layout/base/tests/test_border_radius_hit_testing.html create mode 100644 layout/base/tests/test_bug1078327.html create mode 100644 layout/base/tests/test_bug1080360.html create mode 100644 layout/base/tests/test_bug1080361.html create mode 100644 layout/base/tests/test_bug1093686.html create mode 100644 layout/base/tests/test_bug1120705.html create mode 100644 layout/base/tests/test_bug114649.html create mode 100644 layout/base/tests/test_bug1153130.html create mode 100644 layout/base/tests/test_bug1162990.html create mode 100644 layout/base/tests/test_bug1216483.html create mode 100644 layout/base/tests/test_bug1226904.html create mode 100644 layout/base/tests/test_bug1246622.html create mode 100644 layout/base/tests/test_bug1278021.html create mode 100644 layout/base/tests/test_bug1448730.html create mode 100644 layout/base/tests/test_bug1515822.html create mode 100644 layout/base/tests/test_bug1550869_video.html create mode 100644 layout/base/tests/test_bug1714640.html create mode 100644 layout/base/tests/test_bug1756118.html create mode 100644 layout/base/tests/test_bug332655-1.html create mode 100644 layout/base/tests/test_bug332655-2.html create mode 100644 layout/base/tests/test_bug369950.html create mode 100644 layout/base/tests/test_bug370436.html create mode 100644 layout/base/tests/test_bug386575.xhtml create mode 100644 layout/base/tests/test_bug388019.html create mode 100644 layout/base/tests/test_bug394057.html create mode 100644 layout/base/tests/test_bug399284.html create mode 100644 layout/base/tests/test_bug399951.html create mode 100644 layout/base/tests/test_bug404209.xhtml create mode 100644 layout/base/tests/test_bug416896.html create mode 100644 layout/base/tests/test_bug423523.html create mode 100644 layout/base/tests/test_bug435293-interaction.html create mode 100644 layout/base/tests/test_bug435293-scale.html create mode 100644 layout/base/tests/test_bug435293-skew.html create mode 100644 layout/base/tests/test_bug449781.html create mode 100644 layout/base/tests/test_bug450930.xhtml create mode 100644 layout/base/tests/test_bug469170.html create mode 100644 layout/base/tests/test_bug471126.html create mode 100644 layout/base/tests/test_bug499538-1.html create mode 100644 layout/base/tests/test_bug514127.html create mode 100644 layout/base/tests/test_bug518777.html create mode 100644 layout/base/tests/test_bug548545.xhtml create mode 100644 layout/base/tests/test_bug558663.html create mode 100644 layout/base/tests/test_bug559499.html create mode 100644 layout/base/tests/test_bug569520.html create mode 100644 layout/base/tests/test_bug582181-1.html create mode 100644 layout/base/tests/test_bug582181-2.html create mode 100644 layout/base/tests/test_bug582771.html create mode 100644 layout/base/tests/test_bug583889.html create mode 100644 layout/base/tests/test_bug588174.html create mode 100644 layout/base/tests/test_bug603550.html create mode 100644 layout/base/tests/test_bug607529.html create mode 100644 layout/base/tests/test_bug629838.html create mode 100644 layout/base/tests/test_bug644768.html create mode 100644 layout/base/tests/test_bug646757.html create mode 100644 layout/base/tests/test_bug66619.html create mode 100644 layout/base/tests/test_bug667512.html create mode 100644 layout/base/tests/test_bug677878.html create mode 100644 layout/base/tests/test_bug687297.html create mode 100644 layout/base/tests/test_bug696020.html create mode 100644 layout/base/tests/test_bug718809.html create mode 100644 layout/base/tests/test_bug725426.html create mode 100644 layout/base/tests/test_bug731777.html create mode 100644 layout/base/tests/test_bug749186.html create mode 100644 layout/base/tests/test_bug761572.html create mode 100644 layout/base/tests/test_bug770106.html create mode 100644 layout/base/tests/test_bug842853-2.html create mode 100644 layout/base/tests/test_bug842853.html create mode 100644 layout/base/tests/test_bug849219.html create mode 100644 layout/base/tests/test_bug851445.html create mode 100644 layout/base/tests/test_bug851485.html create mode 100644 layout/base/tests/test_bug858459.html create mode 100644 layout/base/tests/test_bug93077-1.html create mode 100644 layout/base/tests/test_bug93077-2.html create mode 100644 layout/base/tests/test_bug93077-3.html create mode 100644 layout/base/tests/test_bug93077-4.html create mode 100644 layout/base/tests/test_bug93077-5.html create mode 100644 layout/base/tests/test_bug93077-6.html create mode 100644 layout/base/tests/test_bug970964.html create mode 100644 layout/base/tests/test_bug977003.html create mode 100644 layout/base/tests/test_bug990340.html create mode 100644 layout/base/tests/test_bug993936.html create mode 100644 layout/base/tests/test_caret_browsing_around_form_controls.html create mode 100644 layout/base/tests/test_dynamic_toolbar_max_height.html create mode 100644 layout/base/tests/test_emulateMedium.html create mode 100644 layout/base/tests/test_emulate_color_scheme.html create mode 100644 layout/base/tests/test_event_target_iframe_oop.html create mode 100644 layout/base/tests/test_event_target_radius.html create mode 100644 layout/base/tests/test_frame_reconstruction_body_table.html create mode 100644 layout/base/tests/test_frame_reconstruction_body_writing_mode.html create mode 100644 layout/base/tests/test_frame_reconstruction_for_column_span.html create mode 100644 layout/base/tests/test_frame_reconstruction_for_pseudo_elements.html create mode 100644 layout/base/tests/test_frame_reconstruction_for_svg_transforms.html create mode 100644 layout/base/tests/test_frame_reconstruction_scroll_restore.html create mode 100644 layout/base/tests/test_getBoxQuads_convertPointRectQuad.html create mode 100644 layout/base/tests/test_getClientRects_emptytext.html create mode 100644 layout/base/tests/test_mozPaintCount.html create mode 100644 layout/base/tests/test_partialbg.html create mode 100644 layout/base/tests/test_preserve3d_sorting_hit_testing.html create mode 100644 layout/base/tests/test_preserve3d_sorting_hit_testing2.html create mode 100644 layout/base/tests/test_refreshDriver_hasPendingTick.html create mode 100644 layout/base/tests/test_reftests_with_caret.html create mode 100644 layout/base/tests/test_resize_flush.html create mode 100644 layout/base/tests/test_scroll_event_ordering.html create mode 100644 layout/base/tests/test_scroll_into_view_in_oopif.html create mode 100644 layout/base/tests/test_scroll_selection_into_view.html create mode 100644 layout/base/tests/test_scroll_space_no_range_overflow_scroll.html create mode 100644 layout/base/tests/test_synthmousemove.html create mode 100644 layout/base/tests/test_transformed_scrolling_repaints.html create mode 100644 layout/base/tests/test_transformed_scrolling_repaints_2.html create mode 100644 layout/base/tests/test_transformed_scrolling_repaints_3.html create mode 100644 layout/base/tests/test_visual_viewport_in_oopif.html create mode 100644 layout/base/tests/test_zoom_restore_bfcache.html create mode 100644 layout/base/tests/textarea-invalid-ref.html create mode 100644 layout/base/tests/textarea-maxlength-invalid-change.html create mode 100644 layout/base/tests/textarea-maxlength-ui-invalid-change.html create mode 100644 layout/base/tests/textarea-maxlength-ui-valid-change.html create mode 100644 layout/base/tests/textarea-maxlength-valid-before-change.html create mode 100644 layout/base/tests/textarea-maxlength-valid-change.html create mode 100644 layout/base/tests/textarea-minlength-invalid-change.html create mode 100644 layout/base/tests/textarea-minlength-ui-invalid-change.html create mode 100644 layout/base/tests/textarea-minlength-ui-valid-change.html create mode 100644 layout/base/tests/textarea-minlength-valid-before-change.html create mode 100644 layout/base/tests/textarea-minlength-valid-change.html create mode 100644 layout/base/tests/textarea-valid-ref.html create mode 100644 layout/base/tests/transformed_scrolling_repaints_3_window.html create mode 100644 layout/base/tests/transformed_scrolling_repaints_3_window_frame.html create mode 100644 layout/base/tests/visual_viewport_in_child.html (limited to 'layout/base/tests') diff --git a/layout/base/tests/Ahem.ttf b/layout/base/tests/Ahem.ttf new file mode 100644 index 0000000000..ac81cb0316 Binary files /dev/null and b/layout/base/tests/Ahem.ttf differ diff --git a/layout/base/tests/accessiblecaret_magnifier.html b/layout/base/tests/accessiblecaret_magnifier.html new file mode 100644 index 0000000000..855a027725 --- /dev/null +++ b/layout/base/tests/accessiblecaret_magnifier.html @@ -0,0 +1,91 @@ + + + + + + +

+

foobarbaz
+

+ + + diff --git a/layout/base/tests/border_radius_hit_testing_iframe.html b/layout/base/tests/border_radius_hit_testing_iframe.html new file mode 100644 index 0000000000..a0f7ba1b92 --- /dev/null +++ b/layout/base/tests/border_radius_hit_testing_iframe.html @@ -0,0 +1,27 @@ + +border-radius hit testing + + +
+
diff --git a/layout/base/tests/browser.ini b/layout/base/tests/browser.ini new file mode 100644 index 0000000000..a05e516f40 --- /dev/null +++ b/layout/base/tests/browser.ini @@ -0,0 +1,36 @@ +[browser_bug617076.js] +[browser_bug839103.js] +support-files = + file_bug839103.html + bug839103.css +[browser_bug1701027-1.js] +support-files = + helper_bug1701027-1.html +[browser_bug1701027-2.js] +support-files = + helper_bug1701027-2.html +[browser_bug1757410.js] +run-if = (((os == 'mac') || (os == 'win' && os_version != '6.1' && processor == 'x86_64')) && debug) +[browser_bug1787079.js] +run-if = ((os == 'win' && os_version != '6.1' && processor == 'x86_64') && debug) +[browser_disableDialogs_onbeforeunload.js] +[browser_onbeforeunload_only_after_interaction.js] +[browser_onbeforeunload_only_after_interaction_in_frame.js] +[browser_scroll_into_view_in_out_of_process_iframe.js] +support-files = + test_scroll_into_view_in_oopif.html + scroll_into_view_in_child.html +[browser_visual_viewport_iframe.js] +support-files = + test_visual_viewport_in_oopif.html + visual_viewport_in_child.html +[browser_select_popup_position_in_out_of_process_iframe.js] +skip-if = + (verify && (os == 'mac')) # bug 1627874 + apple_silicon # Disabled due to bleedover with other tests when run in regular suites; passes in "failures" jobs + (os == 'linux' && socketprocess_networking && fission && !debug) # high frequency intermittent +support-files = + !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js + !/browser/base/content/test/forms/head.js +[browser_bug1791083.js] +skip-if = !sessionHistoryInParent diff --git a/layout/base/tests/browser_bug1701027-1.js b/layout/base/tests/browser_bug1701027-1.js new file mode 100644 index 0000000000..bf5a4ffaa3 --- /dev/null +++ b/layout/base/tests/browser_bug1701027-1.js @@ -0,0 +1,130 @@ +/* This test is based on + https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/gfx/layers/apz/test/mochitest/browser_test_select_zoom.js +*/ + +// In order for this test to test the original bug we need: +// 1) At least e10s enabled so that apz is enabled so we can create an +// nsDisplayAsyncZoom item +// (the insertion of this item without marking the required frame modified +// is what causes the bug in the retained display list merging) +// 2) a root content document, again so that we can create a nsDisplayAsyncZoom +// item +// 3) the root content document cannot have a display port to start +// (if it has a display port then it gets a nsDisplayAsyncZoom, but we need +// that to be created after the anonymous content we insert into the +// document) +// Point 3) requires the root content document to be in the parent process, +// since if it is in a content process it will get a displayport for being at +// the root of a process. +// Creating an in-process root content document I think is not possible in +// mochitest-plain. mochitest-chrome does not have e10s enabled. So this has to +// be a mochitest-browser-chrome test. + +// Outline of this test: +// Open a new tab with a pretty simple content file, that is not scrollable +// Use the anonymous content api to insert into that content doc +// Send a mouse click over the content doc +// The click hits fixed pos content. +// This sets a displayport on the root scroll frame of the content doc. +// (This is because we call GetAsyncScrollableAncestorFrame in +// PrepareForSetTargetAPZCNotification +// https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/gfx/layers/apz/util/APZCCallbackHelper.cpp#624 +// which passes the SCROLLABLE_FIXEDPOS_FINDS_ROOT flag +// https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/layout/base/nsLayoutUtils.cpp#2884 +// so starting from fixed pos content means we always find the root scroll +// frame, whereas if we started from non-fixed content we'd walk pass the root +// scroll frame becase it isn't scrollable.) +// Then we have to be careful not to do anything that causes a full display +// list rebuild. +// And finally we change the color of the fixed element which covers the whole +// viewport which causes us to do a partial display list update including the +// anonymous content, which hits the assert we are aiming to test. + +add_task(async function () { + function getChromeURL(filename) { + let chromeURL = getRootDirectory(gTestPath) + filename; + return chromeURL; + } + + // We need this otherwise there is a burst animation on the new tab when it + // loads and that somehow scrolls a scroll frame, which makes it active, + // which makes the scrolled frame an AGR, which means we have multiple AGRs + // (the display port makes the root scroll frame active and an AGR) so we hit + // this + // https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/layout/painting/RetainedDisplayListBuilder.cpp#1179 + // and are forced to do a full display list rebuild and that prevents us from + // testing the original bug. + await SpecialPowers.pushPrefEnv({ + set: [["ui.prefersReducedMotion", 1]], + }); + + const pageUrl = getChromeURL("helper_bug1701027-1.html"); + let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, pageUrl); + + const [theX, theY] = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + async () => { + content.document.body.offsetWidth; + + await new Promise(r => content.window.requestAnimationFrame(r)); + + const rect = content.document + .getElementById("fd") + .getBoundingClientRect(); + const x = content.window.mozInnerScreenX + rect.left + rect.width / 2; + const y = content.window.mozInnerScreenY + rect.top + rect.height / 2; + + let doc = SpecialPowers.wrap(content.document); + var bq = doc.createElement("blockquote"); + bq.textContent = "This blockquote text."; + var div = doc.createElement("div"); + div.textContent = " This div text."; + bq.appendChild(div); + var ac = doc.insertAnonymousContent(bq); + content.document.body.offsetWidth; + + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + + return [x, y]; + } + ); + + EventUtils.synthesizeNativeMouseEvent({ + type: "click", + target: window.document.documentElement, + screenX: theX, + screenY: theY, + }); + + await new Promise(resolve => setTimeout(resolve, 0)); + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + }); + + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + content.document.getElementById("fd").style.backgroundColor = "blue"; + }); + + await new Promise(resolve => setTimeout(resolve, 0)); + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + }); + + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + content.document.getElementById("fd").style.backgroundColor = "red"; + }); + + await new Promise(resolve => setTimeout(resolve, 0)); + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + }); + + BrowserTestUtils.removeTab(tab); + + ok(true, "didn't crash"); +}); diff --git a/layout/base/tests/browser_bug1701027-2.js b/layout/base/tests/browser_bug1701027-2.js new file mode 100644 index 0000000000..00e55ca562 --- /dev/null +++ b/layout/base/tests/browser_bug1701027-2.js @@ -0,0 +1,126 @@ +/* This test is based on + https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/gfx/layers/apz/test/mochitest/browser_test_select_zoom.js +*/ + +// In order for this test to test the original bug we need: +// 1) At least e10s enabled so that apz is enabled so we can create an +// nsDisplayAsyncZoom item +// (the insertion of this item without marking the required frame modified +// is what causes the bug in the retained display list merging) +// 2) a root content document, again so that we can create a nsDisplayAsyncZoom +// item +// 3) the root content document cannot have a display port to start +// (if it has a display port then it gets a nsDisplayAsyncZoom, but we need +// that to be created after the anonymous content we insert into the +// document) +// Point 3) requires the root content document to be in the parent process, +// since if it is in a content process it will get a displayport for being at +// the root of a process. +// Creating an in-process root content document I think is not possible in +// mochitest-plain. mochitest-chrome does not have e10s enabled. So this has to +// be a mochitest-browser-chrome test. + +// Outline of this test: +// Open a new tab with a pretty simple content file, that is not scrollable +// Use the anonymous content api to insert into that content doc +// Set a displayport on the root scroll frame of the content doc directly. +// Then we have to be careful not to do anything that causes a full display +// list rebuild. +// And finally we change the color of the fixed element which covers the whole +// viewport which causes us to do a partial display list update including the +// anonymous content, which hits the assert we are aiming to test. + +add_task(async function () { + function getChromeURL(filename) { + let chromeURL = getRootDirectory(gTestPath) + filename; + return chromeURL; + } + + // We need this otherwise there is a burst animation on the new tab when it + // loads and that somehow scrolls a scroll frame, which makes it active, + // which makes the scrolled frame an AGR, which means we have multiple AGRs + // (the display port makes the root scroll frame active and an AGR) so we hit + // this + // https://searchfox.org/mozilla-central/rev/e082df56bbfeaff0f388e7da9da401ff414df18f/layout/painting/RetainedDisplayListBuilder.cpp#1179 + // and are forced to do a full display list rebuild and that prevents us from + // testing the original bug. + await SpecialPowers.pushPrefEnv({ + set: [["ui.prefersReducedMotion", 1]], + }); + + const pageUrl = getChromeURL("helper_bug1701027-2.html"); + let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, pageUrl); + + const [theX, theY] = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + async () => { + content.document.body.offsetWidth; + + await new Promise(r => content.window.requestAnimationFrame(r)); + + const rect = content.document + .getElementById("fd") + .getBoundingClientRect(); + const x = content.window.mozInnerScreenX + rect.left + rect.width / 2; + const y = content.window.mozInnerScreenY + rect.top + rect.height / 2; + + let doc = SpecialPowers.wrap(content.document); + var bq = doc.createElement("blockquote"); + bq.textContent = "This blockquote text."; + var div = doc.createElement("div"); + div.textContent = " This div text."; + bq.appendChild(div); + var ac = doc.insertAnonymousContent(bq); + content.document.body.offsetWidth; + + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + + content.window.windowUtils.setDisplayPortMarginsForElement( + 0, + 0, + 0, + 0, + doc.documentElement, + 1 + ); + content.window.windowUtils.setDisplayPortBaseForElement( + 0, + 0, + 100, + 100, + doc.documentElement + ); + + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + + return [x, y]; + } + ); + + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + content.document.getElementById("fd").style.backgroundColor = "blue"; + }); + + await new Promise(resolve => setTimeout(resolve, 0)); + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + }); + + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + content.document.getElementById("fd").style.backgroundColor = "red"; + }); + + await new Promise(resolve => setTimeout(resolve, 0)); + await SpecialPowers.spawn(tab.linkedBrowser, [], async () => { + await new Promise(r => content.window.requestAnimationFrame(r)); + await new Promise(r => content.window.requestAnimationFrame(r)); + }); + + BrowserTestUtils.removeTab(tab); + + ok(true, "didn't crash"); +}); diff --git a/layout/base/tests/browser_bug1757410.js b/layout/base/tests/browser_bug1757410.js new file mode 100644 index 0000000000..59c740e5a8 --- /dev/null +++ b/layout/base/tests/browser_bug1757410.js @@ -0,0 +1,62 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +const PAGECONTENT = + "" + + "" + + "" + + ""; + +const pageUrl = "data:text/html," + encodeURIComponent(PAGECONTENT); + +add_task(async function test() { + if (window.devicePixelRatio == 1) { + ok( + true, + "Skip this test since this test is supposed to run on HiDPI mode, " + + "the devixePixelRato on this machine is " + + window.devicePixelRatio + ); + return; + } + + const tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, pageUrl); + + // Scroll the content a bit. + const originalScrollPosition = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + async () => { + content.document.scrollingElement.scrollTop = 100; + return content.document.scrollingElement.scrollTop; + } + ); + + // Disabling HiDPI mode and check the scroll position. + SpecialPowers.DOMWindowUtils.setHiDPIMode(false); + // Make sure we restore even if this test failed. + registerCleanupFunction(() => { + SpecialPowers.DOMWindowUtils.restoreHiDPIMode(); + }); + + const scrollPosition = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + async () => { + return content.document.scrollingElement.scrollTop; + } + ); + is( + originalScrollPosition, + scrollPosition, + "The scroll position should be kept" + ); + BrowserTestUtils.removeTab(tab); +}); diff --git a/layout/base/tests/browser_bug1787079.js b/layout/base/tests/browser_bug1787079.js new file mode 100644 index 0000000000..4ce38f8b69 --- /dev/null +++ b/layout/base/tests/browser_bug1787079.js @@ -0,0 +1,86 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +const PAGECONTENT = + "" + + "" + + "" + + ""; + +const pageUrl = "data:text/html," + encodeURIComponent(PAGECONTENT); + +add_task(async function test() { + SpecialPowers.DOMWindowUtils.setHiDPIMode(true); + registerCleanupFunction(() => { + SpecialPowers.DOMWindowUtils.restoreHiDPIMode(); + }); + + const tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, pageUrl); + + // Enter fullscreen. + let fullscreenChangePromise = BrowserTestUtils.waitForContentEvent( + tab.linkedBrowser, + "fullscreenchange" + ); + await SpecialPowers.spawn(tab.linkedBrowser, [], () => { + content.document.documentElement.requestFullscreen(); + }); + await fullscreenChangePromise; + + let [originalInnerWidth, originalInnerHeight] = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + () => { + return [content.window.innerWidth, content.window.innerHeight]; + } + ); + + // Then change the DPI. + let originalPixelRatio = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + () => { + return content.window.devicePixelRatio; + } + ); + let dpiChangedPromise = TestUtils.waitForCondition(async () => { + let pixelRatio = await SpecialPowers.spawn(tab.linkedBrowser, [], () => { + return content.window.devicePixelRatio; + }); + return pixelRatio != originalPixelRatio; + }, "Make sure the DPI changed"); + SpecialPowers.DOMWindowUtils.setHiDPIMode(false); + await dpiChangedPromise; + + let [innerWidth, innerHeight] = await SpecialPowers.spawn( + tab.linkedBrowser, + [], + () => { + return [content.window.innerWidth, content.window.innerHeight]; + } + ); + + ok( + originalInnerWidth < innerWidth, + "window.innerWidth on a lower DPI should be greater than the original" + ); + ok( + originalInnerHeight < innerHeight, + "window.innerHeight on a lower DPI should be greater than the original" + ); + + fullscreenChangePromise = BrowserTestUtils.waitForContentEvent( + tab.linkedBrowser, + "fullscreenchange" + ); + await SpecialPowers.spawn(tab.linkedBrowser, [], () => { + content.document.exitFullscreen(); + }); + await fullscreenChangePromise; + + BrowserTestUtils.removeTab(tab); +}); diff --git a/layout/base/tests/browser_bug1791083.js b/layout/base/tests/browser_bug1791083.js new file mode 100644 index 0000000000..fcc59f5c18 --- /dev/null +++ b/layout/base/tests/browser_bug1791083.js @@ -0,0 +1,81 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +const URL = + "data:text/html," + + "" + + "" + + "Click Me" + + ""; + +function isAnchorHovered(win) { + return SpecialPowers.spawn( + win.gBrowser.selectedBrowser, + [], + async function () { + const a = content.document.querySelector("a"); + return a.matches(":hover"); + } + ); +} + +add_task(async function test() { + let newWin = await BrowserTestUtils.openNewBrowserWindow(); + + // This bug is only reproducible if the cursor is out of the viewport, so + // we resize the window to ensure the cursor is out of the viewport. + + // SynthesizeMouse isn't sufficient because it only synthesizes + // mouse events without actually moving the cursor permanently to a + // new location. + newWin.resizeTo(50, 50); + + BrowserTestUtils.loadURIString(newWin.gBrowser.selectedBrowser, URL); + await BrowserTestUtils.browserLoaded(newWin.gBrowser.selectedBrowser); + + await SpecialPowers.spawn( + newWin.gBrowser.selectedBrowser, + [], + async function () { + const a = content.document.querySelector("a"); + await EventUtils.synthesizeMouseAtCenter( + a, + { type: "mousemove" }, + content + ); + } + ); + + // We've hovered the anchor element. + let anchorHovered = await isAnchorHovered(newWin); + ok(anchorHovered, "Anchor should be hovered"); + + let locationChange = BrowserTestUtils.waitForLocationChange(newWin.gBrowser); + + // Click the anchor to navigate away + await SpecialPowers.spawn( + newWin.gBrowser.selectedBrowser, + [], + async function () { + const a = content.document.querySelector("a"); + await EventUtils.synthesizeMouseAtCenter( + a, + { type: "mousedown" }, + content + ); + await EventUtils.synthesizeMouseAtCenter(a, { type: "mouseup" }, content); + } + ); + await locationChange; + + // Navigate back to the previous page which has the anchor + locationChange = BrowserTestUtils.waitForLocationChange(newWin.gBrowser); + newWin.gBrowser.selectedBrowser.goBack(); + await locationChange; + + // Hover state should be cleared upon page caching. + anchorHovered = await isAnchorHovered(newWin); + ok(!anchorHovered, "Anchor should not be hovered"); + + BrowserTestUtils.closeWindow(newWin); +}); diff --git a/layout/base/tests/browser_bug617076.js b/layout/base/tests/browser_bug617076.js new file mode 100644 index 0000000000..c76cbd41d3 --- /dev/null +++ b/layout/base/tests/browser_bug617076.js @@ -0,0 +1,71 @@ +/** + * 1. load about:addons in a new tab and select that tab + * 2. insert a button with tooltiptext + * 3. create a new blank tab and select that tab + * 4. select the about:addons tab and hover the inserted button + * 5. remove the about:addons tab + * 6. remove the blank tab + * + * the test succeeds if it doesn't trigger any assertions + */ + +add_task(async function test() { + // Open the test tab + let testTab = await BrowserTestUtils.openNewForegroundTab( + gBrowser, + "about:addons" + ); + + // insert button into test page content + await SpecialPowers.spawn(gBrowser.selectedBrowser, [], async function () { + let doc = content.document; + let e = doc.createXULElement("button"); + e.setAttribute("label", "hello"); + e.setAttribute("tooltiptext", "world"); + e.setAttribute("id", "test-button"); + doc.documentElement.insertBefore(e, doc.documentElement.firstChild); + }); + + // open a second tab and select it + let tab2 = await BrowserTestUtils.openNewForegroundTab( + gBrowser, + "about:blank", + true + ); + gBrowser.selectedTab = tab2; + + // Select the testTab then perform mouse events on inserted button + gBrowser.selectedTab = testTab; + let browser = gBrowser.selectedBrowser; + EventUtils.disableNonTestMouseEvents(true); + try { + await BrowserTestUtils.synthesizeMouse( + "#test-button", + 1, + 1, + { type: "mouseover" }, + browser + ); + await BrowserTestUtils.synthesizeMouse( + "#test-button", + 2, + 6, + { type: "mousemove" }, + browser + ); + await BrowserTestUtils.synthesizeMouse( + "#test-button", + 2, + 4, + { type: "mousemove" }, + browser + ); + } finally { + EventUtils.disableNonTestMouseEvents(false); + } + + // cleanup + BrowserTestUtils.removeTab(testTab); + BrowserTestUtils.removeTab(tab2); + ok(true, "pass if no assertions"); +}); diff --git a/layout/base/tests/browser_bug839103.js b/layout/base/tests/browser_bug839103.js new file mode 100644 index 0000000000..fd20b82029 --- /dev/null +++ b/layout/base/tests/browser_bug839103.js @@ -0,0 +1,82 @@ +const gTestRoot = getRootDirectory(gTestPath).replace( + "chrome://mochitests/content/", + "http://127.0.0.1:8888/" +); + +add_task(async function test() { + await BrowserTestUtils.withNewTab( + { gBrowser, url: gTestRoot + "file_bug839103.html" }, + async function (browser) { + await SpecialPowers.spawn(browser, [gTestRoot], testBody); + } + ); +}); + +// This function runs entirely in the content process. It doesn't have access +// any free variables in this file. +async function testBody(testRoot) { + const gStyleSheet = "bug839103.css"; + + function unexpectedContentEvent(event) { + ok(false, "Received a " + event.type + " event on content"); + } + + // We've seen the original stylesheet in the document. + // Now add a stylesheet on the fly and make sure we see it. + let doc = content.document; + doc.styleSheetChangeEventsEnabled = true; + doc.addEventListener( + "StyleSheetApplicableStateChanged", + unexpectedContentEvent + ); + doc.defaultView.addEventListener( + "StyleSheetApplicableStateChanged", + unexpectedContentEvent + ); + + let link = doc.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("type", "text/css"); + link.setAttribute("href", testRoot + gStyleSheet); + + let stateChanged = ContentTaskUtils.waitForEvent( + docShell.chromeEventHandler, + "StyleSheetApplicableStateChanged", + true + ); + doc.body.appendChild(link); + + info("waiting for applicable state change event"); + let evt = await stateChanged; + info("received dynamic style sheet applicable state change event"); + is( + evt.type, + "StyleSheetApplicableStateChanged", + "evt.type has expected value" + ); + is(evt.target, doc, "event targets correct document"); + is(evt.stylesheet, link.sheet, "evt.stylesheet has the right value"); + is(evt.applicable, true, "evt.applicable has the right value"); + + stateChanged = ContentTaskUtils.waitForEvent( + docShell.chromeEventHandler, + "StyleSheetApplicableStateChanged", + true + ); + link.sheet.disabled = true; + + evt = await stateChanged; + is( + evt.type, + "StyleSheetApplicableStateChanged", + "evt.type has expected value" + ); + info( + 'received dynamic style sheet applicable state change event after media="" changed' + ); + is(evt.target, doc, "event targets correct document"); + is(evt.stylesheet, link.sheet, "evt.stylesheet has the right value"); + is(evt.applicable, false, "evt.applicable has the right value"); + + doc.body.removeChild(link); +} diff --git a/layout/base/tests/browser_disableDialogs_onbeforeunload.js b/layout/base/tests/browser_disableDialogs_onbeforeunload.js new file mode 100644 index 0000000000..684fbf1d10 --- /dev/null +++ b/layout/base/tests/browser_disableDialogs_onbeforeunload.js @@ -0,0 +1,64 @@ +const { PromptTestUtils } = ChromeUtils.importESModule( + "resource://testing-common/PromptTestUtils.sys.mjs" +); + +function pageScript() { + window.addEventListener( + "beforeunload", + function (event) { + var str = "Some text that causes the beforeunload dialog to be shown"; + event.returnValue = str; + return str; + }, + true + ); +} + +SpecialPowers.pushPrefEnv({ + set: [["dom.require_user_interaction_for_beforeunload", false]], +}); + +const PAGE_URL = + "data:text/html," + + encodeURIComponent(""); + +add_task(async function enableDialogs() { + // The onbeforeunload dialog should appear. + let dialogPromise = PromptTestUtils.waitForPrompt(null, { + modalType: Services.prompt.MODAL_TYPE_CONTENT, + promptType: "confirmEx", + }); + + let openPagePromise = openPage(true); + let dialog = await dialogPromise; + Assert.ok(true, "Showed the beforeunload dialog."); + + await PromptTestUtils.handlePrompt(dialog, { buttonNumClick: 0 }); + await openPagePromise; +}); + +add_task(async function disableDialogs() { + // The onbeforeunload dialog should NOT appear. + await openPage(false); + info("If we time out here, then the dialog was shown..."); +}); + +async function openPage(enableDialogs) { + // Open about:blank in a new tab. + await BrowserTestUtils.withNewTab( + { gBrowser, url: "about:blank" }, + async function (browser) { + // Load the page. + BrowserTestUtils.loadURIString(browser, PAGE_URL); + await BrowserTestUtils.browserLoaded(browser); + // Load the content script in the frame. + let methodName = enableDialogs ? "enableDialogs" : "disableDialogs"; + await SpecialPowers.spawn(browser, [methodName], async function (name) { + content.windowUtils[name](); + }); + // And then navigate away. + BrowserTestUtils.loadURIString(browser, "http://example.com/"); + await BrowserTestUtils.browserLoaded(browser); + } + ); +} diff --git a/layout/base/tests/browser_onbeforeunload_only_after_interaction.js b/layout/base/tests/browser_onbeforeunload_only_after_interaction.js new file mode 100644 index 0000000000..af60db1acf --- /dev/null +++ b/layout/base/tests/browser_onbeforeunload_only_after_interaction.js @@ -0,0 +1,75 @@ +const { PromptTestUtils } = ChromeUtils.importESModule( + "resource://testing-common/PromptTestUtils.sys.mjs" +); + +function pageScript() { + window.addEventListener( + "beforeunload", + function (event) { + var str = "Some text that causes the beforeunload dialog to be shown"; + event.returnValue = str; + return str; + }, + true + ); +} + +SpecialPowers.pushPrefEnv({ + set: [["dom.require_user_interaction_for_beforeunload", true]], +}); + +const PAGE_URL = + "data:text/html," + + encodeURIComponent(""); + +add_task(async function doClick() { + // The onbeforeunload dialog should appear. + let dialogPromise = PromptTestUtils.waitForPrompt(null, { + modalType: Services.prompt.MODAL_TYPE_CONTENT, + promptType: "confirmEx", + }); + + let openPagePromise = openPage(true); + let dialog = await dialogPromise; + Assert.ok(true, "Showed the beforeunload dialog."); + + await PromptTestUtils.handlePrompt(dialog, { buttonNumClick: 0 }); + await openPagePromise; +}); + +add_task(async function noClick() { + // The onbeforeunload dialog should NOT appear. + await openPage(false); + info("If we time out here, then the dialog was shown..."); +}); + +async function openPage(shouldClick) { + // Open about:blank in a new tab. + await BrowserTestUtils.withNewTab( + { gBrowser, url: "about:blank" }, + async function (browser) { + // Load the page. + BrowserTestUtils.loadURIString(browser, PAGE_URL); + await BrowserTestUtils.browserLoaded(browser); + + if (shouldClick) { + await BrowserTestUtils.synthesizeMouse("body", 2, 2, {}, browser); + } + let hasInteractedWith = await SpecialPowers.spawn( + browser, + [""], + function () { + return content.document.userHasInteracted; + } + ); + is( + shouldClick, + hasInteractedWith, + "Click should update document interactivity state" + ); + // And then navigate away. + BrowserTestUtils.loadURIString(browser, "http://example.com/"); + await BrowserTestUtils.browserLoaded(browser); + } + ); +} diff --git a/layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js b/layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js new file mode 100644 index 0000000000..6f73a2ece2 --- /dev/null +++ b/layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js @@ -0,0 +1,96 @@ +const { PromptTestUtils } = ChromeUtils.importESModule( + "resource://testing-common/PromptTestUtils.sys.mjs" +); + +function pageScript() { + window.addEventListener( + "beforeunload", + function (event) { + var str = "Some text that causes the beforeunload dialog to be shown"; + event.returnValue = str; + return str; + }, + true + ); +} + +SpecialPowers.pushPrefEnv({ + set: [ + ["dom.require_user_interaction_for_beforeunload", true], + ["security.allow_eval_with_system_principal", true], + ], +}); + +const FRAME_URL = + "data:text/html," + encodeURIComponent("Just a frame"); + +const PAGE_URL = + "data:text/html," + + encodeURIComponent( + "" + ); + +add_task(async function doClick() { + // The onbeforeunload dialog should appear. + let dialogPromise = PromptTestUtils.waitForPrompt(null, { + modalType: Services.prompt.MODAL_TYPE_CONTENT, + promptType: "confirmEx", + }); + + let openPagePromise = openPage(true); + let dialog = await dialogPromise; + Assert.ok(true, "Showed the beforeunload dialog."); + + await PromptTestUtils.handlePrompt(dialog, { buttonNumClick: 0 }); + await openPagePromise; +}); + +add_task(async function noClick() { + // The onbeforeunload dialog should NOT appear. + await openPage(false); + info("If we time out here, then the dialog was shown..."); +}); + +async function openPage(shouldClick) { + // Open about:blank in a new tab. + await BrowserTestUtils.withNewTab( + { gBrowser, url: "about:blank" }, + async function (browser) { + // Load the page. + BrowserTestUtils.loadURIString(browser, PAGE_URL); + await BrowserTestUtils.browserLoaded(browser); + + let frameBC = browser.browsingContext.children[0]; + if (shouldClick) { + await BrowserTestUtils.synthesizeMouse("body", 2, 2, {}, frameBC); + } + let hasInteractedWith = await SpecialPowers.spawn( + frameBC, + [], + function () { + return [ + content.document.userHasInteracted, + content.document.userHasInteracted, + ]; + } + ); + is( + shouldClick, + hasInteractedWith[0], + "Click should update parent interactivity state" + ); + is( + shouldClick, + hasInteractedWith[1], + "Click should update frame interactivity state" + ); + // And then navigate away. + BrowserTestUtils.loadURIString(browser, "http://example.com/"); + await BrowserTestUtils.browserLoaded(browser); + } + ); +} diff --git a/layout/base/tests/browser_scroll_into_view_in_out_of_process_iframe.js b/layout/base/tests/browser_scroll_into_view_in_out_of_process_iframe.js new file mode 100644 index 0000000000..edf926c4ca --- /dev/null +++ b/layout/base/tests/browser_scroll_into_view_in_out_of_process_iframe.js @@ -0,0 +1,50 @@ +"use strict"; + +add_task(async () => { + function httpURL(filename, host = "https://example.com/") { + let root = getRootDirectory(gTestPath).replace( + "chrome://mochitests/content/", + host + ); + return root + filename; + } + + const fissionWindow = await BrowserTestUtils.openNewBrowserWindow({ + fission: true, + }); + const url = httpURL( + "test_scroll_into_view_in_oopif.html", + "http://mochi.test:8888/" + ); + const crossOriginIframeUrl = httpURL("scroll_into_view_in_child.html"); + + try { + await BrowserTestUtils.withNewTab( + { gBrowser: fissionWindow.gBrowser, url }, + async browser => { + await SpecialPowers.spawn( + browser, + [crossOriginIframeUrl], + async iframeUrl => { + const iframe = content.document.getElementById("iframe"); + iframe.setAttribute("src", iframeUrl); + + // Wait for a scroll event since scrollIntoView for cross origin documents is + // asyncronously processed. + const scroller = content.document.getElementById("scroller"); + await new Promise(resolve => { + scroller.addEventListener("scroll", resolve, { once: true }); + }); + + ok( + scroller.scrollTop > 0, + "scrollIntoView works in a cross origin iframe" + ); + } + ); + } + ); + } finally { + await BrowserTestUtils.closeWindow(fissionWindow); + } +}); diff --git a/layout/base/tests/browser_select_popup_position_in_out_of_process_iframe.js b/layout/base/tests/browser_select_popup_position_in_out_of_process_iframe.js new file mode 100644 index 0000000000..c118c1c726 --- /dev/null +++ b/layout/base/tests/browser_select_popup_position_in_out_of_process_iframe.js @@ -0,0 +1,122 @@ +Services.scriptloader.loadSubScript( + "chrome://mochitests/content/browser/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js", + this +); + +Services.scriptloader.loadSubScript( + "chrome://mochitests/content/browser/browser/base/content/test/forms/head.js", + this +); + +const PAGECONTENT_TRANSLATED = + "" + + "
" + + " + + + + + +
+ + + +
+
+
+ + + diff --git a/layout/base/tests/bug482484-ref.html b/layout/base/tests/bug482484-ref.html new file mode 100644 index 0000000000..c8b8c2bab3 --- /dev/null +++ b/layout/base/tests/bug482484-ref.html @@ -0,0 +1,18 @@ + + +

ABC

+ + + + diff --git a/layout/base/tests/bug482484.html b/layout/base/tests/bug482484.html new file mode 100644 index 0000000000..1f05124a2b --- /dev/null +++ b/layout/base/tests/bug482484.html @@ -0,0 +1,22 @@ + + + + +

BC

+ + + diff --git a/layout/base/tests/bug503399-ref.html b/layout/base/tests/bug503399-ref.html new file mode 100644 index 0000000000..2f2af9c31d --- /dev/null +++ b/layout/base/tests/bug503399-ref.html @@ -0,0 +1,42 @@ + + + + + Testcase for bug 503399 + + + + +

                    

+ + diff --git a/layout/base/tests/bug503399.html b/layout/base/tests/bug503399.html new file mode 100644 index 0000000000..96288b1702 --- /dev/null +++ b/layout/base/tests/bug503399.html @@ -0,0 +1,41 @@ + + + + + Testcase for bug 503399 + + + + +

                    

+ + diff --git a/layout/base/tests/bug512295-1-ref.html b/layout/base/tests/bug512295-1-ref.html new file mode 100644 index 0000000000..8c33e9fa7c --- /dev/null +++ b/layout/base/tests/bug512295-1-ref.html @@ -0,0 +1,30 @@ + + + + +
+

A B CD EFG
+ 1234567890

+
+x + + + + diff --git a/layout/base/tests/bug512295-1.html b/layout/base/tests/bug512295-1.html new file mode 100644 index 0000000000..d475b36099 --- /dev/null +++ b/layout/base/tests/bug512295-1.html @@ -0,0 +1,36 @@ + + + + +
+

A B CD EFG
+ 1234567890

+
+x + + + diff --git a/layout/base/tests/bug512295-2-ref.html b/layout/base/tests/bug512295-2-ref.html new file mode 100644 index 0000000000..c32a30fa59 --- /dev/null +++ b/layout/base/tests/bug512295-2-ref.html @@ -0,0 +1,30 @@ + + + + +x +
+

A B CD EFG
+ 1234567890

+
+ + + + diff --git a/layout/base/tests/bug512295-2.html b/layout/base/tests/bug512295-2.html new file mode 100644 index 0000000000..9baa8bcdb8 --- /dev/null +++ b/layout/base/tests/bug512295-2.html @@ -0,0 +1,36 @@ + + + + +x +
+

A B CD EFG
+ 1234567890

+
+ + + diff --git a/layout/base/tests/bug558663.html b/layout/base/tests/bug558663.html new file mode 100644 index 0000000000..4c5f81153a --- /dev/null +++ b/layout/base/tests/bug558663.html @@ -0,0 +1,103 @@ + + + + + Test for Bug 558663 + + +

Mozilla Bug 558663

+ + + + +
+
+
+ + diff --git a/layout/base/tests/bug583889_inner1.html b/layout/base/tests/bug583889_inner1.html new file mode 100644 index 0000000000..7a223569d2 --- /dev/null +++ b/layout/base/tests/bug583889_inner1.html @@ -0,0 +1,64 @@ + + + +
+ + + diff --git a/layout/base/tests/bug583889_inner2.html b/layout/base/tests/bug583889_inner2.html new file mode 100644 index 0000000000..ce63f54cfd --- /dev/null +++ b/layout/base/tests/bug583889_inner2.html @@ -0,0 +1,5 @@ + +link 1 +link 2 +link 3 + diff --git a/layout/base/tests/bug585922-ref.html b/layout/base/tests/bug585922-ref.html new file mode 100644 index 0000000000..8009314c86 --- /dev/null +++ b/layout/base/tests/bug585922-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug585922.html b/layout/base/tests/bug585922.html new file mode 100644 index 0000000000..4f4eaeb6b9 --- /dev/null +++ b/layout/base/tests/bug585922.html @@ -0,0 +1,35 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug597519-1-ref.html b/layout/base/tests/bug597519-1-ref.html new file mode 100644 index 0000000000..e11eb0c967 --- /dev/null +++ b/layout/base/tests/bug597519-1-ref.html @@ -0,0 +1,12 @@ + + + + + + + diff --git a/layout/base/tests/bug597519-1.html b/layout/base/tests/bug597519-1.html new file mode 100644 index 0000000000..2fcddce515 --- /dev/null +++ b/layout/base/tests/bug597519-1.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/base/tests/bug602141-1-ref.html b/layout/base/tests/bug602141-1-ref.html new file mode 100644 index 0000000000..64cbd58c3d --- /dev/null +++ b/layout/base/tests/bug602141-1-ref.html @@ -0,0 +1,18 @@ + + + +navigable__navigable|unnavigable
+ + + diff --git a/layout/base/tests/bug602141-1.html b/layout/base/tests/bug602141-1.html new file mode 100644 index 0000000000..4a3d3614ee --- /dev/null +++ b/layout/base/tests/bug602141-1.html @@ -0,0 +1,21 @@ + + + + +navigable__navigable|unnavigable
+ + + diff --git a/layout/base/tests/bug602141-2-ref.html b/layout/base/tests/bug602141-2-ref.html new file mode 100644 index 0000000000..f54518a024 --- /dev/null +++ b/layout/base/tests/bug602141-2-ref.html @@ -0,0 +1,18 @@ + + + +navigable__|unnavigable
+ + + diff --git a/layout/base/tests/bug602141-2.html b/layout/base/tests/bug602141-2.html new file mode 100644 index 0000000000..e86c906f3c --- /dev/null +++ b/layout/base/tests/bug602141-2.html @@ -0,0 +1,23 @@ + + + + +navigable__|
+ + + diff --git a/layout/base/tests/bug602141-3-ref.html b/layout/base/tests/bug602141-3-ref.html new file mode 100644 index 0000000000..8d39318ccd --- /dev/null +++ b/layout/base/tests/bug602141-3-ref.html @@ -0,0 +1,18 @@ + + + +noteditablenavigable|unnavigable
+ + + diff --git a/layout/base/tests/bug602141-3.html b/layout/base/tests/bug602141-3.html new file mode 100644 index 0000000000..fa153a6079 --- /dev/null +++ b/layout/base/tests/bug602141-3.html @@ -0,0 +1,21 @@ + + + + +noteditablenavigable|unnavigable
+ + + diff --git a/layout/base/tests/bug602141-4-ref.html b/layout/base/tests/bug602141-4-ref.html new file mode 100644 index 0000000000..c67986c5f0 --- /dev/null +++ b/layout/base/tests/bug602141-4-ref.html @@ -0,0 +1,18 @@ + + + +not editablenavigable|unnavigable + + + diff --git a/layout/base/tests/bug602141-4.html b/layout/base/tests/bug602141-4.html new file mode 100644 index 0000000000..b2c8185ab8 --- /dev/null +++ b/layout/base/tests/bug602141-4.html @@ -0,0 +1,21 @@ + + + + +not editablenavigable|unnavigable + + + diff --git a/layout/base/tests/bug612271-1.html b/layout/base/tests/bug612271-1.html new file mode 100644 index 0000000000..226d7e7d07 --- /dev/null +++ b/layout/base/tests/bug612271-1.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/base/tests/bug612271-2.html b/layout/base/tests/bug612271-2.html new file mode 100644 index 0000000000..8767468131 --- /dev/null +++ b/layout/base/tests/bug612271-2.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/base/tests/bug612271-3.html b/layout/base/tests/bug612271-3.html new file mode 100644 index 0000000000..9f267c2824 --- /dev/null +++ b/layout/base/tests/bug612271-3.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/base/tests/bug612271-ref.html b/layout/base/tests/bug612271-ref.html new file mode 100644 index 0000000000..0d3e96b98a --- /dev/null +++ b/layout/base/tests/bug612271-ref.html @@ -0,0 +1,17 @@ + + + + + + + 4 - 4 + + diff --git a/layout/base/tests/bug613433-1.html b/layout/base/tests/bug613433-1.html new file mode 100644 index 0000000000..837dff89da --- /dev/null +++ b/layout/base/tests/bug613433-1.html @@ -0,0 +1,24 @@ + + + + + + + + +
+ + diff --git a/layout/base/tests/bug613433-2.html b/layout/base/tests/bug613433-2.html new file mode 100644 index 0000000000..84d55e7be5 --- /dev/null +++ b/layout/base/tests/bug613433-2.html @@ -0,0 +1,24 @@ + + + + + + + + +
+ + diff --git a/layout/base/tests/bug613433-3.html b/layout/base/tests/bug613433-3.html new file mode 100644 index 0000000000..aa7b2853a4 --- /dev/null +++ b/layout/base/tests/bug613433-3.html @@ -0,0 +1,24 @@ + + + + + + + + +
+ + diff --git a/layout/base/tests/bug613433-ref.html b/layout/base/tests/bug613433-ref.html new file mode 100644 index 0000000000..f4a2ab3b6f --- /dev/null +++ b/layout/base/tests/bug613433-ref.html @@ -0,0 +1,21 @@ + + + + + + + +
+ + diff --git a/layout/base/tests/bug613807-1-ref.html b/layout/base/tests/bug613807-1-ref.html new file mode 100644 index 0000000000..b47a572ea7 --- /dev/null +++ b/layout/base/tests/bug613807-1-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/base/tests/bug613807-1.html b/layout/base/tests/bug613807-1.html new file mode 100644 index 0000000000..79592fed7a --- /dev/null +++ b/layout/base/tests/bug613807-1.html @@ -0,0 +1,90 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug632215-1.html b/layout/base/tests/bug632215-1.html new file mode 100644 index 0000000000..c64330a6de --- /dev/null +++ b/layout/base/tests/bug632215-1.html @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug632215-2.html b/layout/base/tests/bug632215-2.html new file mode 100644 index 0000000000..02b0acd953 --- /dev/null +++ b/layout/base/tests/bug632215-2.html @@ -0,0 +1,28 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug632215-ref.html b/layout/base/tests/bug632215-ref.html new file mode 100644 index 0000000000..b0e4bcff7f --- /dev/null +++ b/layout/base/tests/bug632215-ref.html @@ -0,0 +1,17 @@ + + + + + + + diff --git a/layout/base/tests/bug633044-1-ref.html b/layout/base/tests/bug633044-1-ref.html new file mode 100644 index 0000000000..330d5777f9 --- /dev/null +++ b/layout/base/tests/bug633044-1-ref.html @@ -0,0 +1,16 @@ + + + + + + diff --git a/layout/base/tests/bug633044-1.html b/layout/base/tests/bug633044-1.html new file mode 100644 index 0000000000..7add9020de --- /dev/null +++ b/layout/base/tests/bug633044-1.html @@ -0,0 +1,24 @@ + + + + + + + diff --git a/layout/base/tests/bug634406-1-ref.html b/layout/base/tests/bug634406-1-ref.html new file mode 100644 index 0000000000..87b42a9ede --- /dev/null +++ b/layout/base/tests/bug634406-1-ref.html @@ -0,0 +1,10 @@ + + + + + + diff --git a/layout/base/tests/bug634406-1.html b/layout/base/tests/bug634406-1.html new file mode 100644 index 0000000000..1b13a4c636 --- /dev/null +++ b/layout/base/tests/bug634406-1.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/layout/base/tests/bug644428-1-ref.html b/layout/base/tests/bug644428-1-ref.html new file mode 100644 index 0000000000..9a771db851 --- /dev/null +++ b/layout/base/tests/bug644428-1-ref.html @@ -0,0 +1,17 @@ + + + + + + +
a
+ + + diff --git a/layout/base/tests/bug644428-1.html b/layout/base/tests/bug644428-1.html new file mode 100644 index 0000000000..d304beb97f --- /dev/null +++ b/layout/base/tests/bug644428-1.html @@ -0,0 +1,19 @@ + + + + + + +
abc
+ + + diff --git a/layout/base/tests/bug646382-1-ref.html b/layout/base/tests/bug646382-1-ref.html new file mode 100644 index 0000000000..e9d37339e4 --- /dev/null +++ b/layout/base/tests/bug646382-1-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + diff --git a/layout/base/tests/bug646382-1.html b/layout/base/tests/bug646382-1.html new file mode 100644 index 0000000000..949d5c650a --- /dev/null +++ b/layout/base/tests/bug646382-1.html @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug646382-2-ref.html b/layout/base/tests/bug646382-2-ref.html new file mode 100644 index 0000000000..22aa1b7d1d --- /dev/null +++ b/layout/base/tests/bug646382-2-ref.html @@ -0,0 +1,18 @@ + + + + + + diff --git a/layout/base/tests/bug646382-2.html b/layout/base/tests/bug646382-2.html new file mode 100644 index 0000000000..5ee365990c --- /dev/null +++ b/layout/base/tests/bug646382-2.html @@ -0,0 +1,21 @@ + + + + + + + + + diff --git a/layout/base/tests/bug664087-1-ref.html b/layout/base/tests/bug664087-1-ref.html new file mode 100644 index 0000000000..e0ebc128cd --- /dev/null +++ b/layout/base/tests/bug664087-1-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug664087-1.html b/layout/base/tests/bug664087-1.html new file mode 100644 index 0000000000..0541788816 --- /dev/null +++ b/layout/base/tests/bug664087-1.html @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug664087-2-ref.html b/layout/base/tests/bug664087-2-ref.html new file mode 100644 index 0000000000..a30c3e7fe5 --- /dev/null +++ b/layout/base/tests/bug664087-2-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug664087-2.html b/layout/base/tests/bug664087-2.html new file mode 100644 index 0000000000..250f59c887 --- /dev/null +++ b/layout/base/tests/bug664087-2.html @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug682712-1-ref.html b/layout/base/tests/bug682712-1-ref.html new file mode 100644 index 0000000000..642d8f97a1 --- /dev/null +++ b/layout/base/tests/bug682712-1-ref.html @@ -0,0 +1,24 @@ + + + + + + + + + diff --git a/layout/base/tests/bug682712-1.html b/layout/base/tests/bug682712-1.html new file mode 100644 index 0000000000..1cca33bf44 --- /dev/null +++ b/layout/base/tests/bug682712-1.html @@ -0,0 +1,32 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug687297_a.html b/layout/base/tests/bug687297_a.html new file mode 100644 index 0000000000..af0010834c --- /dev/null +++ b/layout/base/tests/bug687297_a.html @@ -0,0 +1,17 @@ + + + + + Test companion for Bug 687297 + + + +
ABCDEFG 0123456
+ + + diff --git a/layout/base/tests/bug687297_b.html b/layout/base/tests/bug687297_b.html new file mode 100644 index 0000000000..34f682354d --- /dev/null +++ b/layout/base/tests/bug687297_b.html @@ -0,0 +1,17 @@ + + + + + Test companion for Bug 687297 + + + +
ABCDEFG 0123456
+ + + diff --git a/layout/base/tests/bug687297_c.html b/layout/base/tests/bug687297_c.html new file mode 100644 index 0000000000..ea029d24e5 --- /dev/null +++ b/layout/base/tests/bug687297_c.html @@ -0,0 +1,17 @@ + + + + + Test companion for Bug 687297 + + + +
ABCDEFG 0123456
+ + + diff --git a/layout/base/tests/bug746993-1-ref.html b/layout/base/tests/bug746993-1-ref.html new file mode 100644 index 0000000000..309a7261e8 --- /dev/null +++ b/layout/base/tests/bug746993-1-ref.html @@ -0,0 +1,20 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug746993-1.html b/layout/base/tests/bug746993-1.html new file mode 100644 index 0000000000..8b17db7dbe --- /dev/null +++ b/layout/base/tests/bug746993-1.html @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug839103.css b/layout/base/tests/bug839103.css new file mode 100644 index 0000000000..611907d3d7 --- /dev/null +++ b/layout/base/tests/bug839103.css @@ -0,0 +1 @@ +* {} diff --git a/layout/base/tests/bug851445_helper.html b/layout/base/tests/bug851445_helper.html new file mode 100644 index 0000000000..dc4e4002e6 --- /dev/null +++ b/layout/base/tests/bug851445_helper.html @@ -0,0 +1,11 @@ + + + + + + diff --git a/layout/base/tests/bug923376-ref.html b/layout/base/tests/bug923376-ref.html new file mode 100644 index 0000000000..9f2c237265 --- /dev/null +++ b/layout/base/tests/bug923376-ref.html @@ -0,0 +1,12 @@ + +
something missspelled
something elsed#
+ + diff --git a/layout/base/tests/bug923376.html b/layout/base/tests/bug923376.html new file mode 100644 index 0000000000..278b806253 --- /dev/null +++ b/layout/base/tests/bug923376.html @@ -0,0 +1,16 @@ + +
+ + diff --git a/layout/base/tests/bug956530-1-ref.html b/layout/base/tests/bug956530-1-ref.html new file mode 100644 index 0000000000..d998b6d8b5 --- /dev/null +++ b/layout/base/tests/bug956530-1-ref.html @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/layout/base/tests/bug956530-1.html b/layout/base/tests/bug956530-1.html new file mode 100644 index 0000000000..68cbc04258 --- /dev/null +++ b/layout/base/tests/bug956530-1.html @@ -0,0 +1,35 @@ + + + + + + + + + + diff --git a/layout/base/tests/bug966992-1-ref.html b/layout/base/tests/bug966992-1-ref.html new file mode 100644 index 0000000000..c8fff7b5ed --- /dev/null +++ b/layout/base/tests/bug966992-1-ref.html @@ -0,0 +1,40 @@ + + + + Testcases for overflow-clip-box:content-box + + + + +
+
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ +
+ + + + + diff --git a/layout/base/tests/bug966992-1.html b/layout/base/tests/bug966992-1.html new file mode 100644 index 0000000000..f630ff1c6b --- /dev/null +++ b/layout/base/tests/bug966992-1.html @@ -0,0 +1,36 @@ + + + + Testcases for overflow-clip-box:content-box + + + + +
+
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ +
+ + + diff --git a/layout/base/tests/bug966992-2-ref.html b/layout/base/tests/bug966992-2-ref.html new file mode 100644 index 0000000000..a619d579c6 --- /dev/null +++ b/layout/base/tests/bug966992-2-ref.html @@ -0,0 +1,42 @@ + + + + Testcases for overflow-clip-box:content-box + + + + +
+
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ +
+ + + + + diff --git a/layout/base/tests/bug966992-2.html b/layout/base/tests/bug966992-2.html new file mode 100644 index 0000000000..1a8919e55d --- /dev/null +++ b/layout/base/tests/bug966992-2.html @@ -0,0 +1,38 @@ + + + + Testcases for overflow-clip-box:content-box + + + + +
+
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ +
+ + + diff --git a/layout/base/tests/bug966992-3-ref.html b/layout/base/tests/bug966992-3-ref.html new file mode 100644 index 0000000000..9974ccdf48 --- /dev/null +++ b/layout/base/tests/bug966992-3-ref.html @@ -0,0 +1,26 @@ + + + + Reference case for overflow-clip-box:content-box + + + + +
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ + + + diff --git a/layout/base/tests/bug966992-3.html b/layout/base/tests/bug966992-3.html new file mode 100644 index 0000000000..2cc2af96a7 --- /dev/null +++ b/layout/base/tests/bug966992-3.html @@ -0,0 +1,26 @@ + + + + Testcases for overflow-clip-box:content-box + + + + +
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ + + + diff --git a/layout/base/tests/bug970964_inner.html b/layout/base/tests/bug970964_inner.html new file mode 100644 index 0000000000..e8e7092aea --- /dev/null +++ b/layout/base/tests/bug970964_inner.html @@ -0,0 +1,357 @@ + + + + + Test for Bug 970964 + + + + + +Mozilla Bug 970964 +

+ +
+
+
+
+Test divs -- +
t
t
t
+-- +
+ + diff --git a/layout/base/tests/bug970964_inner2.html b/layout/base/tests/bug970964_inner2.html new file mode 100644 index 0000000000..51cee6c1ee --- /dev/null +++ b/layout/base/tests/bug970964_inner2.html @@ -0,0 +1,356 @@ + + + + + Test for Bug 970964 + + + + + +Mozilla Bug 970964 +

+ +
+
+
+
+Test divs -- +
t
t
t
+-- +
+ + diff --git a/layout/base/tests/bug977003_inner_1.html b/layout/base/tests/bug977003_inner_1.html new file mode 100644 index 0000000000..774bfb43e2 --- /dev/null +++ b/layout/base/tests/bug977003_inner_1.html @@ -0,0 +1,100 @@ + + + + + + Test for Bugs 977003, 1094913, 1098139 + + + + + + + + + Mozilla Bug 977003 Test 1 +
Mozilla Bug 1094913 +
Mozilla Bug 1098139 +

+ +
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug977003_inner_2.html b/layout/base/tests/bug977003_inner_2.html new file mode 100644 index 0000000000..cf7e6d729d --- /dev/null +++ b/layout/base/tests/bug977003_inner_2.html @@ -0,0 +1,75 @@ + + + + + + Test for Bug 977003 + + + + + + + + + Mozilla Bug 977003 Test 2 +

+ +
div id=listener
+
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug977003_inner_3.html b/layout/base/tests/bug977003_inner_3.html new file mode 100644 index 0000000000..2448b4ada8 --- /dev/null +++ b/layout/base/tests/bug977003_inner_3.html @@ -0,0 +1,95 @@ + + + + + + Test for Bug 977003 + + + + + + + + + Mozilla Bug 977003 Test 3 +

+ +
div id=listener
+
div id=mediator
+
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug977003_inner_4.html b/layout/base/tests/bug977003_inner_4.html new file mode 100644 index 0000000000..2ea4a83568 --- /dev/null +++ b/layout/base/tests/bug977003_inner_4.html @@ -0,0 +1,100 @@ + + + + + + Test for Bug 977003 + + + + + + + + + Mozilla Bug 977003 Test 4 +

+ +
div id=listener
+
div id=mediator
+
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug977003_inner_5.html b/layout/base/tests/bug977003_inner_5.html new file mode 100644 index 0000000000..73ca41acd3 --- /dev/null +++ b/layout/base/tests/bug977003_inner_5.html @@ -0,0 +1,121 @@ + + + + + + Test for Bugs 977003, 1073563, 1094913, 1098139 + + + + + + + + + Mozilla Bug 977003 Test 5 +
Mozilla Bug 1073563 +
Mozilla Bug 1094913 +
Mozilla Bug 1098139 +

+ +
div id=listener
+
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug977003_inner_6.html b/layout/base/tests/bug977003_inner_6.html new file mode 100644 index 0000000000..b4a05122a5 --- /dev/null +++ b/layout/base/tests/bug977003_inner_6.html @@ -0,0 +1,105 @@ + + + + + + Test for Bugs 977003, 1073563 + + + + + + + + + Mozilla Bug 977003 Test 6 +
Mozilla Bug 1073563 +

+ +
div id=listener
+
div id=target
+
+  
+ + diff --git a/layout/base/tests/bug989012-1-ref.html b/layout/base/tests/bug989012-1-ref.html new file mode 100644 index 0000000000..6802038089 --- /dev/null +++ b/layout/base/tests/bug989012-1-ref.html @@ -0,0 +1,21 @@ + + + + + + +
fooIMAGEbar
+ + + diff --git a/layout/base/tests/bug989012-1.html b/layout/base/tests/bug989012-1.html new file mode 100644 index 0000000000..3d6b32854a --- /dev/null +++ b/layout/base/tests/bug989012-1.html @@ -0,0 +1,24 @@ + + + + + + +
fooIMAGEbar
+ + + diff --git a/layout/base/tests/bug989012-2-ref.html b/layout/base/tests/bug989012-2-ref.html new file mode 100644 index 0000000000..4b3072e7cd --- /dev/null +++ b/layout/base/tests/bug989012-2-ref.html @@ -0,0 +1,26 @@ + + + + + + + +
foobar
+ + + diff --git a/layout/base/tests/bug989012-2.html b/layout/base/tests/bug989012-2.html new file mode 100644 index 0000000000..7edb002ab2 --- /dev/null +++ b/layout/base/tests/bug989012-2.html @@ -0,0 +1,29 @@ + + + + + + + +
foobar
+ + + diff --git a/layout/base/tests/bug989012-3-ref.html b/layout/base/tests/bug989012-3-ref.html new file mode 100644 index 0000000000..9d637f536f --- /dev/null +++ b/layout/base/tests/bug989012-3-ref.html @@ -0,0 +1,28 @@ + + + + + + + +
foobar
+ + + diff --git a/layout/base/tests/bug989012-3.html b/layout/base/tests/bug989012-3.html new file mode 100644 index 0000000000..7448b052b9 --- /dev/null +++ b/layout/base/tests/bug989012-3.html @@ -0,0 +1,31 @@ + + + + + + + +
foobar
+ + + diff --git a/layout/base/tests/chrome/animated.gif b/layout/base/tests/chrome/animated.gif new file mode 100644 index 0000000000..b2895487bd Binary files /dev/null and b/layout/base/tests/chrome/animated.gif differ diff --git a/layout/base/tests/chrome/blue-32x32.png b/layout/base/tests/chrome/blue-32x32.png new file mode 100644 index 0000000000..deefd19b2a Binary files /dev/null and b/layout/base/tests/chrome/blue-32x32.png differ diff --git a/layout/base/tests/chrome/bug1041200_frame.html b/layout/base/tests/chrome/bug1041200_frame.html new file mode 100644 index 0000000000..0030ec0edd --- /dev/null +++ b/layout/base/tests/chrome/bug1041200_frame.html @@ -0,0 +1,2 @@ + +

Hello

Hello

Hello

Hello

Hello

diff --git a/layout/base/tests/chrome/bug1041200_window.html b/layout/base/tests/chrome/bug1041200_window.html new file mode 100644 index 0000000000..005f7bcd13 --- /dev/null +++ b/layout/base/tests/chrome/bug1041200_window.html @@ -0,0 +1,40 @@ + + + + Test for Bug 1041200 + + + + + + + + diff --git a/layout/base/tests/chrome/bug1722890.html b/layout/base/tests/chrome/bug1722890.html new file mode 100644 index 0000000000..76175eb33d --- /dev/null +++ b/layout/base/tests/chrome/bug1722890.html @@ -0,0 +1,18 @@ + + + + + + +

+
+ + diff --git a/layout/base/tests/chrome/bug1722890_ref.html b/layout/base/tests/chrome/bug1722890_ref.html new file mode 100644 index 0000000000..8bf8e39713 --- /dev/null +++ b/layout/base/tests/chrome/bug1722890_ref.html @@ -0,0 +1,19 @@ + + + + + + +
+
+ + + diff --git a/layout/base/tests/chrome/bug1769161_1.html b/layout/base/tests/chrome/bug1769161_1.html new file mode 100644 index 0000000000..b1cc3b6ded --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_1.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_1_ref.html b/layout/base/tests/chrome/bug1769161_1_ref.html new file mode 100644 index 0000000000..ab56d8d045 --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_1_ref.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_2.html b/layout/base/tests/chrome/bug1769161_2.html new file mode 100644 index 0000000000..7728d0bd95 --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_2.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_2_ref.html b/layout/base/tests/chrome/bug1769161_2_ref.html new file mode 100644 index 0000000000..3916e26a17 --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_2_ref.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_3.html b/layout/base/tests/chrome/bug1769161_3.html new file mode 100644 index 0000000000..b1cc3b6ded --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_3.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_3_ref.html b/layout/base/tests/chrome/bug1769161_3_ref.html new file mode 100644 index 0000000000..b786e1ad2b --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_3_ref.html @@ -0,0 +1,18 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_4.html b/layout/base/tests/chrome/bug1769161_4.html new file mode 100644 index 0000000000..7728d0bd95 --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_4.html @@ -0,0 +1,17 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug1769161_4_ref.html b/layout/base/tests/chrome/bug1769161_4_ref.html new file mode 100644 index 0000000000..be2de41058 --- /dev/null +++ b/layout/base/tests/chrome/bug1769161_4_ref.html @@ -0,0 +1,18 @@ + + + +
+ diff --git a/layout/base/tests/chrome/bug495648.rdf b/layout/base/tests/chrome/bug495648.rdf new file mode 100644 index 0000000000..b7045aa70a --- /dev/null +++ b/layout/base/tests/chrome/bug495648.rdf @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/bug551434_childframe.html b/layout/base/tests/chrome/bug551434_childframe.html new file mode 100644 index 0000000000..3d7bd6c13a --- /dev/null +++ b/layout/base/tests/chrome/bug551434_childframe.html @@ -0,0 +1,4 @@ + + diff --git a/layout/base/tests/chrome/chrome.ini b/layout/base/tests/chrome/chrome.ini new file mode 100644 index 0000000000..13f65215c0 --- /dev/null +++ b/layout/base/tests/chrome/chrome.ini @@ -0,0 +1,138 @@ +[DEFAULT] +prefs = + layout.css.constructable-stylesheets.enabled=true + layout.css.individual-transform.enabled=true + layout.css.motion-path.enabled=true + layout.css.page-size.enabled=true +skip-if = os == 'android' +support-files = + animated.gif + blue-32x32.png + bug1722890.html + bug1722890_ref.html + bug1769161_1.html + bug1769161_1_ref.html + bug1769161_2.html + bug1769161_2_ref.html + bug1769161_3.html + bug1769161_3_ref.html + bug1769161_4.html + bug1769161_4_ref.html + bug551434_childframe.html + chrome_content_integration_window.xhtml + default_background_window.xhtml + dialog_with_positioning_window.xhtml + file_bug458898.html + green.png + printpreview_bug1713404_ref.html + printpreview_bug1730091_ref.html + printpreview_bug396024_helper.xhtml + printpreview_bug482976_helper.xhtml + printpreview_helper.xhtml + printpreview_downloadable_font.html + printpreview_downloadable_font_ref.html + printpreview_downloadable_font_in_iframe.html + printpreview_downloadable_font_in_iframe_ref.html + printpreview_font_api.html + printpreview_font_api_ref.html + printpreview_font_mozprintcallback.html + printpreview_font_mozprintcallback_ref.html + printpreview_quirks.html + printpreview_quirks_ref.html + printpreview_images.html + printpreview_images_ref.html + printpreview_images_sw.html + printpreview_images_sw_ref.html + printpreview_images_sw.js + printpreview_image_select.html + printpreview_image_select_ref.html + printpreview_mixed_page_size_001.html + printpreview_mixed_page_size_002.html + printpreview_pps_uw2.html + printpreview_pps_uw2_ref.html + printpreview_pps_uw2_no_margin_ref.html + printpreview_pps_uw4.html + printpreview_pps_uw4_ref.html + printpreview_pps_uw9.html + printpreview_pps_uw9_ref.html + printpreview_pps2.html + printpreview_pps2_ref.html + printpreview_pps4.html + printpreview_pps4_ref.html + printpreview_pps6.html + printpreview_pps6_ref.html + printpreview_pps9.html + printpreview_pps9_ref.html + printpreview_pps16.html + printpreview_pps16_ref.html + printpreview_prettyprint.xml + printpreview_prettyprint_ref.xhtml + printpreview_mask.html + print_page_size1.html + print_page_size1_ref.html + print_page_size2.html + print_page_size2_ref.html + print_page_size3.html + print_page_size3_ref.html + print_page_size4.html + print_page_size4_ref.html + red.png + color_adjust.html + color_adjust_ref.html + test_document_adopted_styles.html + test_document_adopted_styles_ref.html + test_shadow_root_adopted_styles.html + test_shadow_root_adopted_styles_ref.html + test_shared_adopted_styles.html + test_shared_adopted_styles_ref.html + file_bug1018265.xhtml + markA.ttf + markB.ttf + +[test_bug396367-1.html] +[test_bug396367-2.html] +[test_bug420499.xhtml] +[test_bug458898.html] +[test_bug465448.xhtml] +support-files = + file_bug465448.html +[test_bug514660.xhtml] +[test_bug533845.xhtml] +skip-if = os == 'linux' && !debug # Bug 1208197 +[test_bug551434.html] +[test_bug708062.html] +[test_bug812817.xhtml] +[test_bug1018265.xhtml] +[test_bug1041200.xhtml] +skip-if = os == 'win' && bits == 64 # Bug 1272321 +support-files = + bug1041200_frame.html + bug1041200_window.html +[test_chrome_content_integration.xhtml] +[test_color_scheme_browser.xhtml] +[test_default_background.xhtml] +[test_dialog_with_positioning.html] +tags = openwindow +[test_fixed_bg_scrolling_repaints.html] +[test_prerendered_transforms.html] +[test_printer_default_settings.html] +[test_printpreview.xhtml] +skip-if = (os == "linux" && bits == 32) || (verify && (os == 'win')) # Disabled on Linux32 for bug 1278957 +[test_printpreview_bug396024.xhtml] +skip-if = (verify && (os == 'win')) +[test_printpreview_bug482976.xhtml] +skip-if = (verify && (os == 'win')) +[test_scrolling_repaints.html] +[test_will_change.html] +skip-if = true +[test_get_printer_basic_attributes.html] +[test_get_printer_paper_sizes.html] +[test_get_printer_orientation.html] +[test_getClientRectsAndTexts.html] +[test_css_visibility_propagation.xhtml] +support-files = + window_css_visibility_propagation-1.xhtml + window_css_visibility_propagation-2.xhtml + window_css_visibility_propagation-3.html + window_css_visibility_propagation-4.html + frame_css_visibility_propagation.html diff --git a/layout/base/tests/chrome/chrome_content_integration_window.xhtml b/layout/base/tests/chrome/chrome_content_integration_window.xhtml new file mode 100644 index 0000000000..1dd1b7f882 --- /dev/null +++ b/layout/base/tests/chrome/chrome_content_integration_window.xhtml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_bug482976_helper.xhtml b/layout/base/tests/chrome/printpreview_bug482976_helper.xhtml new file mode 100644 index 0000000000..cd23c90d7b --- /dev/null +++ b/layout/base/tests/chrome/printpreview_bug482976_helper.xhtml @@ -0,0 +1,68 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_downloadable_font.html b/layout/base/tests/chrome/printpreview_downloadable_font.html new file mode 100644 index 0000000000..6e30c55f79 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_downloadable_font.html @@ -0,0 +1,24 @@ + + + + + + + + + + +

A

+ + + diff --git a/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe.html b/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe.html new file mode 100644 index 0000000000..edee6ecca2 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe.html @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe_ref.html b/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe_ref.html new file mode 100644 index 0000000000..0a2a50c665 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_downloadable_font_in_iframe_ref.html @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_downloadable_font_ref.html b/layout/base/tests/chrome/printpreview_downloadable_font_ref.html new file mode 100644 index 0000000000..5967abb5ba --- /dev/null +++ b/layout/base/tests/chrome/printpreview_downloadable_font_ref.html @@ -0,0 +1,23 @@ + + + + + + + + + +

B

+ + + diff --git a/layout/base/tests/chrome/printpreview_font_api.html b/layout/base/tests/chrome/printpreview_font_api.html new file mode 100644 index 0000000000..1f82d5f2d9 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_font_api.html @@ -0,0 +1,25 @@ + + + + + + + +

lmnop

+ + + \ No newline at end of file diff --git a/layout/base/tests/chrome/printpreview_font_api_ref.html b/layout/base/tests/chrome/printpreview_font_api_ref.html new file mode 100644 index 0000000000..61b052b4a6 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_font_api_ref.html @@ -0,0 +1,23 @@ + + + + + + + +

lmnop

+ + diff --git a/layout/base/tests/chrome/printpreview_font_mozprintcallback.html b/layout/base/tests/chrome/printpreview_font_mozprintcallback.html new file mode 100644 index 0000000000..1b4296e90a --- /dev/null +++ b/layout/base/tests/chrome/printpreview_font_mozprintcallback.html @@ -0,0 +1,27 @@ + + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_font_mozprintcallback_ref.html b/layout/base/tests/chrome/printpreview_font_mozprintcallback_ref.html new file mode 100644 index 0000000000..e4dd82bc58 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_font_mozprintcallback_ref.html @@ -0,0 +1,28 @@ + + + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_helper.xhtml b/layout/base/tests/chrome/printpreview_helper.xhtml new file mode 100644 index 0000000000..055f75c8f5 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_helper.xhtml @@ -0,0 +1,1721 @@ + + + + + + + + + + + + +
Print preview canvas 1Print preview canvas 2
+
diff --git a/layout/base/tests/chrome/printpreview_image_select.html b/layout/base/tests/chrome/printpreview_image_select.html new file mode 100644 index 0000000000..b61a40774d --- /dev/null +++ b/layout/base/tests/chrome/printpreview_image_select.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_image_select_ref.html b/layout/base/tests/chrome/printpreview_image_select_ref.html new file mode 100644 index 0000000000..7189a57642 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_image_select_ref.html @@ -0,0 +1,4 @@ + + +
+ diff --git a/layout/base/tests/chrome/printpreview_images.html b/layout/base/tests/chrome/printpreview_images.html new file mode 100644 index 0000000000..6919002354 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_images.html @@ -0,0 +1,25 @@ + + +
+ + + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_images_ref.html b/layout/base/tests/chrome/printpreview_images_ref.html new file mode 100644 index 0000000000..65a0df066c --- /dev/null +++ b/layout/base/tests/chrome/printpreview_images_ref.html @@ -0,0 +1,15 @@ + + +
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_images_sw.html b/layout/base/tests/chrome/printpreview_images_sw.html new file mode 100644 index 0000000000..78b8a0dd88 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_images_sw.html @@ -0,0 +1,46 @@ + + + +
+ + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/printpreview_images_sw.js b/layout/base/tests/chrome/printpreview_images_sw.js new file mode 100644 index 0000000000..bb0ab60b1f --- /dev/null +++ b/layout/base/tests/chrome/printpreview_images_sw.js @@ -0,0 +1,11 @@ +self.addEventListener("fetch", event => { + if (event.request.url.includes("nonexistent.png")) { + event.respondWith( + fetch(event.request.url.replace("nonexistent.png", "blue-32x32.png")) + ); + } +}); + +self.addEventListener("activate", event => { + event.waitUntil(clients.claim()); +}); diff --git a/layout/base/tests/chrome/printpreview_images_sw_ref.html b/layout/base/tests/chrome/printpreview_images_sw_ref.html new file mode 100644 index 0000000000..2efb9e9199 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_images_sw_ref.html @@ -0,0 +1,14 @@ + + +
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_mask.html b/layout/base/tests/chrome/printpreview_mask.html new file mode 100644 index 0000000000..f1ea3af255 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_mask.html @@ -0,0 +1,16 @@ + + +
+ Here's some text
+ Here's some text
+ Here's some text
+ Here's some text
+ Here's some text
+
diff --git a/layout/base/tests/chrome/printpreview_mixed_page_size_001.html b/layout/base/tests/chrome/printpreview_mixed_page_size_001.html new file mode 100644 index 0000000000..a611299527 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_mixed_page_size_001.html @@ -0,0 +1,11 @@ + + +
a
+
b
diff --git a/layout/base/tests/chrome/printpreview_mixed_page_size_002.html b/layout/base/tests/chrome/printpreview_mixed_page_size_002.html new file mode 100644 index 0000000000..f55efef3e6 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_mixed_page_size_002.html @@ -0,0 +1,15 @@ + + +
+
static 1
+
static 2
+
+
block a
+
block b
diff --git a/layout/base/tests/chrome/printpreview_pps16.html b/layout/base/tests/chrome/printpreview_pps16.html new file mode 100644 index 0000000000..fc94819340 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps16.html @@ -0,0 +1,43 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps16_ref.html b/layout/base/tests/chrome/printpreview_pps16_ref.html new file mode 100644 index 0000000000..5807cc44ec --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps16_ref.html @@ -0,0 +1,49 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps2.html b/layout/base/tests/chrome/printpreview_pps2.html new file mode 100644 index 0000000000..a7f9fddae3 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps2.html @@ -0,0 +1,15 @@ + + + +
+
diff --git a/layout/base/tests/chrome/printpreview_pps2_ref.html b/layout/base/tests/chrome/printpreview_pps2_ref.html new file mode 100644 index 0000000000..b1e8033c87 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps2_ref.html @@ -0,0 +1,40 @@ + + + +
+
diff --git a/layout/base/tests/chrome/printpreview_pps4.html b/layout/base/tests/chrome/printpreview_pps4.html new file mode 100644 index 0000000000..6e3d030c6d --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps4.html @@ -0,0 +1,19 @@ + + + +
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps4_ref.html b/layout/base/tests/chrome/printpreview_pps4_ref.html new file mode 100644 index 0000000000..4ffbec505f --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps4_ref.html @@ -0,0 +1,25 @@ + + + +
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps6.html b/layout/base/tests/chrome/printpreview_pps6.html new file mode 100644 index 0000000000..68722afba9 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps6.html @@ -0,0 +1,40 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps6_ref.html b/layout/base/tests/chrome/printpreview_pps6_ref.html new file mode 100644 index 0000000000..3af174e0fa --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps6_ref.html @@ -0,0 +1,90 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps9.html b/layout/base/tests/chrome/printpreview_pps9.html new file mode 100644 index 0000000000..341e5fdf81 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps9.html @@ -0,0 +1,29 @@ + + + +
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps9_ref.html b/layout/base/tests/chrome/printpreview_pps9_ref.html new file mode 100644 index 0000000000..ab90c837aa --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps9_ref.html @@ -0,0 +1,40 @@ + + + +
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw2.html b/layout/base/tests/chrome/printpreview_pps_uw2.html new file mode 100644 index 0000000000..34d3af49de --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw2.html @@ -0,0 +1,16 @@ + + + +
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw2_no_margin_ref.html b/layout/base/tests/chrome/printpreview_pps_uw2_no_margin_ref.html new file mode 100644 index 0000000000..223aab8d55 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw2_no_margin_ref.html @@ -0,0 +1,36 @@ + + + +
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw2_ref.html b/layout/base/tests/chrome/printpreview_pps_uw2_ref.html new file mode 100644 index 0000000000..d923901096 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw2_ref.html @@ -0,0 +1,49 @@ + + + +
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw4.html b/layout/base/tests/chrome/printpreview_pps_uw4.html new file mode 100644 index 0000000000..6e3d030c6d --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw4.html @@ -0,0 +1,19 @@ + + + +
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw4_ref.html b/layout/base/tests/chrome/printpreview_pps_uw4_ref.html new file mode 100644 index 0000000000..a603ff2be9 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw4_ref.html @@ -0,0 +1,70 @@ + + + +
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw9.html b/layout/base/tests/chrome/printpreview_pps_uw9.html new file mode 100644 index 0000000000..9bd0e1f5a4 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw9.html @@ -0,0 +1,29 @@ + + + +
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_pps_uw9_ref.html b/layout/base/tests/chrome/printpreview_pps_uw9_ref.html new file mode 100644 index 0000000000..de3cb1e08b --- /dev/null +++ b/layout/base/tests/chrome/printpreview_pps_uw9_ref.html @@ -0,0 +1,82 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/chrome/printpreview_prettyprint.xml b/layout/base/tests/chrome/printpreview_prettyprint.xml new file mode 100644 index 0000000000..759d5066cf --- /dev/null +++ b/layout/base/tests/chrome/printpreview_prettyprint.xml @@ -0,0 +1 @@ +Here be sea hags diff --git a/layout/base/tests/chrome/printpreview_prettyprint_ref.xhtml b/layout/base/tests/chrome/printpreview_prettyprint_ref.xhtml new file mode 100644 index 0000000000..7309425fb4 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_prettyprint_ref.xhtml @@ -0,0 +1,3 @@ +
<out>Here be sea hags</out>
diff --git a/layout/base/tests/chrome/printpreview_quirks.html b/layout/base/tests/chrome/printpreview_quirks.html new file mode 100644 index 0000000000..fa8714a0f7 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_quirks.html @@ -0,0 +1,8 @@ + + + + + Some content that I should be able to print. + diff --git a/layout/base/tests/chrome/printpreview_quirks_ref.html b/layout/base/tests/chrome/printpreview_quirks_ref.html new file mode 100644 index 0000000000..4c6fcce1f6 --- /dev/null +++ b/layout/base/tests/chrome/printpreview_quirks_ref.html @@ -0,0 +1,5 @@ + + + + Some content that I should be able to print. + diff --git a/layout/base/tests/chrome/red.png b/layout/base/tests/chrome/red.png new file mode 100644 index 0000000000..57bf3ddc52 Binary files /dev/null and b/layout/base/tests/chrome/red.png differ diff --git a/layout/base/tests/chrome/test_bug1018265.xhtml b/layout/base/tests/chrome/test_bug1018265.xhtml new file mode 100644 index 0000000000..53862b0e5e --- /dev/null +++ b/layout/base/tests/chrome/test_bug1018265.xhtml @@ -0,0 +1,37 @@ + + + + + + + + + + Mozilla Bug 1018265 + + diff --git a/layout/base/tests/chrome/test_bug1041200.xhtml b/layout/base/tests/chrome/test_bug1041200.xhtml new file mode 100644 index 0000000000..365ecf2825 --- /dev/null +++ b/layout/base/tests/chrome/test_bug1041200.xhtml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/test_bug396367-1.html b/layout/base/tests/chrome/test_bug396367-1.html new file mode 100644 index 0000000000..63b33d335d --- /dev/null +++ b/layout/base/tests/chrome/test_bug396367-1.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 396367 + + + + + + +Mozilla Bug 396367 +

+ +
+
+
+
+
+
+
+
+ + diff --git a/layout/base/tests/chrome/test_bug396367-2.html b/layout/base/tests/chrome/test_bug396367-2.html new file mode 100644 index 0000000000..2a751cd8be --- /dev/null +++ b/layout/base/tests/chrome/test_bug396367-2.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 396367 + + + + + + + +Mozilla Bug 396367 +

+ +
+
+
+ + + +
  • + + +
  • +
    + + +
    + + diff --git a/layout/base/tests/chrome/test_bug420499.xhtml b/layout/base/tests/chrome/test_bug420499.xhtml new file mode 100644 index 0000000000..22fefd7987 --- /dev/null +++ b/layout/base/tests/chrome/test_bug420499.xhtml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Paragraph 1

    +

    Paragraph 2

    +

    Paragraph 3

    +

    Paragraph 4

    +

    Paragraph 5

    + +
    + + Mozilla Bug 420499 + + + + +
    diff --git a/layout/base/tests/chrome/test_bug458898.html b/layout/base/tests/chrome/test_bug458898.html new file mode 100644 index 0000000000..a7913f9a2a --- /dev/null +++ b/layout/base/tests/chrome/test_bug458898.html @@ -0,0 +1,39 @@ + + + + + Test for Bug 458898 + + + + + +Mozilla Bug 458898 +

    + +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_bug465448.xhtml b/layout/base/tests/chrome/test_bug465448.xhtml new file mode 100644 index 0000000000..fa9d1589a2 --- /dev/null +++ b/layout/base/tests/chrome/test_bug465448.xhtml @@ -0,0 +1,45 @@ + + + + + + + + + + + + +

    +

    + +
    +
    + + +
    diff --git a/layout/base/tests/chrome/test_bug514660.xhtml b/layout/base/tests/chrome/test_bug514660.xhtml new file mode 100644 index 0000000000..a7c03a054d --- /dev/null +++ b/layout/base/tests/chrome/test_bug514660.xhtml @@ -0,0 +1,35 @@ + + + + + + + +Mozilla Bug 514660 + + + + + diff --git a/layout/base/tests/chrome/test_bug533845.xhtml b/layout/base/tests/chrome/test_bug533845.xhtml new file mode 100644 index 0000000000..3ea21cb9b7 --- /dev/null +++ b/layout/base/tests/chrome/test_bug533845.xhtml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/test_bug708062.html b/layout/base/tests/chrome/test_bug708062.html new file mode 100644 index 0000000000..ee7df7d37d --- /dev/null +++ b/layout/base/tests/chrome/test_bug708062.html @@ -0,0 +1,43 @@ + + + + + Test for Bug 708062 + + + + + +Mozilla Bug 708062 +

    + + +
    +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_bug812817.xhtml b/layout/base/tests/chrome/test_bug812817.xhtml new file mode 100644 index 0000000000..c5eb747ea6 --- /dev/null +++ b/layout/base/tests/chrome/test_bug812817.xhtml @@ -0,0 +1,37 @@ + + + + + + + + + +Mozilla Bug 812817 + + + + diff --git a/layout/base/tests/chrome/test_chrome_content_integration.xhtml b/layout/base/tests/chrome/test_chrome_content_integration.xhtml new file mode 100644 index 0000000000..6e6be4761a --- /dev/null +++ b/layout/base/tests/chrome/test_chrome_content_integration.xhtml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/test_color_scheme_browser.xhtml b/layout/base/tests/chrome/test_color_scheme_browser.xhtml new file mode 100644 index 0000000000..15a6ac2282 --- /dev/null +++ b/layout/base/tests/chrome/test_color_scheme_browser.xhtml @@ -0,0 +1,114 @@ + + + + + + + + + +
    + + +
    +
    + + +
    +
    + + +
    + + + + diff --git a/layout/base/tests/chrome/test_css_visibility_propagation.xhtml b/layout/base/tests/chrome/test_css_visibility_propagation.xhtml new file mode 100644 index 0000000000..7b1b082064 --- /dev/null +++ b/layout/base/tests/chrome/test_css_visibility_propagation.xhtml @@ -0,0 +1,209 @@ + + + + + + diff --git a/layout/base/tests/chrome/test_default_background.xhtml b/layout/base/tests/chrome/test_default_background.xhtml new file mode 100644 index 0000000000..26e28c574e --- /dev/null +++ b/layout/base/tests/chrome/test_default_background.xhtml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/layout/base/tests/chrome/test_dialog_with_positioning.html b/layout/base/tests/chrome/test_dialog_with_positioning.html new file mode 100644 index 0000000000..db08a3d9b4 --- /dev/null +++ b/layout/base/tests/chrome/test_dialog_with_positioning.html @@ -0,0 +1,20 @@ + + + + Test positioning of fixed-pos/abs-pos elements in a XUL dialog + + + + + +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_document_adopted_styles.html b/layout/base/tests/chrome/test_document_adopted_styles.html new file mode 100644 index 0000000000..f2784bd60b --- /dev/null +++ b/layout/base/tests/chrome/test_document_adopted_styles.html @@ -0,0 +1,8 @@ + + +
    + diff --git a/layout/base/tests/chrome/test_document_adopted_styles_ref.html b/layout/base/tests/chrome/test_document_adopted_styles_ref.html new file mode 100644 index 0000000000..0b592207f3 --- /dev/null +++ b/layout/base/tests/chrome/test_document_adopted_styles_ref.html @@ -0,0 +1,6 @@ + + + +
    + + diff --git a/layout/base/tests/chrome/test_fixed_bg_scrolling_repaints.html b/layout/base/tests/chrome/test_fixed_bg_scrolling_repaints.html new file mode 100644 index 0000000000..9543340d6b --- /dev/null +++ b/layout/base/tests/chrome/test_fixed_bg_scrolling_repaints.html @@ -0,0 +1,40 @@ + + + + Test that we don't get unnecessary repaints with fixed backgrounds + + + + + + +
    + +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_getClientRectsAndTexts.html b/layout/base/tests/chrome/test_getClientRectsAndTexts.html new file mode 100644 index 0000000000..d2fdde2197 --- /dev/null +++ b/layout/base/tests/chrome/test_getClientRectsAndTexts.html @@ -0,0 +1,80 @@ + + + + + + + + + +
    Here is some text that will wrap in this small-ish container.
    +
    Into another container
    +
    A very deep deep deep bit of text.
    + + + + + diff --git a/layout/base/tests/chrome/test_get_printer_basic_attributes.html b/layout/base/tests/chrome/test_get_printer_basic_attributes.html new file mode 100644 index 0000000000..26a04e09d5 --- /dev/null +++ b/layout/base/tests/chrome/test_get_printer_basic_attributes.html @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/test_get_printer_orientation.html b/layout/base/tests/chrome/test_get_printer_orientation.html new file mode 100644 index 0000000000..1bb50eef65 --- /dev/null +++ b/layout/base/tests/chrome/test_get_printer_orientation.html @@ -0,0 +1,50 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/test_get_printer_paper_sizes.html b/layout/base/tests/chrome/test_get_printer_paper_sizes.html new file mode 100644 index 0000000000..4ebe462ac6 --- /dev/null +++ b/layout/base/tests/chrome/test_get_printer_paper_sizes.html @@ -0,0 +1,69 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/test_prerendered_transforms.html b/layout/base/tests/chrome/test_prerendered_transforms.html new file mode 100644 index 0000000000..3151d32413 --- /dev/null +++ b/layout/base/tests/chrome/test_prerendered_transforms.html @@ -0,0 +1,46 @@ + + + + Test that active transformed elements coming into view are prerendered so we don't have to redraw constantly + + + + + +
    +
    +
    Hello
    +
    Kitty
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_printer_default_settings.html b/layout/base/tests/chrome/test_printer_default_settings.html new file mode 100644 index 0000000000..8fb6f98a4e --- /dev/null +++ b/layout/base/tests/chrome/test_printer_default_settings.html @@ -0,0 +1,63 @@ + + + + + + + + + diff --git a/layout/base/tests/chrome/test_printpreview.xhtml b/layout/base/tests/chrome/test_printpreview.xhtml new file mode 100644 index 0000000000..c63d7a62d1 --- /dev/null +++ b/layout/base/tests/chrome/test_printpreview.xhtml @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/layout/base/tests/chrome/test_printpreview_bug396024.xhtml b/layout/base/tests/chrome/test_printpreview_bug396024.xhtml new file mode 100644 index 0000000000..4b839f3b2b --- /dev/null +++ b/layout/base/tests/chrome/test_printpreview_bug396024.xhtml @@ -0,0 +1,21 @@ + + + + + + + +Mozilla Bug 396024 + + + + diff --git a/layout/base/tests/chrome/test_printpreview_bug482976.xhtml b/layout/base/tests/chrome/test_printpreview_bug482976.xhtml new file mode 100644 index 0000000000..8dd4c65337 --- /dev/null +++ b/layout/base/tests/chrome/test_printpreview_bug482976.xhtml @@ -0,0 +1,21 @@ + + + + + + + +Mozilla Bug 482976 + + + + diff --git a/layout/base/tests/chrome/test_scrolling_repaints.html b/layout/base/tests/chrome/test_scrolling_repaints.html new file mode 100644 index 0000000000..605e598c52 --- /dev/null +++ b/layout/base/tests/chrome/test_scrolling_repaints.html @@ -0,0 +1,48 @@ + + + + Test that we don't get unnecessary repaints due to subpixel shifts + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/chrome/test_shadow_root_adopted_styles.html b/layout/base/tests/chrome/test_shadow_root_adopted_styles.html new file mode 100644 index 0000000000..d6701f3089 --- /dev/null +++ b/layout/base/tests/chrome/test_shadow_root_adopted_styles.html @@ -0,0 +1,11 @@ + + + + diff --git a/layout/base/tests/chrome/test_shadow_root_adopted_styles_ref.html b/layout/base/tests/chrome/test_shadow_root_adopted_styles_ref.html new file mode 100644 index 0000000000..fae4a54f21 --- /dev/null +++ b/layout/base/tests/chrome/test_shadow_root_adopted_styles_ref.html @@ -0,0 +1,11 @@ + + + + diff --git a/layout/base/tests/chrome/test_shared_adopted_styles.html b/layout/base/tests/chrome/test_shared_adopted_styles.html new file mode 100644 index 0000000000..f5b232bce6 --- /dev/null +++ b/layout/base/tests/chrome/test_shared_adopted_styles.html @@ -0,0 +1,19 @@ + + + +
    + + + + diff --git a/layout/base/tests/chrome/test_shared_adopted_styles_ref.html b/layout/base/tests/chrome/test_shared_adopted_styles_ref.html new file mode 100644 index 0000000000..b12cb5fd99 --- /dev/null +++ b/layout/base/tests/chrome/test_shared_adopted_styles_ref.html @@ -0,0 +1,16 @@ + + + +
    + + + + + diff --git a/layout/base/tests/chrome/test_will_change.html b/layout/base/tests/chrome/test_will_change.html new file mode 100644 index 0000000000..fd34dc50f6 --- /dev/null +++ b/layout/base/tests/chrome/test_will_change.html @@ -0,0 +1,140 @@ + + + + Tests for MozAfterPaint + + + + + + + + diff --git a/layout/base/tests/chrome/window_css_visibility_propagation-1.xhtml b/layout/base/tests/chrome/window_css_visibility_propagation-1.xhtml new file mode 100644 index 0000000000..ac9c63ec14 --- /dev/null +++ b/layout/base/tests/chrome/window_css_visibility_propagation-1.xhtml @@ -0,0 +1,6 @@ + + + + diff --git a/layout/base/tests/chrome/window_css_visibility_propagation-2.xhtml b/layout/base/tests/chrome/window_css_visibility_propagation-2.xhtml new file mode 100644 index 0000000000..9b9e42c2d1 --- /dev/null +++ b/layout/base/tests/chrome/window_css_visibility_propagation-2.xhtml @@ -0,0 +1,6 @@ + + +
    + +
    +
    diff --git a/layout/base/tests/chrome/window_css_visibility_propagation-3.html b/layout/base/tests/chrome/window_css_visibility_propagation-3.html new file mode 100644 index 0000000000..91a2230ee1 --- /dev/null +++ b/layout/base/tests/chrome/window_css_visibility_propagation-3.html @@ -0,0 +1,3 @@ +
    + +
    +
    + diff --git a/layout/base/tests/file_zoom_restore_bfcache.html b/layout/base/tests/file_zoom_restore_bfcache.html new file mode 100644 index 0000000000..77451f3ef6 --- /dev/null +++ b/layout/base/tests/file_zoom_restore_bfcache.html @@ -0,0 +1,92 @@ + + +This is a very interesting page + diff --git a/layout/base/tests/helper_bug1701027-1.html b/layout/base/tests/helper_bug1701027-1.html new file mode 100644 index 0000000000..659c1f7826 --- /dev/null +++ b/layout/base/tests/helper_bug1701027-1.html @@ -0,0 +1,10 @@ + + + + +Here is some text to stare at as the test runs. It serves no functional +purpose + +
    + + diff --git a/layout/base/tests/helper_bug1701027-2.html b/layout/base/tests/helper_bug1701027-2.html new file mode 100644 index 0000000000..659c1f7826 --- /dev/null +++ b/layout/base/tests/helper_bug1701027-2.html @@ -0,0 +1,10 @@ + + + + +Here is some text to stare at as the test runs. It serves no functional +purpose + +
    + + diff --git a/layout/base/tests/helper_synthmousemove.html b/layout/base/tests/helper_synthmousemove.html new file mode 100644 index 0000000000..41d8c6525a --- /dev/null +++ b/layout/base/tests/helper_synthmousemove.html @@ -0,0 +1,3 @@ + +helper_synthmousemove.html +
    diff --git a/layout/base/tests/image_rgrg-256x256.png b/layout/base/tests/image_rgrg-256x256.png new file mode 100644 index 0000000000..e6fba3daa5 Binary files /dev/null and b/layout/base/tests/image_rgrg-256x256.png differ diff --git a/layout/base/tests/input-invalid-ref.html b/layout/base/tests/input-invalid-ref.html new file mode 100644 index 0000000000..4b34c9a2f3 --- /dev/null +++ b/layout/base/tests/input-invalid-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/base/tests/input-maxlength-invalid-change.html b/layout/base/tests/input-maxlength-invalid-change.html new file mode 100644 index 0000000000..849445f85f --- /dev/null +++ b/layout/base/tests/input-maxlength-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-maxlength-ui-invalid-change.html b/layout/base/tests/input-maxlength-ui-invalid-change.html new file mode 100644 index 0000000000..1f74f0730c --- /dev/null +++ b/layout/base/tests/input-maxlength-ui-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-maxlength-ui-valid-change.html b/layout/base/tests/input-maxlength-ui-valid-change.html new file mode 100644 index 0000000000..47224772fa --- /dev/null +++ b/layout/base/tests/input-maxlength-ui-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-maxlength-valid-before-change.html b/layout/base/tests/input-maxlength-valid-before-change.html new file mode 100644 index 0000000000..8662e8f5f4 --- /dev/null +++ b/layout/base/tests/input-maxlength-valid-before-change.html @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/layout/base/tests/input-maxlength-valid-change.html b/layout/base/tests/input-maxlength-valid-change.html new file mode 100644 index 0000000000..2612642534 --- /dev/null +++ b/layout/base/tests/input-maxlength-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-minlength-invalid-change.html b/layout/base/tests/input-minlength-invalid-change.html new file mode 100644 index 0000000000..543c3e335d --- /dev/null +++ b/layout/base/tests/input-minlength-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-minlength-ui-invalid-change.html b/layout/base/tests/input-minlength-ui-invalid-change.html new file mode 100644 index 0000000000..6c5dfc0e22 --- /dev/null +++ b/layout/base/tests/input-minlength-ui-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-minlength-ui-valid-change.html b/layout/base/tests/input-minlength-ui-valid-change.html new file mode 100644 index 0000000000..96e6390b91 --- /dev/null +++ b/layout/base/tests/input-minlength-ui-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-minlength-valid-before-change.html b/layout/base/tests/input-minlength-valid-before-change.html new file mode 100644 index 0000000000..21e6927926 --- /dev/null +++ b/layout/base/tests/input-minlength-valid-before-change.html @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/layout/base/tests/input-minlength-valid-change.html b/layout/base/tests/input-minlength-valid-change.html new file mode 100644 index 0000000000..92b7fd3390 --- /dev/null +++ b/layout/base/tests/input-minlength-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-password-RTL-input-ref.html b/layout/base/tests/input-password-RTL-input-ref.html new file mode 100644 index 0000000000..f3b5efe3ae --- /dev/null +++ b/layout/base/tests/input-password-RTL-input-ref.html @@ -0,0 +1,23 @@ + + + + + + + + + + + diff --git a/layout/base/tests/input-password-RTL-input.html b/layout/base/tests/input-password-RTL-input.html new file mode 100644 index 0000000000..3c73d3ef1c --- /dev/null +++ b/layout/base/tests/input-password-RTL-input.html @@ -0,0 +1,31 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/input-password-remask-ref.html b/layout/base/tests/input-password-remask-ref.html new file mode 100644 index 0000000000..a7f105a01e --- /dev/null +++ b/layout/base/tests/input-password-remask-ref.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/base/tests/input-password-remask.html b/layout/base/tests/input-password-remask.html new file mode 100644 index 0000000000..31149eac8d --- /dev/null +++ b/layout/base/tests/input-password-remask.html @@ -0,0 +1,23 @@ + + + + + + + + + + + diff --git a/layout/base/tests/input-password-unmask-around-emoji-ref.html b/layout/base/tests/input-password-unmask-around-emoji-ref.html new file mode 100644 index 0000000000..1fba0d9ae1 --- /dev/null +++ b/layout/base/tests/input-password-unmask-around-emoji-ref.html @@ -0,0 +1,40 @@ + + + + + + + + + + diff --git a/layout/base/tests/input-password-unmask-around-emoji.html b/layout/base/tests/input-password-unmask-around-emoji.html new file mode 100644 index 0000000000..97df884850 --- /dev/null +++ b/layout/base/tests/input-password-unmask-around-emoji.html @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/layout/base/tests/input-password-unmask-ref.html b/layout/base/tests/input-password-unmask-ref.html new file mode 100644 index 0000000000..d1803551e4 --- /dev/null +++ b/layout/base/tests/input-password-unmask-ref.html @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/layout/base/tests/input-password-unmask.html b/layout/base/tests/input-password-unmask.html new file mode 100644 index 0000000000..34c63726bb --- /dev/null +++ b/layout/base/tests/input-password-unmask.html @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/layout/base/tests/input-stoppropagation-ref.html b/layout/base/tests/input-stoppropagation-ref.html new file mode 100644 index 0000000000..99ff791588 --- /dev/null +++ b/layout/base/tests/input-stoppropagation-ref.html @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/layout/base/tests/input-stoppropagation.html b/layout/base/tests/input-stoppropagation.html new file mode 100644 index 0000000000..b246a6b6da --- /dev/null +++ b/layout/base/tests/input-stoppropagation.html @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/layout/base/tests/input-ui-valid-ref.html b/layout/base/tests/input-ui-valid-ref.html new file mode 100644 index 0000000000..76d9386678 --- /dev/null +++ b/layout/base/tests/input-ui-valid-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/base/tests/input-valid-ref.html b/layout/base/tests/input-valid-ref.html new file mode 100644 index 0000000000..ec01bb98f2 --- /dev/null +++ b/layout/base/tests/input-valid-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/base/tests/interlinePosition-after-Selection-addRange-ref.html b/layout/base/tests/interlinePosition-after-Selection-addRange-ref.html new file mode 100644 index 0000000000..55eccf814f --- /dev/null +++ b/layout/base/tests/interlinePosition-after-Selection-addRange-ref.html @@ -0,0 +1,20 @@ + + + +Selection.addRange() should always reset interline position + + + +
    abc

    diff --git a/layout/base/tests/interlinePosition-after-Selection-addRange.html b/layout/base/tests/interlinePosition-after-Selection-addRange.html new file mode 100644 index 0000000000..8e45277249 --- /dev/null +++ b/layout/base/tests/interlinePosition-after-Selection-addRange.html @@ -0,0 +1,21 @@ + + + +Selection.addRange() should always reset interline position + + + +
    abc

    diff --git a/layout/base/tests/marionette/manifest.ini b/layout/base/tests/marionette/manifest.ini new file mode 100644 index 0000000000..8249f4010a --- /dev/null +++ b/layout/base/tests/marionette/manifest.ini @@ -0,0 +1,6 @@ +[DEFAULT] +prefs = + gfx.font_loader.delay=0 +run-if = buildapp == 'browser' +[test_accessiblecaret_cursor_mode.py] +[test_accessiblecaret_selection_mode.py] diff --git a/layout/base/tests/marionette/selection.py b/layout/base/tests/marionette/selection.py new file mode 100644 index 0000000000..6cfe155927 --- /dev/null +++ b/layout/base/tests/marionette/selection.py @@ -0,0 +1,335 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +from marionette_driver.marionette import Actions, errors + + +class CaretActions(Actions): + def __init__(self, marionette): + super(CaretActions, self).__init__(marionette) + self._reset_action_chain() + + def _reset_action_chain(self): + self.mouse_chain = self.sequence( + "pointer", "pointer_id", {"pointerType": "mouse"} + ) + self.key_chain = self.sequence("key", "keyboard_id") + + def flick(self, element, x1, y1, x2, y2, duration=200): + """Perform a flick gesture on the target element. + + :param element: The element to perform the flick gesture on. + :param x1: Starting x-coordinate of flick, relative to the top left + corner of the element. + :param y1: Starting y-coordinate of flick, relative to the top left + corner of the element. + :param x2: Ending x-coordinate of flick, relative to the top left + corner of the element. + :param y2: Ending y-coordinate of flick, relative to the top left + corner of the element. + + """ + rect = element.rect + el_x, el_y = rect["x"], rect["y"] + + # Add element's (x, y) to make the coordinate relative to the viewport. + from_x, from_y = int(el_x + x1), int(el_y + y1) + to_x, to_y = int(el_x + x2), int(el_y + y2) + + self.mouse_chain.pointer_move(from_x, from_y).pointer_down().pointer_move( + to_x, to_y, duration=duration + ).pointer_up() + return self + + def send_keys(self, keys): + """Perform a keyDown and keyUp action for each character in `keys`. + + :param keys: String of keys to perform key actions with. + + """ + self.key_chain.send_keys(keys) + return self + + def perform(self): + """Perform the action chain built so far to the server side for execution + and clears the current chain of actions. + + Warning: This method performs all the mouse actions before all the key + actions! + + """ + self.mouse_chain.perform() + self.key_chain.perform() + self._reset_action_chain() + + +class SelectionManager(object): + """Interface for manipulating the selection and carets of the element. + + We call the blinking cursor (nsCaret) as cursor, and call AccessibleCaret as + caret for short. + + Simple usage example: + + :: + + element = marionette.find_element(By.ID, 'input') + sel = SelectionManager(element) + sel.move_caret_to_front() + + """ + + def __init__(self, element): + self.element = element + + def _input_or_textarea(self): + """Return True if element is either or + + diff --git a/layout/base/tests/test_bug386575.xhtml b/layout/base/tests/test_bug386575.xhtml new file mode 100644 index 0000000000..b606d9d57f --- /dev/null +++ b/layout/base/tests/test_bug386575.xhtml @@ -0,0 +1,46 @@ + + + + Test for Bug 386575 + + + + + +Mozilla Bug 386575 +

    + + + + + + +
    + +
    + +
    + + +

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug388019.html b/layout/base/tests/test_bug388019.html new file mode 100644 index 0000000000..17cb35657c --- /dev/null +++ b/layout/base/tests/test_bug388019.html @@ -0,0 +1,44 @@ + + + + + Test for Bug 388019 + + + + +Mozilla Bug 388019 +

    + +
    +
    +
    + +
    +You should see this text if you click on the link. +
    + + + + diff --git a/layout/base/tests/test_bug394057.html b/layout/base/tests/test_bug394057.html new file mode 100644 index 0000000000..7cadd40753 --- /dev/null +++ b/layout/base/tests/test_bug394057.html @@ -0,0 +1,88 @@ + + + + + Test for Bug 394057 + + + + + +Mozilla Bug 394057 +
    MmMmMm...iiiIIIlll---
    + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug399284.html b/layout/base/tests/test_bug399284.html new file mode 100644 index 0000000000..452ab7c77d --- /dev/null +++ b/layout/base/tests/test_bug399284.html @@ -0,0 +1,115 @@ + + + + + Test for Bug 399284 + + + + +Mozilla Bug 399284 +

    + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug399951.html b/layout/base/tests/test_bug399951.html new file mode 100644 index 0000000000..9be4eaae4e --- /dev/null +++ b/layout/base/tests/test_bug399951.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 399951 + + + + +Mozilla Bug 399951 +
    +.i + h + f +
    +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug404209.xhtml b/layout/base/tests/test_bug404209.xhtml new file mode 100644 index 0000000000..8ae2a01e5a --- /dev/null +++ b/layout/base/tests/test_bug404209.xhtml @@ -0,0 +1,47 @@ + + + + Test for Bug 404209 + + + + + +Mozilla Bug 404209 +
    abcd
    +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug416896.html b/layout/base/tests/test_bug416896.html new file mode 100644 index 0000000000..894b3939c0 --- /dev/null +++ b/layout/base/tests/test_bug416896.html @@ -0,0 +1,64 @@ + + + + + Test for Bug 416896 + + + + + + + +Mozilla Bug 416896 +

    + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug423523.html b/layout/base/tests/test_bug423523.html new file mode 100644 index 0000000000..69ff8e84f8 --- /dev/null +++ b/layout/base/tests/test_bug423523.html @@ -0,0 +1,104 @@ + + + + + Test for Bug 423523 + + + + + +Mozilla Bug 423523 +

    + + + + + +
    +

    Some text...

    +
    This is some editable text.
    +
    + + + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug435293-interaction.html b/layout/base/tests/test_bug435293-interaction.html new file mode 100644 index 0000000000..e3002ef7f2 --- /dev/null +++ b/layout/base/tests/test_bug435293-interaction.html @@ -0,0 +1,49 @@ + + + + + Test for Bug 435293 + + + + + + + +Mozilla Bug 435293 +
    +
    + test +
    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug435293-scale.html b/layout/base/tests/test_bug435293-scale.html new file mode 100644 index 0000000000..5abda33c7e --- /dev/null +++ b/layout/base/tests/test_bug435293-scale.html @@ -0,0 +1,103 @@ + + + + + Test for Bug 435293 + + + + + + +Mozilla Bug 435293 +

    +
    +
    + test +
    +

    + test +

    +
    + test +
    +
    + test +
    +
    + test +
    +
    + test +
    +
    + test +
    +
    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug435293-skew.html b/layout/base/tests/test_bug435293-skew.html new file mode 100644 index 0000000000..acabf90760 --- /dev/null +++ b/layout/base/tests/test_bug435293-skew.html @@ -0,0 +1,173 @@ + + + + + Test for Bug 435293 + + + + + + +Mozilla Bug 435293 +

    +
    +
    test
    +

    test

    +
    test
    +
    test
    +
    test
    +
    test
    +
    test
    +
    test
    +
    test
    +
    test
    +
    test
    +
    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug449781.html b/layout/base/tests/test_bug449781.html new file mode 100644 index 0000000000..3326bb0751 --- /dev/null +++ b/layout/base/tests/test_bug449781.html @@ -0,0 +1,62 @@ + + + + + Test for Bug 449781 + + + + + +Mozilla Bug 449781 +

    Canary

    + +
    +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug450930.xhtml b/layout/base/tests/test_bug450930.xhtml new file mode 100644 index 0000000000..b899724462 --- /dev/null +++ b/layout/base/tests/test_bug450930.xhtml @@ -0,0 +1,28 @@ + + + + + Test for Bug 450930 (MozAfterPaint) + + + + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug469170.html b/layout/base/tests/test_bug469170.html new file mode 100644 index 0000000000..42ab8a69f6 --- /dev/null +++ b/layout/base/tests/test_bug469170.html @@ -0,0 +1,48 @@ + + + + + Test for Bug 469170 + + + + +

    Mozilla Bug 469170

    + + + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug471126.html b/layout/base/tests/test_bug471126.html new file mode 100644 index 0000000000..623c5bbbe1 --- /dev/null +++ b/layout/base/tests/test_bug471126.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 471126 + + + + +Mozilla Bug 471126 +

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug499538-1.html b/layout/base/tests/test_bug499538-1.html new file mode 100644 index 0000000000..0f5d7f3d5f --- /dev/null +++ b/layout/base/tests/test_bug499538-1.html @@ -0,0 +1,53 @@ + + + + + Test for Bug 499538 + + + + + + +Mozilla Bug 499538 +

    +
    + +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug514127.html b/layout/base/tests/test_bug514127.html new file mode 100644 index 0000000000..35300c9eed --- /dev/null +++ b/layout/base/tests/test_bug514127.html @@ -0,0 +1,55 @@ + + + + + Test for Bug 514127 + + + + +

    Mozilla Bug 514127

    + + + + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug518777.html b/layout/base/tests/test_bug518777.html new file mode 100644 index 0000000000..25a2e58e73 --- /dev/null +++ b/layout/base/tests/test_bug518777.html @@ -0,0 +1,44 @@ + + + + + Test for Bug 518777 + + + + + + +

    Mozilla Bug 518777

    + + + +
    +
    + + diff --git a/layout/base/tests/test_bug548545.xhtml b/layout/base/tests/test_bug548545.xhtml new file mode 100644 index 0000000000..d532acba34 --- /dev/null +++ b/layout/base/tests/test_bug548545.xhtml @@ -0,0 +1,47 @@ + + + + Test for Bug 548545 + + + + + +Mozilla Bug 548545 +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug558663.html b/layout/base/tests/test_bug558663.html new file mode 100644 index 0000000000..ea957cc960 --- /dev/null +++ b/layout/base/tests/test_bug558663.html @@ -0,0 +1,37 @@ + + + + + + Bug 558663 test + + + + + + + +
    + + + diff --git a/layout/base/tests/test_bug559499.html b/layout/base/tests/test_bug559499.html new file mode 100644 index 0000000000..6b70d86a70 --- /dev/null +++ b/layout/base/tests/test_bug559499.html @@ -0,0 +1,26 @@ + + + + + Test for Bug 559499 + + + + +

    Mozilla Bug 514127

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug569520.html b/layout/base/tests/test_bug569520.html new file mode 100644 index 0000000000..50f7d2afc1 --- /dev/null +++ b/layout/base/tests/test_bug569520.html @@ -0,0 +1,67 @@ + + + + + Test for Bug 569520 + + + + +Mozilla Bug 569520 +

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug582181-1.html b/layout/base/tests/test_bug582181-1.html new file mode 100644 index 0000000000..b8d4ee9de6 --- /dev/null +++ b/layout/base/tests/test_bug582181-1.html @@ -0,0 +1,60 @@ + + + + + Test for Bug 582181 + + + + + + + +Mozilla Bug 582181 +

    +
    + +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug582181-2.html b/layout/base/tests/test_bug582181-2.html new file mode 100644 index 0000000000..8a4d1c5116 --- /dev/null +++ b/layout/base/tests/test_bug582181-2.html @@ -0,0 +1,63 @@ + + + + + Test for Bug 582181 + + + + + + + +Mozilla Bug 582181 +

    +
    + +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug582771.html b/layout/base/tests/test_bug582771.html new file mode 100644 index 0000000000..9c230e15ba --- /dev/null +++ b/layout/base/tests/test_bug582771.html @@ -0,0 +1,128 @@ + + + + + Test for Bug 582771 + + + + + +Mozilla Bug 582771 +

    + +
    +
    +
    +
     

     
    +
    
    +
    +
    diff --git a/layout/base/tests/test_bug583889.html b/layout/base/tests/test_bug583889.html
    new file mode 100644
    index 0000000000..84ddae90d5
    --- /dev/null
    +++ b/layout/base/tests/test_bug583889.html
    @@ -0,0 +1,53 @@
    +
    +
    +
    +
    +  Test for Bug 583889
    +  
    +  
    +
    +
    +Mozilla Bug 583889
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug588174.html b/layout/base/tests/test_bug588174.html new file mode 100644 index 0000000000..50f7d2afc1 --- /dev/null +++ b/layout/base/tests/test_bug588174.html @@ -0,0 +1,67 @@ + + + + + Test for Bug 569520 + + + + +Mozilla Bug 569520 +

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug603550.html b/layout/base/tests/test_bug603550.html new file mode 100644 index 0000000000..a62ebc8723 --- /dev/null +++ b/layout/base/tests/test_bug603550.html @@ -0,0 +1,118 @@ + + + + + Test for Bug 603550 + + + + + +Mozilla Bug 603550 +

    + +
    +
    +
    +
     
    + + diff --git a/layout/base/tests/test_bug607529.html b/layout/base/tests/test_bug607529.html new file mode 100644 index 0000000000..a74aff565c --- /dev/null +++ b/layout/base/tests/test_bug607529.html @@ -0,0 +1,119 @@ + + + + + Test for Bug 607529 + + + + +Mozilla Bug 607529 +

    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug629838.html b/layout/base/tests/test_bug629838.html new file mode 100644 index 0000000000..94c60a9557 --- /dev/null +++ b/layout/base/tests/test_bug629838.html @@ -0,0 +1,87 @@ + + + + Tests for MozAfterPaint + + + + +

    +

    +

    + +
    +
    +
    + +
    +first
    link
    +second link +third
    link
    +
    + + + + diff --git a/layout/base/tests/test_bug644768.html b/layout/base/tests/test_bug644768.html new file mode 100644 index 0000000000..396fccb5d0 --- /dev/null +++ b/layout/base/tests/test_bug644768.html @@ -0,0 +1,62 @@ + + + + + + + Test for Bug 644768 + + + + + + + Mozilla Bug 644768 +

    +
    + + +
    +
    +      
    +    
    + + diff --git a/layout/base/tests/test_bug646757.html b/layout/base/tests/test_bug646757.html new file mode 100644 index 0000000000..b941643c29 --- /dev/null +++ b/layout/base/tests/test_bug646757.html @@ -0,0 +1,43 @@ + + + + + Test for Bug 646757 + + + + +
    +
    +
    +
    +
    +Mozilla Bug 646757 +

    + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug66619.html b/layout/base/tests/test_bug66619.html new file mode 100644 index 0000000000..064a8bf277 --- /dev/null +++ b/layout/base/tests/test_bug66619.html @@ -0,0 +1,62 @@ + + + + + Test for Bug 66619 + + + + +Mozilla Bug 66619 +

    + +
    +
    +
    + +
    +first
    link
    +second link +third
    link
    +
    + + + + diff --git a/layout/base/tests/test_bug667512.html b/layout/base/tests/test_bug667512.html new file mode 100644 index 0000000000..fa8eb78dbf --- /dev/null +++ b/layout/base/tests/test_bug667512.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 667512 + + + + + +

    + + + + diff --git a/layout/base/tests/test_bug677878.html b/layout/base/tests/test_bug677878.html new file mode 100644 index 0000000000..8dbb624d22 --- /dev/null +++ b/layout/base/tests/test_bug677878.html @@ -0,0 +1,54 @@ + + + + + Test for Bug 677878 + + + + + + + +Mozilla Bug 677878 +
    +
    +
    + test +
    +
    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug687297.html b/layout/base/tests/test_bug687297.html new file mode 100644 index 0000000000..3395bcf9cc --- /dev/null +++ b/layout/base/tests/test_bug687297.html @@ -0,0 +1,54 @@ + + + + + + Test for Bug 687297 + + + + + +Mozilla Bug 687297 +

    + +
    +  
    +
    + + diff --git a/layout/base/tests/test_bug696020.html b/layout/base/tests/test_bug696020.html new file mode 100644 index 0000000000..01273c0708 --- /dev/null +++ b/layout/base/tests/test_bug696020.html @@ -0,0 +1,47 @@ + + + + + Test for Bug 696020 + + + + + +Mozilla Bug 696020 +

    + +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug718809.html b/layout/base/tests/test_bug718809.html new file mode 100644 index 0000000000..a27d7c0e57 --- /dev/null +++ b/layout/base/tests/test_bug718809.html @@ -0,0 +1,28 @@ + + + + + Test for Bug 718809 + + + + + +
    +Mozilla Bug 718809 +
    +
    +
    +
    + + + diff --git a/layout/base/tests/test_bug725426.html b/layout/base/tests/test_bug725426.html new file mode 100644 index 0000000000..f020303627 --- /dev/null +++ b/layout/base/tests/test_bug725426.html @@ -0,0 +1,23 @@ + + +Test for bug 725426 + + + +
    +
    +
    + +Mozilla Bug 725426 +
    +
    +
    diff --git a/layout/base/tests/test_bug731777.html b/layout/base/tests/test_bug731777.html new file mode 100644 index 0000000000..893ad92842 --- /dev/null +++ b/layout/base/tests/test_bug731777.html @@ -0,0 +1,49 @@ + + + + Test for Bug 731777 + + + + + +
    +
    +
    + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug749186.html b/layout/base/tests/test_bug749186.html new file mode 100644 index 0000000000..fed00c36f6 --- /dev/null +++ b/layout/base/tests/test_bug749186.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 749186 (Crashtest) + + + + + + + Bug 749186 + +
    + + diff --git a/layout/base/tests/test_bug761572.html b/layout/base/tests/test_bug761572.html new file mode 100644 index 0000000000..250c9b559e --- /dev/null +++ b/layout/base/tests/test_bug761572.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 761572 + + + + + +Mozilla Bug 761572 +
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug770106.html b/layout/base/tests/test_bug770106.html new file mode 100644 index 0000000000..dc969b6095 --- /dev/null +++ b/layout/base/tests/test_bug770106.html @@ -0,0 +1,24 @@ + + + + Test for Bug 770106 + + + + +Hello + + +
    +
    +
    + + diff --git a/layout/base/tests/test_bug842853-2.html b/layout/base/tests/test_bug842853-2.html new file mode 100644 index 0000000000..ee30fb8e93 --- /dev/null +++ b/layout/base/tests/test_bug842853-2.html @@ -0,0 +1,56 @@ + + + + + + Test for Bug 842853 + + + + + +Mozilla Bug 842853 +

    + +
    +
    + + + + diff --git a/layout/base/tests/test_bug842853.html b/layout/base/tests/test_bug842853.html new file mode 100644 index 0000000000..c6b5f40e95 --- /dev/null +++ b/layout/base/tests/test_bug842853.html @@ -0,0 +1,52 @@ + + + + + + Test for Bug 842853 + + + + + +Mozilla Bug 842853 +

    + +
    +
    + + + diff --git a/layout/base/tests/test_bug849219.html b/layout/base/tests/test_bug849219.html new file mode 100644 index 0000000000..d116afeb78 --- /dev/null +++ b/layout/base/tests/test_bug849219.html @@ -0,0 +1,50 @@ + + + + + + Test for Bug 849219 + + + + + +Mozilla Bug 849219 +

    + +
    +
    + + + diff --git a/layout/base/tests/test_bug851445.html b/layout/base/tests/test_bug851445.html new file mode 100644 index 0000000000..a89ccce51c --- /dev/null +++ b/layout/base/tests/test_bug851445.html @@ -0,0 +1,34 @@ + + + + + + Test for Bug 851445 + + + + +Mozilla Bug 851445 +

    + + + + diff --git a/layout/base/tests/test_bug851485.html b/layout/base/tests/test_bug851485.html new file mode 100644 index 0000000000..a5f3488189 --- /dev/null +++ b/layout/base/tests/test_bug851485.html @@ -0,0 +1,86 @@ + + + + + + Test for Bug 851485 + + + + + + +Mozilla Bug 851485 +

    + +
    +
    + + + + diff --git a/layout/base/tests/test_bug858459.html b/layout/base/tests/test_bug858459.html new file mode 100644 index 0000000000..c12ea94819 --- /dev/null +++ b/layout/base/tests/test_bug858459.html @@ -0,0 +1,59 @@ + + + + + + Test for Bug 858459 + + + + + + +Mozilla Bug 858459 +

    + +
    + +
    + + diff --git a/layout/base/tests/test_bug93077-1.html b/layout/base/tests/test_bug93077-1.html new file mode 100644 index 0000000000..780f9c24a3 --- /dev/null +++ b/layout/base/tests/test_bug93077-1.html @@ -0,0 +1,31 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug93077-2.html b/layout/base/tests/test_bug93077-2.html new file mode 100644 index 0000000000..7985d63ad1 --- /dev/null +++ b/layout/base/tests/test_bug93077-2.html @@ -0,0 +1,31 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug93077-3.html b/layout/base/tests/test_bug93077-3.html new file mode 100644 index 0000000000..357a18cb5e --- /dev/null +++ b/layout/base/tests/test_bug93077-3.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +

    Top

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug93077-4.html b/layout/base/tests/test_bug93077-4.html new file mode 100644 index 0000000000..c0a16596b5 --- /dev/null +++ b/layout/base/tests/test_bug93077-4.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +

    Top

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug93077-5.html b/layout/base/tests/test_bug93077-5.html new file mode 100644 index 0000000000..b2701a392c --- /dev/null +++ b/layout/base/tests/test_bug93077-5.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +

    Top

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug93077-6.html b/layout/base/tests/test_bug93077-6.html new file mode 100644 index 0000000000..906ff13e2f --- /dev/null +++ b/layout/base/tests/test_bug93077-6.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 93077 + + + + + +Mozilla Bug 93077 +

    +
    ...
    +

    +

    Top

    +
    +
    +
    + + diff --git a/layout/base/tests/test_bug970964.html b/layout/base/tests/test_bug970964.html new file mode 100644 index 0000000000..9f1e94c841 --- /dev/null +++ b/layout/base/tests/test_bug970964.html @@ -0,0 +1,46 @@ + + + + + Test for Bug 970964 + + + + + + + + diff --git a/layout/base/tests/test_bug977003.html b/layout/base/tests/test_bug977003.html new file mode 100644 index 0000000000..426ac52566 --- /dev/null +++ b/layout/base/tests/test_bug977003.html @@ -0,0 +1,32 @@ + + + + + + Test for Bug 977003 + + + + + + + + + diff --git a/layout/base/tests/test_bug990340.html b/layout/base/tests/test_bug990340.html new file mode 100644 index 0000000000..dea6bb346c --- /dev/null +++ b/layout/base/tests/test_bug990340.html @@ -0,0 +1,60 @@ + + + + + + Test for Bug 990340 + + + + + +Mozilla Bug 990340 +

    + +
    +
    +
    + Transition height +
    +
    + + + + + diff --git a/layout/base/tests/test_bug993936.html b/layout/base/tests/test_bug993936.html new file mode 100644 index 0000000000..5325b66a22 --- /dev/null +++ b/layout/base/tests/test_bug993936.html @@ -0,0 +1,164 @@ + + + + + + Test for Bug 993936 + + + + + +Mozilla Bug 993936 +

    + +
    +
    +
    + Test div +
    + + + + diff --git a/layout/base/tests/test_caret_browsing_around_form_controls.html b/layout/base/tests/test_caret_browsing_around_form_controls.html new file mode 100644 index 0000000000..8b4fb480cd --- /dev/null +++ b/layout/base/tests/test_caret_browsing_around_form_controls.html @@ -0,0 +1,379 @@ + + + + + + + + + + + diff --git a/layout/base/tests/test_dynamic_toolbar_max_height.html b/layout/base/tests/test_dynamic_toolbar_max_height.html new file mode 100644 index 0000000000..abf0c34e8e --- /dev/null +++ b/layout/base/tests/test_dynamic_toolbar_max_height.html @@ -0,0 +1,22 @@ + + + + +
    + + diff --git a/layout/base/tests/test_emulateMedium.html b/layout/base/tests/test_emulateMedium.html new file mode 100644 index 0000000000..535904f0c0 --- /dev/null +++ b/layout/base/tests/test_emulateMedium.html @@ -0,0 +1,165 @@ + + + + +Test for Bug 819930 + + + + +Mozilla Bug 819930 +

    + + + + diff --git a/layout/base/tests/test_emulate_color_scheme.html b/layout/base/tests/test_emulate_color_scheme.html new file mode 100644 index 0000000000..dce7171584 --- /dev/null +++ b/layout/base/tests/test_emulate_color_scheme.html @@ -0,0 +1,40 @@ + + +Emulation of color-scheme (bug 1570721) + + + +
    + diff --git a/layout/base/tests/test_event_target_iframe_oop.html b/layout/base/tests/test_event_target_iframe_oop.html new file mode 100644 index 0000000000..562433c955 --- /dev/null +++ b/layout/base/tests/test_event_target_iframe_oop.html @@ -0,0 +1,177 @@ + + + + + Test for bug 921928 + + + + + + + + + diff --git a/layout/base/tests/test_event_target_radius.html b/layout/base/tests/test_event_target_radius.html new file mode 100644 index 0000000000..caf046cf99 --- /dev/null +++ b/layout/base/tests/test_event_target_radius.html @@ -0,0 +1,422 @@ + + + + + Test radii for mouse events + + + + + + +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_frame_reconstruction_body_table.html b/layout/base/tests/test_frame_reconstruction_body_table.html new file mode 100644 index 0000000000..b1f6af0481 --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_body_table.html @@ -0,0 +1,48 @@ + + + + + Test for Bug 1630819: Test we don't reframe the html element when + inserting a block element into a display:table body element. + + + + + + + + + + + + diff --git a/layout/base/tests/test_frame_reconstruction_body_writing_mode.html b/layout/base/tests/test_frame_reconstruction_body_writing_mode.html new file mode 100644 index 0000000000..70c7e3a0f0 --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_body_writing_mode.html @@ -0,0 +1,34 @@ + + + + + Test for Bug 1593752: Test we don't reframe the html element when + inserting a canonical body element with the same writing-mode. + + + + + + + + + diff --git a/layout/base/tests/test_frame_reconstruction_for_column_span.html b/layout/base/tests/test_frame_reconstruction_for_column_span.html new file mode 100644 index 0000000000..c368901241 --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_for_column_span.html @@ -0,0 +1,77 @@ + + + + + Test for Bug 1503420: Test we don't reframe multi-column containing block + when appending a block containing a spanner kid. + + + + + + + + + + + +
    +
    block1
    +
    + + diff --git a/layout/base/tests/test_frame_reconstruction_for_pseudo_elements.html b/layout/base/tests/test_frame_reconstruction_for_pseudo_elements.html new file mode 100644 index 0000000000..f76e9f139f --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_for_pseudo_elements.html @@ -0,0 +1,74 @@ + + + + + + Test for Bug 1110277 + + + + + + +Mozilla Bug 1110277 +
    + This is a test. +
    +
    + This is a test. +
    +
    +
    + + diff --git a/layout/base/tests/test_frame_reconstruction_for_svg_transforms.html b/layout/base/tests/test_frame_reconstruction_for_svg_transforms.html new file mode 100644 index 0000000000..ac0b5d8191 --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_for_svg_transforms.html @@ -0,0 +1,46 @@ + + + + + + Test for Bug 1419764 + + + + + +Mozilla Bug 1419764 + + + +
    +
    + + diff --git a/layout/base/tests/test_frame_reconstruction_scroll_restore.html b/layout/base/tests/test_frame_reconstruction_scroll_restore.html new file mode 100644 index 0000000000..a5115bb694 --- /dev/null +++ b/layout/base/tests/test_frame_reconstruction_scroll_restore.html @@ -0,0 +1,82 @@ + + + + + Test for Bug 1268195 + + + + + + +Mozilla Bug 1268195
    +The scroll position should end the top of the page. This is the top, yay! +
    +The scroll position should end the top of the page. This is the bottom! +
    +
    + + diff --git a/layout/base/tests/test_getBoxQuads_convertPointRectQuad.html b/layout/base/tests/test_getBoxQuads_convertPointRectQuad.html new file mode 100644 index 0000000000..3b0431f458 --- /dev/null +++ b/layout/base/tests/test_getBoxQuads_convertPointRectQuad.html @@ -0,0 +1,717 @@ + + + + + + + + +

    + + +
    +
    +
    +
    + +
    + + + +
    + + + + + + + + +
    Cell
    Caption
    + +
    +
    +
    +
    + +
    + +
    T +TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
    + +
    +
    + +
    + + + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    + + + + +
    +
    +
    +
    +
    + + + + diff --git a/layout/base/tests/test_getClientRects_emptytext.html b/layout/base/tests/test_getClientRects_emptytext.html new file mode 100644 index 0000000000..3717beb0ae --- /dev/null +++ b/layout/base/tests/test_getClientRects_emptytext.html @@ -0,0 +1,26 @@ + + + + + + + + + +

    + +
    + + + diff --git a/layout/base/tests/test_mozPaintCount.html b/layout/base/tests/test_mozPaintCount.html new file mode 100644 index 0000000000..dcf8eef3d2 --- /dev/null +++ b/layout/base/tests/test_mozPaintCount.html @@ -0,0 +1,62 @@ + + + + Tests for DOMWindowUtils.paintCount + + + + +

    +

    +

    + +
    +
    +
    + +
    +first
    link
    +second link +third
    link
    +
    + + + + diff --git a/layout/base/tests/test_partialbg.html b/layout/base/tests/test_partialbg.html new file mode 100644 index 0000000000..8c5b6b466a --- /dev/null +++ b/layout/base/tests/test_partialbg.html @@ -0,0 +1,76 @@ + + + + + + Test for Bug 1231622: Draw partial frames of downloading css background images + + + + + + + + + + + diff --git a/layout/base/tests/test_preserve3d_sorting_hit_testing.html b/layout/base/tests/test_preserve3d_sorting_hit_testing.html new file mode 100644 index 0000000000..2b975a0ef6 --- /dev/null +++ b/layout/base/tests/test_preserve3d_sorting_hit_testing.html @@ -0,0 +1,48 @@ + + + + + Test for Bug 684759 + + + + +Mozilla Bug 684759 + +
    +
    +
    + + diff --git a/layout/base/tests/test_preserve3d_sorting_hit_testing2.html b/layout/base/tests/test_preserve3d_sorting_hit_testing2.html new file mode 100644 index 0000000000..4199907eee --- /dev/null +++ b/layout/base/tests/test_preserve3d_sorting_hit_testing2.html @@ -0,0 +1,40 @@ + + + + + Test for Bug 1241394 + + + + +Mozilla Bug 1241394 +
    +
    +
    + + diff --git a/layout/base/tests/test_refreshDriver_hasPendingTick.html b/layout/base/tests/test_refreshDriver_hasPendingTick.html new file mode 100644 index 0000000000..eb92c1fb92 --- /dev/null +++ b/layout/base/tests/test_refreshDriver_hasPendingTick.html @@ -0,0 +1,95 @@ + + + + + + Test for Bug 1756269: the nsIDOMWindowUtils.refreshDriverHasPendingTick API + + + + + +Mozilla Bug 1756269 +
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_reftests_with_caret.html b/layout/base/tests/test_reftests_with_caret.html new file mode 100644 index 0000000000..0255b5deca --- /dev/null +++ b/layout/base/tests/test_reftests_with_caret.html @@ -0,0 +1,469 @@ + + + + Reftests with caret drawing + + + + + + + + + + diff --git a/layout/base/tests/test_resize_flush.html b/layout/base/tests/test_resize_flush.html new file mode 100644 index 0000000000..ad14a8f700 --- /dev/null +++ b/layout/base/tests/test_resize_flush.html @@ -0,0 +1,51 @@ + + + + + Test for Bug 1279202 + + + + +Mozilla Bug 1279202 + +
    +
    +
    + + diff --git a/layout/base/tests/test_scroll_event_ordering.html b/layout/base/tests/test_scroll_event_ordering.html new file mode 100644 index 0000000000..9626d6bb6b --- /dev/null +++ b/layout/base/tests/test_scroll_event_ordering.html @@ -0,0 +1,63 @@ + + + + + Test for Bug 785588 --- ordering of scroll-related events + + + + + +Mozilla Bug 785588 +
    +
    +
    Hello
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_scroll_into_view_in_oopif.html b/layout/base/tests/test_scroll_into_view_in_oopif.html new file mode 100644 index 0000000000..7264a20d62 --- /dev/null +++ b/layout/base/tests/test_scroll_into_view_in_oopif.html @@ -0,0 +1,17 @@ + + + +
    +
    + +
    diff --git a/layout/base/tests/test_scroll_selection_into_view.html b/layout/base/tests/test_scroll_selection_into_view.html new file mode 100644 index 0000000000..cbd9db015b --- /dev/null +++ b/layout/base/tests/test_scroll_selection_into_view.html @@ -0,0 +1,97 @@ + + + + Test for scrolling selection into view + + + + + +
    +
    +
    + + + diff --git a/layout/base/tests/test_scroll_space_no_range_overflow_scroll.html b/layout/base/tests/test_scroll_space_no_range_overflow_scroll.html new file mode 100644 index 0000000000..deed8f4ced --- /dev/null +++ b/layout/base/tests/test_scroll_space_no_range_overflow_scroll.html @@ -0,0 +1,67 @@ + +Test for bug 1567237 + + + + + +
    +
    +
    +
    +
    + diff --git a/layout/base/tests/test_synthmousemove.html b/layout/base/tests/test_synthmousemove.html new file mode 100644 index 0000000000..fda86c341e --- /dev/null +++ b/layout/base/tests/test_synthmousemove.html @@ -0,0 +1,31 @@ + +test synth mouse moves go to the right place with fission + + + + diff --git a/layout/base/tests/test_transformed_scrolling_repaints.html b/layout/base/tests/test_transformed_scrolling_repaints.html new file mode 100644 index 0000000000..81cf9d7ac2 --- /dev/null +++ b/layout/base/tests/test_transformed_scrolling_repaints.html @@ -0,0 +1,54 @@ + + + + Test that scaled elements with scrolled contents don't repaint unnecessarily when we scroll inside them + + + + + +
    +
    Hello
    +
    Kitty
    +
    Kitty
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_transformed_scrolling_repaints_2.html b/layout/base/tests/test_transformed_scrolling_repaints_2.html new file mode 100644 index 0000000000..4611f0c25a --- /dev/null +++ b/layout/base/tests/test_transformed_scrolling_repaints_2.html @@ -0,0 +1,54 @@ + + + + Test that scaled elements with scrolled contents don't repaint unnecessarily when we scroll inside them (1.1 scale) + + + + + +
    +
    +
    +
    +
    +
    +
    +
    + + diff --git a/layout/base/tests/test_transformed_scrolling_repaints_3.html b/layout/base/tests/test_transformed_scrolling_repaints_3.html new file mode 100644 index 0000000000..eb9ad9ba93 --- /dev/null +++ b/layout/base/tests/test_transformed_scrolling_repaints_3.html @@ -0,0 +1,24 @@ + + + + Test that scaled elements with scrolled contents don't repaint unnecessarily when we scroll inside them + + + + + +
    +
    +
    + + diff --git a/layout/base/tests/test_visual_viewport_in_oopif.html b/layout/base/tests/test_visual_viewport_in_oopif.html new file mode 100644 index 0000000000..9056336471 --- /dev/null +++ b/layout/base/tests/test_visual_viewport_in_oopif.html @@ -0,0 +1,11 @@ + + + + + diff --git a/layout/base/tests/test_zoom_restore_bfcache.html b/layout/base/tests/test_zoom_restore_bfcache.html new file mode 100644 index 0000000000..798ce1c6e4 --- /dev/null +++ b/layout/base/tests/test_zoom_restore_bfcache.html @@ -0,0 +1,139 @@ + + +Test for zoom restoration when coming from the bfcache + + + + diff --git a/layout/base/tests/textarea-invalid-ref.html b/layout/base/tests/textarea-invalid-ref.html new file mode 100644 index 0000000000..c5607603d7 --- /dev/null +++ b/layout/base/tests/textarea-invalid-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/base/tests/textarea-maxlength-invalid-change.html b/layout/base/tests/textarea-maxlength-invalid-change.html new file mode 100644 index 0000000000..29571678b0 --- /dev/null +++ b/layout/base/tests/textarea-maxlength-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-maxlength-ui-invalid-change.html b/layout/base/tests/textarea-maxlength-ui-invalid-change.html new file mode 100644 index 0000000000..9c674080ac --- /dev/null +++ b/layout/base/tests/textarea-maxlength-ui-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-maxlength-ui-valid-change.html b/layout/base/tests/textarea-maxlength-ui-valid-change.html new file mode 100644 index 0000000000..2f3d6bda1b --- /dev/null +++ b/layout/base/tests/textarea-maxlength-ui-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-maxlength-valid-before-change.html b/layout/base/tests/textarea-maxlength-valid-before-change.html new file mode 100644 index 0000000000..3466d310a4 --- /dev/null +++ b/layout/base/tests/textarea-maxlength-valid-before-change.html @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/layout/base/tests/textarea-maxlength-valid-change.html b/layout/base/tests/textarea-maxlength-valid-change.html new file mode 100644 index 0000000000..24007a500f --- /dev/null +++ b/layout/base/tests/textarea-maxlength-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-minlength-invalid-change.html b/layout/base/tests/textarea-minlength-invalid-change.html new file mode 100644 index 0000000000..9267ccfcaf --- /dev/null +++ b/layout/base/tests/textarea-minlength-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-minlength-ui-invalid-change.html b/layout/base/tests/textarea-minlength-ui-invalid-change.html new file mode 100644 index 0000000000..e52fba71e2 --- /dev/null +++ b/layout/base/tests/textarea-minlength-ui-invalid-change.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-minlength-ui-valid-change.html b/layout/base/tests/textarea-minlength-ui-valid-change.html new file mode 100644 index 0000000000..18cecef138 --- /dev/null +++ b/layout/base/tests/textarea-minlength-ui-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-minlength-valid-before-change.html b/layout/base/tests/textarea-minlength-valid-before-change.html new file mode 100644 index 0000000000..6fd7ad9799 --- /dev/null +++ b/layout/base/tests/textarea-minlength-valid-before-change.html @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/layout/base/tests/textarea-minlength-valid-change.html b/layout/base/tests/textarea-minlength-valid-change.html new file mode 100644 index 0000000000..95faa54763 --- /dev/null +++ b/layout/base/tests/textarea-minlength-valid-change.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/layout/base/tests/textarea-valid-ref.html b/layout/base/tests/textarea-valid-ref.html new file mode 100644 index 0000000000..547b4fb7c5 --- /dev/null +++ b/layout/base/tests/textarea-valid-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/base/tests/transformed_scrolling_repaints_3_window.html b/layout/base/tests/transformed_scrolling_repaints_3_window.html new file mode 100644 index 0000000000..ae6a05294d --- /dev/null +++ b/layout/base/tests/transformed_scrolling_repaints_3_window.html @@ -0,0 +1,46 @@ + + + + Test that scaled elements with scrolled contents don't repaint unnecessarily when we scroll inside them + + + + + +
    +
    +
    + + diff --git a/layout/base/tests/transformed_scrolling_repaints_3_window_frame.html b/layout/base/tests/transformed_scrolling_repaints_3_window_frame.html new file mode 100644 index 0000000000..a3213908d6 --- /dev/null +++ b/layout/base/tests/transformed_scrolling_repaints_3_window_frame.html @@ -0,0 +1,58 @@ + +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. +

    My graduate adviser was the most patient, understanding, and helpful +person I've ever had the joy of dealing with. That doesn't change that +there are some real dicks out there, and some of them happen to be +scientists. + diff --git a/layout/base/tests/visual_viewport_in_child.html b/layout/base/tests/visual_viewport_in_child.html new file mode 100644 index 0000000000..3fd47cb6bd --- /dev/null +++ b/layout/base/tests/visual_viewport_in_child.html @@ -0,0 +1,25 @@ + + + + +

    +
    +
    + -- cgit v1.2.3