diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/quirks/historical | |
parent | Initial commit. (diff) | |
download | firefox-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')
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> +</ul> +<ul id=test> + <li> +</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> +</ul> +<ul id=test> + <li> +</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> |