Bug 1935035 - Update a macOS-only test that hard-codes child count.
[gecko.git] / layout / reftests / forms / meter / bar-pseudo-element-vertical.html
blob509dbb78dabf06a48794fb170b3c04129795fe9a
1 <!DOCTYPE html>
2 <html>
3 <link rel='stylesheet' type='text/css' href='style.css'>
4 <style>
5 meter {
6 margin: 10px;
7 -moz-orient: vertical;
8 overflow: visible;
10 body > meter:nth-child(1)::-moz-meter-bar { margin: 4px; padding: 0px; }
11 body > meter:nth-child(2)::-moz-meter-bar { margin: 0px; padding: 4px; }
12 body > meter:nth-child(3)::-moz-meter-bar { margin: 4px; padding: 4px; }
13 body > meter:nth-child(4)::-moz-meter-bar { margin: 10px 0px 0px 0px; padding: 0px; }
14 body > meter:nth-child(5)::-moz-meter-bar { margin: 0px 10px 0px 0px; padding: 0px; }
15 body > meter:nth-child(6)::-moz-meter-bar { margin: 0px 0px 10px 0px; padding: 0px; }
16 body > meter:nth-child(7)::-moz-meter-bar { margin: 0px 0px 0px 10px; padding: 0px; }
17 body > meter:nth-child(8)::-moz-meter-bar { margin: 0px; padding: 10px 0px 0px 0px; }
18 body > meter:nth-child(9)::-moz-meter-bar { margin: 0px; padding: 0px 10px 0px 0px; }
19 body > meter:nth-child(10)::-moz-meter-bar { margin: 0px; padding: 0px 0px 10px 0px; }
20 body > meter:nth-child(11)::-moz-meter-bar { margin: 0px; padding: 0px 0px 0px 10px; }
21 body > meter:nth-child(12)::-moz-meter-bar { height: 1000px; }
22 body > meter:nth-child(13)::-moz-meter-bar { height: 10px; }
23 body > meter:nth-child(14)::-moz-meter-bar { height: 10%; }
24 body > meter:nth-child(15)::-moz-meter-bar { height: 200%; }
25 body > meter:nth-child(16)::-moz-meter-bar { margin: 64px; padding: 64px; }
26 </style>
27 <body>
28 <!-- Those will be used to change padding/margin on ::-moz-meter-bar -->
29 <meter value='1'></meter>
30 <meter value='1'></meter>
31 <meter value='1'></meter>
32 <meter value='1'></meter>
33 <meter value='1'></meter>
34 <meter value='1'></meter>
35 <meter value='1'></meter>
36 <meter value='1'></meter>
37 <meter value='1'></meter>
38 <meter value='1'></meter>
39 <meter value='1'></meter>
40 <meter value='1'></meter>
41 <!-- Those will be used to change width. -->
42 <meter value='1'></meter>
43 <meter value='1'></meter>
44 <meter value='1'></meter>
45 <meter value='1'></meter>
46 </body>
47 </html>