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-break/overflow-clip-000.html | |
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-break/overflow-clip-000.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/overflow-clip-000.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/overflow-clip-000.html b/testing/web-platform/tests/css/css-break/overflow-clip-000.html new file mode 100644 index 0000000000..72b10f5cdd --- /dev/null +++ b/testing/web-platform/tests/css/css-break/overflow-clip-000.html @@ -0,0 +1,55 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#overflow-properties"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> +<style> + #multicol { + writing-mode: horizontal-tb; + columns: 4; + column-fill: auto; + column-gap: 0; + inline-size: 100px; + block-size: 200px; + } + #clipper { + /* Take up all of the first three columns and the half of the last one. */ + block-size: 700px; + overflow: clip; + } + .filler { + /* Take us from one fragmentainer and 50px into the next. */ + block-size: 150px; + } + .visible { + block-size: 100px; + background: green; + } + .before-fragmentainer-start { + /* This is before the block-start of a fragmentainer, and should therefore + be clipped by #clipper. */ + margin-block-start: -100px; + block-size: 50px; + background: red; + } + .after-container-end { + block-size: 100px; + background: red; + } +</style> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div id="multicol"> + <div id="clipper"> + <div class="visible"></div> + <div class="filler"></div> + <div class="before-fragmentainer-start"></div> + <div class="visible"></div> + <div class="filler"></div> + <div class="before-fragmentainer-start"></div> + <div class="visible"></div> + <div class="filler"></div> + <div class="before-fragmentainer-start"></div> + <div class="visible"></div> + <div class="after-container-end"></div> + </div> +</div> |