diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/quirks/historical | |
parent | Initial commit. (diff) | |
download | firefox-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')
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> |