gecko/layout/reftests/pixel-rounding/rounded-background-color-width-10-ref.html
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00

75 lines
1.7 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Pixel rounding testcase</title>
<style type="text/css">
html, body { margin: 0; border: none; padding: 0; }
body > div { margin: 10px; height: 80px; position: relative; }
body > div > div {
position: absolute; top: 0; left: 0; height: 10px; width: 11px;
}
body > div > div { background: green; }
.tl { top: 20px; }
.tr { margin-top: 40px; }
.bl { left: 20px; }
.br { margin-left: 40px; }
div.one > div.tl { border-top-left-radius: 1px; }
div.one > div.tr { border-top-right-radius: 1px; }
div.one > div.bl { border-bottom-left-radius: 1px; }
div.one > div.br { border-bottom-right-radius: 1px; }
div.four > div.tl { border-top-left-radius: 4px; }
div.four > div.tr { border-top-right-radius: 4px; }
div.four > div.bl { border-bottom-left-radius: 4px; }
div.four > div.br { border-bottom-right-radius: 4px; }
</style>
</head>
<body>
<div class="one">
<div></div>
<div class="tl"></div>
<div class="tr"></div>
<div class="bl"></div>
<div class="br"></div>
<div class="tl tr"></div>
<div class="tl bl"></div>
<div class="tl br"></div>
<div class="tr bl"></div>
<div class="tr br"></div>
<div class="bl br"></div>
<div class="tl tr bl"></div>
<div class="tl tr br"></div>
<div class="tl bl br"></div>
<div class="tr bl br"></div>
<div class="tl tr bl br"></div>
</div>
<div class="four">
<div></div>
<div class="tl"></div>
<div class="tr"></div>
<div class="bl"></div>
<div class="br"></div>
<div class="tl tr"></div>
<div class="tl bl"></div>
<div class="tl br"></div>
<div class="tr bl"></div>
<div class="tr br"></div>
<div class="bl br"></div>
<div class="tl tr bl"></div>
<div class="tl tr br"></div>
<div class="tl bl br"></div>
<div class="tr bl br"></div>
<div class="tl tr bl br"></div>
</div>
</body>
</html>