summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/two-levels-of-orthogonal-flows-percentage.html
blob: ff65534e78d30f21742474a3a4528ab90e87c206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>Two levels of writing mode roots with text inside, percentage inline size on inner</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic" title="4. Intrinsic Size Determination">
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto" title="7.3.1. Available Space in Orthogonal Flows">
<link rel="match" href="reference/two-levels-of-orthogonal-flows-percentage.html">
<p>There should be three lines below. The middle line should have a yellow
  background that takes up about 50% of the viewport width (but otherwise be
  exactly like the two others, i.e. no extra height or anything like that).</p>
A B C D E F G
<div style="writing-mode:vertical-rl; background:yellow;">
  <div style="writing-mode:horizontal-tb; width:50%;">
    A B C D E F G
  </div>
</div>
A B C D E F G