diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-multicol/multicol-basic-001.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/multicol-basic-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-multicol/multicol-basic-001.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/multicol-basic-001.html b/testing/web-platform/tests/css/css-multicol/multicol-basic-001.html new file mode 100644 index 0000000000..702cf549b1 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/multicol-basic-001.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> +<html> +<!-- Submitted from TestTWF Paris --> +<head> + <meta charset="utf-8"> + <title>CSS Test: Multi-column element via columns: [integer]</title> + <link rel="author" title="Anselm Hannemann" href="mailto:info@anselm-hannemann.com"/> + <link rel="author" title="HÃ¥kon Wium Lie" href="mailto:howcome@opera.com"/> + <link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/> + <link rel="match" href="reference/multicol-basic-ref.html"/> + <meta name="flags" content="ahem"/> + <link rel="reviewer" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact"> + + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + .multicol-wrapper>*{ + font: 20px/1 Ahem; + } + + div.multicol-wrapper{ + border: thin solid black; + display: inline-block; + margin: 1em auto; + width: 360px; + } + + .multicol-basic-ref{ + background: yellow; + width: 360px; + columns: 3; + column-gap: 0; + column-rule: none; + } + + .multicol-basic-ref-item{ + background: #000; + } + + .item-1{ + background: purple; + color: purple; + } + + .item-2{ + background: orange; + color: orange; + } + + .item-3{ + background: blue; + color: blue; + } + </style> +</head> +<body> +<p>Test passes if there are three vertical stripes in the yellow box below: 1st purple, 2nd orange, 3rd blue.</p> +<div class="multicol-wrapper"> + <div class="multicol-basic-ref"> + <span class="multicol-basic-ref-item item-1">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span> + <span class="multicol-basic-ref-item item-2">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span> + <span class="multicol-basic-ref-item item-3">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span> + </div> +</div> +</body> +</html> |