summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/quirks/historical
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/quirks/historical
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/quirks/historical')
-rw-r--r--testing/web-platform/tests/quirks/historical/list-item-bullet-size-ref.html13
-rw-r--r--testing/web-platform/tests/quirks/historical/list-item-bullet-size.html16
-rw-r--r--testing/web-platform/tests/quirks/historical/reference/vertical-align-in-quirks-ref.html52
-rw-r--r--testing/web-platform/tests/quirks/historical/vertical-align-in-quirks.html56
4 files changed, 137 insertions, 0 deletions
diff --git a/testing/web-platform/tests/quirks/historical/list-item-bullet-size-ref.html b/testing/web-platform/tests/quirks/historical/list-item-bullet-size-ref.html
new file mode 100644
index 0000000000..f449ce9924
--- /dev/null
+++ b/testing/web-platform/tests/quirks/historical/list-item-bullet-size-ref.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<title>Historical quirk: list item bullet size</title>
+<style>
+p { margin:0 }
+#test { font-size:3em; margin-top:0 }
+</style>
+<p>There should be a normal-size bullet and a big bullet below.</p>
+<ul>
+ <li>&nbsp;
+</ul>
+<ul id=test>
+ <li>&nbsp;
+</ul>
diff --git a/testing/web-platform/tests/quirks/historical/list-item-bullet-size.html b/testing/web-platform/tests/quirks/historical/list-item-bullet-size.html
new file mode 100644
index 0000000000..bf996edf78
--- /dev/null
+++ b/testing/web-platform/tests/quirks/historical/list-item-bullet-size.html
@@ -0,0 +1,16 @@
+<!--quirks-->
+<title>Historical quirk: list item bullet size</title>
+<link rel=help href=https://quirks.spec.whatwg.org/#goals>
+<meta name=assert content="List item bullet size quirk must not be supported.">
+<link rel=match href=list-item-bullet-size-ref.html>
+<style>
+p { margin:0 }
+#test { font-size:3em; margin-top:0 }
+</style>
+<p>There should be a normal-size bullet and a big bullet below.</p>
+<ul>
+ <li>&nbsp;
+</ul>
+<ul id=test>
+ <li>&nbsp;
+</ul>
diff --git a/testing/web-platform/tests/quirks/historical/reference/vertical-align-in-quirks-ref.html b/testing/web-platform/tests/quirks/historical/reference/vertical-align-in-quirks-ref.html
new file mode 100644
index 0000000000..7bef765150
--- /dev/null
+++ b/testing/web-platform/tests/quirks/historical/reference/vertical-align-in-quirks-ref.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-size: 10px;
+ line-height: 50px;
+ border: 1px solid blue;
+}
+img {
+ width: 1em;
+ height: 2em;
+ background: orange;
+ border: 1px solid black;
+}
+.text-top {
+ vertical-align: text-top;
+}
+.text-bottom {
+ vertical-align: text-bottom;
+}
+.top {
+ vertical-align: top;
+}
+.bottom {
+ vertical-align: bottom;
+}
+</style>
+<body>
+ <div>
+ <img class="text-top" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="text-bottom" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="top" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="bottom" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="text-top" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="text-bottom" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="top" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="bottom" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+</body>
diff --git a/testing/web-platform/tests/quirks/historical/vertical-align-in-quirks.html b/testing/web-platform/tests/quirks/historical/vertical-align-in-quirks.html
new file mode 100644
index 0000000000..c076724304
--- /dev/null
+++ b/testing/web-platform/tests/quirks/historical/vertical-align-in-quirks.html
@@ -0,0 +1,56 @@
+<meta charset="utf-8">
+<title>CSS Text level 3 Test: letter spacing after bidi</title>
+<link rel="author" href="kojii@chromium.org">
+<link rel="match" href="reference/vertical-align-in-quirks-ref.html">
+<meta name="assert" content="Tests some vertical-align values match in quirks and standard modes.">
+<style>
+div {
+ font-size: 10px;
+ line-height: 50px;
+ border: 1px solid blue;
+}
+img {
+ width: 1em;
+ height: 2em;
+ background: orange;
+ border: 1px solid black;
+}
+.text-top {
+ vertical-align: text-top;
+}
+.text-bottom {
+ vertical-align: text-bottom;
+}
+.top {
+ vertical-align: top;
+}
+.bottom {
+ vertical-align: bottom;
+}
+</style>
+<body>
+ <div>
+ <img class="text-top" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="text-bottom" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="top" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="bottom" src="/css/support/60x60-red.png">Y
+ </div>
+ <div>
+ <img class="text-top" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="text-bottom" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="top" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+ <div>
+ <img class="bottom" src="/css/support/60x60-red.png"><span>Y</span>
+ </div>
+</body>