summaryrefslogtreecommitdiff
path: root/layout/reftests/writing-mode/1158549-1-vertical-block-size-constraints.html
blob: 2ef3d1cda2861c60c5acde436b1300860aa745a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
  font: 16px/20px sans-serif;
  width: 600px;
  height: 500px;
  padding: 5px;
  border: 1px solid gray;
}
blockquote {
  background: #eee;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  min-width: 100%;
  max-height: 40%;
  margin: 0;
  padding: 10px 0;
}
</style>
</head>

<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac fringilla quam,
eu ultricies augue. Aliquam ante orci, egestas eu pulvinar eget, ullamcorper eu
elit. Phasellus tristique vulputate odio, quis ultricies justo rutrum in. Mauris
auctor est in sagittis eleifend.</p>

<blockquote>
<p>Ut accumsan dui eu elit dapibus rutrum. Nunc tristique urna eget ex dictum
placerat. Nunc venenatis enim sed odio iaculis, consequat consectetur sem
elementum. Fusce eros eros, eleifend eget eros at, convallis tempor tortor. Cras
at gravida leo. Proin ultricies ipsum vitae felis suscipit, a tincidunt orci
mattis. Cras in suscipit mauris.</p>
</blockquote>

<p>Vivamus lobortis hendrerit vehicula. Nullam dapibus ante et commodo lacinia.
Sed tincidunt pretium ligula, eget porta metus pharetra eget. Mauris pharetra
tortor convallis nisi varius facilisis.</p>

</body>
</html>