diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/css-break/vertical-wm-002.html | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/css-break/vertical-wm-002.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/layout/reftests/css-break/vertical-wm-002.html b/layout/reftests/css-break/vertical-wm-002.html new file mode 100644 index 0000000000..5d77634680 --- /dev/null +++ b/layout/reftests/css-break/vertical-wm-002.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<html><head> + <meta charset="utf-8"> + <title>Testcase: splitting vertical writing-mode blocks</title> + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1328095"> + <link rel="help" href="http://dev.w3.org/csswg/css-break/#break-decoration"> + <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/"> + <link rel="match" href="vertical-wm-002-ref.html"> +<style type="text/css"> +body,html { padding:30px; margin:0; } +.col { + columns: 2; + column-gap: 0; + column-fill: auto; + + block-size: 90px; + inline-size: 140px; + border:1px solid; +} +.vl { writing-mode: vertical-rl; } + +.inner { + border-block-start: 25px solid blue; + border-block-end: 17px solid grey; + inline-size: 70px; +} + +x { + display:block; + break-inside:avoid; + page-break-inside:avoid; + vertical-align: top; + inline-size: 20px; + block-size: 20px; + background:silver; +} +x:nth-of-type(2n) {background:purple;} +</style> +</head> +<body> + +<div class="col vl"> +<div class="inner" style="margin-block-start:40px"> +<x></x><x></x> +</div> +</div> + +<div class="col"> +<div class="inner" style="margin-block-start:40px"> +<x></x><x></x> +</div> +</div> + +<div class="col vl"> +<div class="inner" style="margin-block-start:40px; block-size:90px"> +<x></x><x></x> +</div> +</div> + +<div class="col vl"> +<div class="inner" style="margin-block-start:40px; block-size:100px"> +<x></x><x></x> +</div> +</div> + +</body> +</html> |