gecko/layout/reftests/forms/meter/bar-pseudo-element-ref.html
2011-06-08 12:32:13 +02:00

106 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html>
<link rel='stylesheet' type='text/css' href='style.css'>
<style>
body > div:nth-child(1) > .meter-bar { margin: 10px; padding: 0px; }
body > div:nth-child(2) > .meter-bar { margin: 0px; padding: 10px; }
body > div:nth-child(3) > .meter-bar { margin: 10px; padding: 10px; }
body > div:nth-child(4) > .meter-bar { margin: 5px; padding: 5px; }
body > div:nth-child(5) > .meter-bar { margin: 50px; padding: 50px; }
body > div:nth-child(6) > .meter-bar { margin: 100px; padding: 100px; }
body > div:nth-child(7) > .meter-bar { margin: 10px 0px 0px 0px; padding: 0px; }
body > div:nth-child(8) > .meter-bar { margin: 0px 10px 0px 0px; padding: 0px; }
body > div:nth-child(9) > .meter-bar { margin: 0px 0px 10px 0px; padding: 0px; }
body > div:nth-child(10) > .meter-bar { margin: 0px 0px 0px 10px; padding: 0px; }
body > div:nth-child(11) > .meter-bar { margin: 0px; padding: 10px 0px 0px 0px; }
body > div:nth-child(12) > .meter-bar { margin: 0px; padding: 0px 10px 0px 0px; }
body > div:nth-child(13) > .meter-bar { margin: 0px; padding: 0px 0px 10px 0px; }
body > div:nth-child(14) > .meter-bar { margin: 0px; padding: 0px 0px 0px 10px; }
body > div:nth-child(15) > .meter-bar { margin: 200px; padding: 0px; }
body > div:nth-child(16) > .meter-bar { margin: 0px; padding: 200px; }
/* 15 - 18 should have 100% width, no need to specify. */
</style>
<body>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
<div class="meter-element">
<div class="meter-bar">
</div>
</div>
</body>
</html>