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/css/css-multicol/column-fill-balance-orthog-block-001.html | |
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/css/css-multicol/column-fill-balance-orthog-block-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-multicol/column-fill-balance-orthog-block-001.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/column-fill-balance-orthog-block-001.html b/testing/web-platform/tests/css/css-multicol/column-fill-balance-orthog-block-001.html new file mode 100644 index 0000000000..be665763df --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/column-fill-balance-orthog-block-001.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> + +<meta charset="UTF-8"> + + <title>CSS Writing Modes Test: 'column-fill: balance' of a vertical writing mode block in orthogonal context</title> + + <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> + <link rel="help" href="https://www.w3.org/TR/css3-multicol/#cf"> + <link rel="help" href="https://www.w3.org/TR/css-writing-modes-4/#auto-multicol"> + <link rel="match" href="reference/column-fill-balance-orthog-block-001-ref.html"> + + <!-- + + Issue 719014: column-fill: balance of a vertical block in orthogonal context incorrectly rendered + https://bugs.chromium.org/p/chromium/issues/detail?id=719014 + + --> + + <meta content="" name="flags"> + <meta name="assert" content="This test checks if a multi-column container with 'column-fill' set to 'balance' will not break an unbreakable run of text and will honor min-content inline size of a block that has its writing mode set to 'vertical-rl'. In this test, the word 'TEXT' should not break, even if div#multi-col's 'height' is set to '49px'."> + + <style> + div#multi-col + { + background-color: yellow; /* Not part of the test */ + columns: 2 auto; + column-fill: balance; /* Balance content equally between columns, if possible. */ + height: 250px; /* more than enough to display "TEXT" */ + } + + div#unbreakable-block + { + background-color: lime; /* Not part of the test */ + font-size: 50px; + line-height: 1.2; /* Not part of the test */ + writing-mode: vertical-rl; + } + </style> + + <p>Test passes if the word "TEXT" is unbroken and rotated 90 degrees clock-wise. + + <div id="multi-col"> + <div id="unbreakable-block">TEXT</div> + </div> |