summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/range/auto-size.html
blob: a5945a81886cb4d4662acfb86eb7cffc7b832242 (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
45
46
47
48
49
50
<!DOCTYPE HTML>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1524573 -->
<html><head>
  <meta charset="utf-8">
  <title>Testcase #1 for bug 1330962</title>
  <style type="text/css">
html,body {
  color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}

grid {
  display: grid;
  grid: 40px / auto;
  float: left;
  place-items: center start;
  border: 1px solid;
}
grid.c {
  grid: auto / 40px;
  place-items: start center;
}

.v { writing-mode: vertical-lr; }

  </style>
</head>
<body>

<grid class=c><input type=range class=v></grid>
<grid class=c><input type=range class=v style="width:max-content"></grid>
<grid class=c><input type=range class=v style="width:min-content"></grid>

<grid class=c><input type=range orient=vertical></grid>
<grid class=c><input type=range orient=vertical style="width:max-content"></grid>
<grid class=c><input type=range orient=vertical style="width:min-content"></grid>

<grid><input type=range></grid>
<grid><input type=range style="height:max-content"></grid>
<grid><input type=range style="height:min-content"></grid>

<grid><input type=range orient=horizontal class=v></grid>
<grid><input type=range orient=horizontal class=v style="width:max-content"></grid>
<grid><input type=range orient=horizontal class=v style="width:min-content"></grid>

</body>
</html>