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/svg/tests/chrome.ini | 8 ++ layout/svg/tests/file_black_yellow.svg | 9 ++ .../svg/tests/file_context_fill_fallback_red.html | 17 ++++ .../svg/tests/file_context_fill_fallback_red.svg | 8 ++ layout/svg/tests/file_disabled_iframe.html | 81 ++++++++++++++++++ layout/svg/tests/file_embed_sizing_both.svg | 1 + layout/svg/tests/file_embed_sizing_none.svg | 1 + layout/svg/tests/file_embed_sizing_ratio.svg | 1 + layout/svg/tests/file_embed_sizing_size.svg | 1 + layout/svg/tests/file_filter_crossorigin.svg | 25 ++++++ layout/svg/tests/file_yellow_black.svg | 9 ++ layout/svg/tests/filters.svg | 28 +++++++ layout/svg/tests/mochitest.ini | 30 +++++++ layout/svg/tests/svg_example_script.svg | 7 ++ layout/svg/tests/svg_example_test.html | 7 ++ layout/svg/tests/test_bug1544209.html | 19 +++++ .../test_context_properties_allowed_domains.html | 95 ++++++++++++++++++++++ layout/svg/tests/test_disabled.html | 14 ++++ layout/svg/tests/test_disabled_chrome.html | 54 ++++++++++++ layout/svg/tests/test_embed_sizing.html | 65 +++++++++++++++ layout/svg/tests/test_filter_crossorigin.html | 60 ++++++++++++++ layout/svg/tests/test_hover_near_text.html | 29 +++++++ layout/svg/tests/test_multiple_font_size.html | 25 ++++++ layout/svg/tests/test_use_tree_cycle.html | 37 +++++++++ 24 files changed, 631 insertions(+) create mode 100644 layout/svg/tests/chrome.ini create mode 100644 layout/svg/tests/file_black_yellow.svg create mode 100644 layout/svg/tests/file_context_fill_fallback_red.html create mode 100644 layout/svg/tests/file_context_fill_fallback_red.svg create mode 100644 layout/svg/tests/file_disabled_iframe.html create mode 100644 layout/svg/tests/file_embed_sizing_both.svg create mode 100644 layout/svg/tests/file_embed_sizing_none.svg create mode 100644 layout/svg/tests/file_embed_sizing_ratio.svg create mode 100644 layout/svg/tests/file_embed_sizing_size.svg create mode 100644 layout/svg/tests/file_filter_crossorigin.svg create mode 100644 layout/svg/tests/file_yellow_black.svg create mode 100644 layout/svg/tests/filters.svg create mode 100644 layout/svg/tests/mochitest.ini create mode 100644 layout/svg/tests/svg_example_script.svg create mode 100644 layout/svg/tests/svg_example_test.html create mode 100644 layout/svg/tests/test_bug1544209.html create mode 100644 layout/svg/tests/test_context_properties_allowed_domains.html create mode 100644 layout/svg/tests/test_disabled.html create mode 100644 layout/svg/tests/test_disabled_chrome.html create mode 100644 layout/svg/tests/test_embed_sizing.html create mode 100644 layout/svg/tests/test_filter_crossorigin.html create mode 100644 layout/svg/tests/test_hover_near_text.html create mode 100644 layout/svg/tests/test_multiple_font_size.html create mode 100644 layout/svg/tests/test_use_tree_cycle.html (limited to 'layout/svg/tests') diff --git a/layout/svg/tests/chrome.ini b/layout/svg/tests/chrome.ini new file mode 100644 index 0000000000..cc1b542a66 --- /dev/null +++ b/layout/svg/tests/chrome.ini @@ -0,0 +1,8 @@ +[test_disabled_chrome.html] +support-files = + svg_example_test.html + svg_example_script.svg + +[test_context_properties_allowed_domains.html] +support-files = + file_context_fill_fallback_red.html diff --git a/layout/svg/tests/file_black_yellow.svg b/layout/svg/tests/file_black_yellow.svg new file mode 100644 index 0000000000..58c5689838 --- /dev/null +++ b/layout/svg/tests/file_black_yellow.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/layout/svg/tests/file_context_fill_fallback_red.html b/layout/svg/tests/file_context_fill_fallback_red.html new file mode 100644 index 0000000000..ac8b5b4203 --- /dev/null +++ b/layout/svg/tests/file_context_fill_fallback_red.html @@ -0,0 +1,17 @@ + + + + + diff --git a/layout/svg/tests/file_context_fill_fallback_red.svg b/layout/svg/tests/file_context_fill_fallback_red.svg new file mode 100644 index 0000000000..9088555b53 --- /dev/null +++ b/layout/svg/tests/file_context_fill_fallback_red.svg @@ -0,0 +1,8 @@ + + + + diff --git a/layout/svg/tests/file_disabled_iframe.html b/layout/svg/tests/file_disabled_iframe.html new file mode 100644 index 0000000000..55eda75fde --- /dev/null +++ b/layout/svg/tests/file_disabled_iframe.html @@ -0,0 +1,81 @@ + + +
hi there
+ diff --git a/layout/svg/tests/file_embed_sizing_both.svg b/layout/svg/tests/file_embed_sizing_both.svg new file mode 100644 index 0000000000..8bc39b7d02 --- /dev/null +++ b/layout/svg/tests/file_embed_sizing_both.svg @@ -0,0 +1 @@ + diff --git a/layout/svg/tests/file_embed_sizing_none.svg b/layout/svg/tests/file_embed_sizing_none.svg new file mode 100644 index 0000000000..714efc7ef0 --- /dev/null +++ b/layout/svg/tests/file_embed_sizing_none.svg @@ -0,0 +1 @@ + diff --git a/layout/svg/tests/file_embed_sizing_ratio.svg b/layout/svg/tests/file_embed_sizing_ratio.svg new file mode 100644 index 0000000000..b590bb7da6 --- /dev/null +++ b/layout/svg/tests/file_embed_sizing_ratio.svg @@ -0,0 +1 @@ + diff --git a/layout/svg/tests/file_embed_sizing_size.svg b/layout/svg/tests/file_embed_sizing_size.svg new file mode 100644 index 0000000000..76f50b5f08 --- /dev/null +++ b/layout/svg/tests/file_embed_sizing_size.svg @@ -0,0 +1 @@ + diff --git a/layout/svg/tests/file_filter_crossorigin.svg b/layout/svg/tests/file_filter_crossorigin.svg new file mode 100644 index 0000000000..a1b9ad0cab --- /dev/null +++ b/layout/svg/tests/file_filter_crossorigin.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + diff --git a/layout/svg/tests/file_yellow_black.svg b/layout/svg/tests/file_yellow_black.svg new file mode 100644 index 0000000000..77c14c9af8 --- /dev/null +++ b/layout/svg/tests/file_yellow_black.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/layout/svg/tests/filters.svg b/layout/svg/tests/filters.svg new file mode 100644 index 0000000000..213df7fc93 --- /dev/null +++ b/layout/svg/tests/filters.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/svg/tests/mochitest.ini b/layout/svg/tests/mochitest.ini new file mode 100644 index 0000000000..3397e849b5 --- /dev/null +++ b/layout/svg/tests/mochitest.ini @@ -0,0 +1,30 @@ +[DEFAULT] +support-files = + file_disabled_iframe.html + file_context_fill_fallback_red.svg + +[test_disabled.html] +[test_embed_sizing.html] +support-files = + file_embed_sizing_none.svg + file_embed_sizing_size.svg + file_embed_sizing_ratio.svg + file_embed_sizing_both.svg +skip-if = + http3 + +[test_filter_crossorigin.html] +support-files = + filters.svg + file_filter_crossorigin.svg + file_black_yellow.svg + file_yellow_black.svg +# Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default" +skip-if = + xorigin + os == "linux" && bits == 64 #Bug 1642198 + win10_2004 && !debug # Bug 1642198 +[test_hover_near_text.html] +[test_multiple_font_size.html] +[test_use_tree_cycle.html] +[test_bug1544209.html] diff --git a/layout/svg/tests/svg_example_script.svg b/layout/svg/tests/svg_example_script.svg new file mode 100644 index 0000000000..5eab758f92 --- /dev/null +++ b/layout/svg/tests/svg_example_script.svg @@ -0,0 +1,7 @@ + + + + diff --git a/layout/svg/tests/svg_example_test.html b/layout/svg/tests/svg_example_test.html new file mode 100644 index 0000000000..45c31c98b4 --- /dev/null +++ b/layout/svg/tests/svg_example_test.html @@ -0,0 +1,7 @@ + + + + + + diff --git a/layout/svg/tests/test_bug1544209.html b/layout/svg/tests/test_bug1544209.html new file mode 100644 index 0000000000..b2226b3ea9 --- /dev/null +++ b/layout/svg/tests/test_bug1544209.html @@ -0,0 +1,19 @@ + + + +Mozilla Bug 1544209 + + + ABCABC + + + diff --git a/layout/svg/tests/test_context_properties_allowed_domains.html b/layout/svg/tests/test_context_properties_allowed_domains.html new file mode 100644 index 0000000000..26f38a8770 --- /dev/null +++ b/layout/svg/tests/test_context_properties_allowed_domains.html @@ -0,0 +1,95 @@ + + +Bug 1699892 - SVG context properties for allowed domains + + + + + diff --git a/layout/svg/tests/test_disabled.html b/layout/svg/tests/test_disabled.html new file mode 100644 index 0000000000..acf52e73a2 --- /dev/null +++ b/layout/svg/tests/test_disabled.html @@ -0,0 +1,14 @@ + + + + +Mozilla Bug 166235 + + diff --git a/layout/svg/tests/test_disabled_chrome.html b/layout/svg/tests/test_disabled_chrome.html new file mode 100644 index 0000000000..e7564f17f2 --- /dev/null +++ b/layout/svg/tests/test_disabled_chrome.html @@ -0,0 +1,54 @@ + + + + + + + + +Mozilla Bug 166235 +
hi there
+
+
+
+ + diff --git a/layout/svg/tests/test_embed_sizing.html b/layout/svg/tests/test_embed_sizing.html new file mode 100644 index 0000000000..9afbc7ca7d --- /dev/null +++ b/layout/svg/tests/test_embed_sizing.html @@ -0,0 +1,65 @@ + + + + +

Test intrinsic sizing of embed elements referencing SVG documents, both same +origin and cross origin.

+ +
+ + diff --git a/layout/svg/tests/test_filter_crossorigin.html b/layout/svg/tests/test_filter_crossorigin.html new file mode 100644 index 0000000000..e31c13bee1 --- /dev/null +++ b/layout/svg/tests/test_filter_crossorigin.html @@ -0,0 +1,60 @@ + + + + + + Test for Bug 695385 + + + + + +Mozilla Bug 695385 +
+ + + +
+ + + + +
+
+
+ + diff --git a/layout/svg/tests/test_hover_near_text.html b/layout/svg/tests/test_hover_near_text.html new file mode 100644 index 0000000000..2bf808e61a --- /dev/null +++ b/layout/svg/tests/test_hover_near_text.html @@ -0,0 +1,29 @@ + + + + + Test mouse hover near text element inside svg element with viewBox attribute + + + +
+ + Hi + +
+

+ Mozilla Bug 1519144 +

+ + + diff --git a/layout/svg/tests/test_multiple_font_size.html b/layout/svg/tests/test_multiple_font_size.html new file mode 100644 index 0000000000..aca32eac03 --- /dev/null +++ b/layout/svg/tests/test_multiple_font_size.html @@ -0,0 +1,25 @@ + + + +Mozilla Bug 1370646 + + + + 3 + + + 3 + 0 + + + + diff --git a/layout/svg/tests/test_use_tree_cycle.html b/layout/svg/tests/test_use_tree_cycle.html new file mode 100644 index 0000000000..e820f0f2a2 --- /dev/null +++ b/layout/svg/tests/test_use_tree_cycle.html @@ -0,0 +1,37 @@ + +Test for bug 1531333 + + + + + + svg-sprite + + svg-sprite + + + + + + + -- cgit v1.2.3