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 --- .../stylesheet-cloning/counter-style-rule-clone.html | 13 +++++++++++++ .../stylesheet-cloning/document-rule-clone.html | 10 ++++++++++ layout/reftests/stylesheet-cloning/glyphs-ref.html | 8 ++++++++ layout/reftests/stylesheet-cloning/importrule.css | 1 + .../stylesheet-cloning/insert-after-clone.html | 11 +++++++++++ .../reftests/stylesheet-cloning/media-rule-clone.html | 10 ++++++++++ layout/reftests/stylesheet-cloning/ref-common.css | 12 ++++++++++++ layout/reftests/stylesheet-cloning/reftest.list | 7 +++++++ .../reftests/stylesheet-cloning/shouldbegreen-ref.html | 7 +++++++ .../reftests/stylesheet-cloning/style-rule-clone.html | 10 ++++++++++ .../stylesheet-cloning/supports-rule-clone.html | 10 ++++++++++ layout/reftests/stylesheet-cloning/test-common.css | 18 ++++++++++++++++++ 12 files changed, 117 insertions(+) create mode 100644 layout/reftests/stylesheet-cloning/counter-style-rule-clone.html create mode 100644 layout/reftests/stylesheet-cloning/document-rule-clone.html create mode 100644 layout/reftests/stylesheet-cloning/glyphs-ref.html create mode 100644 layout/reftests/stylesheet-cloning/importrule.css create mode 100644 layout/reftests/stylesheet-cloning/insert-after-clone.html create mode 100644 layout/reftests/stylesheet-cloning/media-rule-clone.html create mode 100644 layout/reftests/stylesheet-cloning/ref-common.css create mode 100644 layout/reftests/stylesheet-cloning/reftest.list create mode 100644 layout/reftests/stylesheet-cloning/shouldbegreen-ref.html create mode 100644 layout/reftests/stylesheet-cloning/style-rule-clone.html create mode 100644 layout/reftests/stylesheet-cloning/supports-rule-clone.html create mode 100644 layout/reftests/stylesheet-cloning/test-common.css (limited to 'layout/reftests/stylesheet-cloning') diff --git a/layout/reftests/stylesheet-cloning/counter-style-rule-clone.html b/layout/reftests/stylesheet-cloning/counter-style-rule-clone.html new file mode 100644 index 0000000000..ed3ec81e74 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/counter-style-rule-clone.html @@ -0,0 +1,13 @@ + + + + +
    +
  1. +
+ \ No newline at end of file diff --git a/layout/reftests/stylesheet-cloning/document-rule-clone.html b/layout/reftests/stylesheet-cloning/document-rule-clone.html new file mode 100644 index 0000000000..f6228c52b3 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/document-rule-clone.html @@ -0,0 +1,10 @@ + + + +
This should be green
+ diff --git a/layout/reftests/stylesheet-cloning/glyphs-ref.html b/layout/reftests/stylesheet-cloning/glyphs-ref.html new file mode 100644 index 0000000000..f8acbd27d3 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/glyphs-ref.html @@ -0,0 +1,8 @@ + + + +
A
+
B
+
C
+
D
+
5
diff --git a/layout/reftests/stylesheet-cloning/importrule.css b/layout/reftests/stylesheet-cloning/importrule.css new file mode 100644 index 0000000000..25ccf7a26a --- /dev/null +++ b/layout/reftests/stylesheet-cloning/importrule.css @@ -0,0 +1 @@ +@import url(chrome:///browser/skin/); diff --git a/layout/reftests/stylesheet-cloning/insert-after-clone.html b/layout/reftests/stylesheet-cloning/insert-after-clone.html new file mode 100644 index 0000000000..e47a389f7d --- /dev/null +++ b/layout/reftests/stylesheet-cloning/insert-after-clone.html @@ -0,0 +1,11 @@ + +Test insert rule after clone + + + + +
This should be green
diff --git a/layout/reftests/stylesheet-cloning/media-rule-clone.html b/layout/reftests/stylesheet-cloning/media-rule-clone.html new file mode 100644 index 0000000000..b7a3264083 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/media-rule-clone.html @@ -0,0 +1,10 @@ + + + +
This should be green
+ diff --git a/layout/reftests/stylesheet-cloning/ref-common.css b/layout/reftests/stylesheet-cloning/ref-common.css new file mode 100644 index 0000000000..92d77de0e5 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/ref-common.css @@ -0,0 +1,12 @@ +body { + /* to match ua.css, see bug 1020143 */ + font-variant-numeric: tabular-nums; +} +div, p { + padding: 0; margin: 0; + line-height: 150%; + float: left; +} +p { + padding-right: .5em; +} diff --git a/layout/reftests/stylesheet-cloning/reftest.list b/layout/reftests/stylesheet-cloning/reftest.list new file mode 100644 index 0000000000..6be2f7cebc --- /dev/null +++ b/layout/reftests/stylesheet-cloning/reftest.list @@ -0,0 +1,7 @@ +== counter-style-rule-clone.html glyphs-ref.html # passes trivially +# because "Dynamic change on @counter-style not yet supported" +pref(layout.css.moz-document.content.enabled,true) == document-rule-clone.html shouldbegreen-ref.html +== media-rule-clone.html shouldbegreen-ref.html +== insert-after-clone.html shouldbegreen-ref.html +== style-rule-clone.html shouldbegreen-ref.html +== supports-rule-clone.html shouldbegreen-ref.html diff --git a/layout/reftests/stylesheet-cloning/shouldbegreen-ref.html b/layout/reftests/stylesheet-cloning/shouldbegreen-ref.html new file mode 100644 index 0000000000..cd4a755bb7 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/shouldbegreen-ref.html @@ -0,0 +1,7 @@ + + +
This should be green
diff --git a/layout/reftests/stylesheet-cloning/style-rule-clone.html b/layout/reftests/stylesheet-cloning/style-rule-clone.html new file mode 100644 index 0000000000..898199e5b5 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/style-rule-clone.html @@ -0,0 +1,10 @@ + + + +
This should be green
+ diff --git a/layout/reftests/stylesheet-cloning/supports-rule-clone.html b/layout/reftests/stylesheet-cloning/supports-rule-clone.html new file mode 100644 index 0000000000..6edaee2b6d --- /dev/null +++ b/layout/reftests/stylesheet-cloning/supports-rule-clone.html @@ -0,0 +1,10 @@ + + + +
This should be green
+ diff --git a/layout/reftests/stylesheet-cloning/test-common.css b/layout/reftests/stylesheet-cloning/test-common.css new file mode 100644 index 0000000000..dcbf4e1e02 --- /dev/null +++ b/layout/reftests/stylesheet-cloning/test-common.css @@ -0,0 +1,18 @@ +body { + /* to match ua.css, see bug 1020143 */ + font-variant-numeric: tabular-nums; +} +ol, ul, section, p { + padding: 0; margin: 0; + line-height: 150%; +} +ol, ul { + list-style-position: inside; +} +li, p { + float: left; + padding: 0; +} +p { + padding-right: .5em; +} -- cgit v1.2.3