summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/whitespace-trimming
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/mozilla/tests/mathml/whitespace-trimming
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/whitespace-trimming')
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3-ref.html32
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3.html32
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1-ref.html2
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1.html3
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2-ref.html2
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2.html3
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3-ref.html2
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3.html3
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4-ref.html2
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4.html3
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5-ref.html5
-rw-r--r--testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5.html6
12 files changed, 95 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3-ref.html
new file mode 100644
index 0000000000..6d82b4ba0d
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3-ref.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>table-width-3</title>
+ <meta charset="utf-8"/>
+ <style type="text/css">
+ html { background-color: grey; }
+ td { border: 1px solid white;
+ padding-top: 0;
+ padding-bottom: 0;
+ padding-right: 1px;
+ padding-left: 1px;
+ background-color: black;
+ color: red; }
+ mi, mtext { font-size: 3em; }
+ span { font-style: italic; display: inline-block; }
+ </style>
+ </head>
+ <body>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mphantom>
+ <mi>f</mi>
+ </mphantom>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3.html
new file mode 100644
index 0000000000..f5211e3cad
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/table-width-3.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>table-width-3</title>
+ <meta charset="utf-8"/>
+ <link rel="match" href="table-width-3-ref.html"/>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=415413"/>
+ <style type="text/css">
+ html { background-color: grey; }
+ td { border: 1px solid white;
+ padding-top: 0;
+ padding-bottom: 0;
+ padding-right: 1px;
+ padding-left: 1px;
+ background-color: black;
+ color: black; }
+ mi, mtext { font-size: 3em; }
+ span { font-style: italic; display: inline-block; }
+ </style>
+ </head>
+ <body>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mi> f </mi>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1-ref.html
new file mode 100644
index 0000000000..b2145dedf0
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<math><mo minsize="10em">(</mo></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1.html
new file mode 100644
index 0000000000..c7a63dd131
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-1.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<link rel="match" href="whitespace-trim-1-ref.html"/>
+<math><mo minsize="10em"> ( </mo></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2-ref.html
new file mode 100644
index 0000000000..8b8f7b8129
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<math><mi>(</mi></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2.html
new file mode 100644
index 0000000000..db84b1207d
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-2.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<link rel="match" href="whitespace-trim-2-ref.html"/>
+<math><mi> ( </mi></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3-ref.html
new file mode 100644
index 0000000000..b8ba67d8f0
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<math><mi>&#x210e;</mi></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3.html
new file mode 100644
index 0000000000..d26dddfcad
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-3.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<link rel="match" href="whitespace-trim-3-ref.html"/>
+<math><mi> &#x210e; </mi></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4-ref.html
new file mode 100644
index 0000000000..f5951467cb
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<math><ms>x</ms></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4.html
new file mode 100644
index 0000000000..8a93d94b15
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-4.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<link rel="match" href="whitespace-trim-4-ref.html"/>
+<math><ms> x </ms></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5-ref.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5-ref.html
new file mode 100644
index 0000000000..560259c86f
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5-ref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<math><mtext>|</mtext><mi>x</mi><mtext>|</mtext></math>
+<math><mtext>|</mtext><mn>x</mn><mtext>|</mtext></math>
+<math><mtext>|</mtext><mo>x</mo><mtext>|</mtext></math>
+<math><mtext>|</mtext><mtext>x</mtext><mtext>|</mtext></math>
diff --git a/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5.html b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5.html
new file mode 100644
index 0000000000..48f62691a1
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/whitespace-trimming/whitespace-trim-5.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<link rel="match" href="whitespace-trim-5-ref.html"/>
+<math><mtext>|</mtext><mi> x </mi><mtext>|</mtext></math>
+<math><mtext>|</mtext><mn> x </mn><mtext>|</mtext></math>
+<math><mtext>|</mtext><mo> x </mo><mtext>|</mtext></math>
+<math><mtext>|</mtext><mtext> x </mtext><mtext>|</mtext></math>