summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/quirks/historical
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/quirks/historical
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
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>