gecko-dev/layout/reftests/border-radius/percent-2-ref.html
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 8537cb241d 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

56 lines
1.8 KiB
HTML

<!doctype html>
<html><head><title>Border radius with percent units &mdash; reference</title>
<style>
div { background: green; }
.r1 { height: 20px; } .c1 { width: 20px; }
.r2 { height: 40px; } .c2 { width: 40px; }
.r3 { height: 60px; } .c3 { width: 60px; }
.r4 { height: 80px; } .c4 { width: 80px; }
.r1.c1 { border-radius: 5px 2px / 5px 2px; }
.r1.c2 { border-radius: 10px 4px / 5px 2px; }
.r1.c3 { border-radius: 15px 6px / 5px 2px; }
.r1.c4 { border-radius: 20px 8px / 5px 2px; }
.r2.c1 { border-radius: 5px 2px / 10px 4px; }
.r2.c2 { border-radius: 10px 4px / 10px 4px; }
.r2.c3 { border-radius: 15px 6px / 10px 4px; }
.r2.c4 { border-radius: 20px 8px / 10px 4px; }
.r3.c1 { border-radius: 5px 2px / 15px 6px; }
.r3.c2 { border-radius: 10px 4px / 15px 6px; }
.r3.c3 { border-radius: 15px 6px / 15px 6px; }
.r3.c4 { border-radius: 20px 8px / 15px 6px; }
.r4.c1 { border-radius: 5px 2px / 20px 8px; }
.r4.c2 { border-radius: 10px 4px / 20px 8px; }
.r4.c3 { border-radius: 15px 6px / 20px 8px; }
.r4.c4 { border-radius: 20px 8px / 20px 8px; }
</style>
</head><body>
<table>
<tr>
<td><div class="r1 c1"></div></td>
<td><div class="r1 c2"></div></td>
<td><div class="r1 c3"></div></td>
<td><div class="r1 c4"></div></td>
</tr>
<tr>
<td><div class="r2 c1"></div></td>
<td><div class="r2 c2"></div></td>
<td><div class="r2 c3"></div></td>
<td><div class="r2 c4"></div></td>
</tr>
<tr>
<td><div class="r3 c1"></div></td>
<td><div class="r3 c2"></div></td>
<td><div class="r3 c3"></div></td>
<td><div class="r3 c4"></div></td>
</tr>
<tr>
<td><div class="r4 c1"></div></td>
<td><div class="r4 c2"></div></td>
<td><div class="r4 c3"></div></td>
<td><div class="r4 c4"></div></td>
</tr>
</table>
</body></html>