summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.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 'testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht b/testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht
new file mode 100644
index 0000000000..e95c9812cf
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/float-rgt-orthog-vlr-in-htb-003.xht
@@ -0,0 +1,49 @@
+<!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 Writing Modes Test: orthogonal floated right in horizontal-tb context</title>
+
+ <meta name="DC.date.created" content="2017-02-17T09:54:03+11:00" scheme="W3CDTF" />
+ <meta name="DC.date.modified" content="2017-02-17T09:54:03+11:00" scheme="W3CDTF" />
+
+ <!--
+ Inspired by the test in
+ http://lists.w3.org/Archives/Public/www-style/2016Nov/0044.html
+ -->
+
+ <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto" />
+ <link rel="match" href="float-rgt-orthog-vlr-in-htb-003-ref.xht" />
+
+ <meta content="This test checks the vertical position of an orthogonal floated right block box inside an horizontal-tb parent. The orthogonal floated right block box must be put as high as possible inside the horizontal-tb line box." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ div#horiz-parent
+ {
+ border: orange solid 8px;
+ font-size: 32px;
+ line-height: 1.25; /* computes to 40px */
+ }
+
+ div#orthog-vlr-float-right
+ {
+ background-color: blue;
+ color: white;
+ float: right;
+ writing-mode: vertical-lr;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <div id="horiz-parent">HTB parent
+ <div id="orthog-vlr-float-right">VLR floated right</div>
+ </div>
+
+ </body>
+</html>