Bug 1935035 - Update a macOS-only test that hard-codes child count.
[gecko.git] / layout / reftests / forms / meter / bar-pseudo-element.html
blob9fb69bc1850781c8b882d469aad6eeae30a87e08
1 <!DOCTYPE html>
2 <html>
3 <link rel='stylesheet' type='text/css' href='style.css'>
4 <style>
5 /* override the default clipping of the meter bar from forms.css */
6 meter { overflow: visible; }
7 body > meter:nth-child(1)::-moz-meter-bar { margin: 10px; padding: 0px; }
8 body > meter:nth-child(2)::-moz-meter-bar { margin: 0px; padding: 10px; }
9 body > meter:nth-child(3)::-moz-meter-bar { margin: 10px; padding: 10px; }
10 body > meter:nth-child(4)::-moz-meter-bar { margin: 5px; padding: 5px; }
11 body > meter:nth-child(5)::-moz-meter-bar { margin: 50px; padding: 50px; }
12 body > meter:nth-child(6)::-moz-meter-bar { margin: 100px; padding: 100px; }
13 body > meter:nth-child(7)::-moz-meter-bar { margin: 10px 0px 0px 0px; padding: 0px; }
14 body > meter:nth-child(8)::-moz-meter-bar { margin: 0px 10px 0px 0px; padding: 0px; }
15 body > meter:nth-child(9)::-moz-meter-bar { margin: 0px 0px 10px 0px; padding: 0px; }
16 body > meter:nth-child(10)::-moz-meter-bar { margin: 0px 0px 0px 10px; padding: 0px; }
17 body > meter:nth-child(11)::-moz-meter-bar { margin: 0px; padding: 10px 0px 0px 0px; }
18 body > meter:nth-child(12)::-moz-meter-bar { margin: 0px; padding: 0px 10px 0px 0px; }
19 body > meter:nth-child(13)::-moz-meter-bar { margin: 0px; padding: 0px 0px 10px 0px; }
20 body > meter:nth-child(14)::-moz-meter-bar { margin: 0px; padding: 0px 0px 0px 10px; }
21 body > meter:nth-child(15)::-moz-meter-bar { margin: 200px; padding: 0px; }
22 body > meter:nth-child(16)::-moz-meter-bar { margin: 0px; padding: 200px; }
23 body > meter:nth-child(17)::-moz-meter-bar { width: 1000px; }
24 body > meter:nth-child(18)::-moz-meter-bar { width: 10px; }
25 body > meter:nth-child(19)::-moz-meter-bar { width: 10%; }
26 body > meter:nth-child(20)::-moz-meter-bar { width: 200%; }
27 </style>
28 <body>
29 <!-- Those will be used to change padding/margin on ::-moz-meter-bar -->
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 <meter value='1'></meter>
42 <meter value='1'></meter>
43 <meter value='1'></meter>
44 <meter value='1'></meter>
45 <meter value='1'></meter>
46 <!-- Those will be used to change width. -->
47 <meter value='1'></meter>
48 <meter value='1'></meter>
49 <meter value='1'></meter>
50 <meter value='1'></meter>
51 </body>
52 </html>