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/css/css-multicol/multicol-width-ch-001.xht | |
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/css/css-multicol/multicol-width-ch-001.xht')
-rw-r--r-- | testing/web-platform/tests/css/css-multicol/multicol-width-ch-001.xht | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/multicol-width-ch-001.xht b/testing/web-platform/tests/css/css-multicol/multicol-width-ch-001.xht new file mode 100644 index 0000000000..5774d353e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/multicol-width-ch-001.xht @@ -0,0 +1,33 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Multi-column Layout Test: column-width (ch units)</title> +<link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/> +<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#the-number-and-width-of-columns"/> +<link rel="match" href="multicol-width-ch-ref.xht"/> +<meta name="assert" value="Test that the ch unit can be used as a value for column-width."/> +<style type="text/css"><![CDATA[ +.multicol { + font: 1em monospace; + width: 69ch; + column-width: 13ch; + column-gap: 1ch; + background: yellow; +} +]]></style> +</head> + +<body> + <p>Test passes if we have five columns with four lines in each. The final column should contain the words: million, billion, trillion.</p> + <div class="multicol"> + one two three four + five six seven eight + nineten eleven twelve + thirtn fourtnfiftn sixtn + seventn eightn ninetn twenty + hundred thousand million billion + trillion + </div> +</body> +</html> |