summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-radius/percent-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/border-radius/percent-2.html')
-rw-r--r--layout/reftests/border-radius/percent-2.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/border-radius/percent-2.html b/layout/reftests/border-radius/percent-2.html
new file mode 100644
index 000000000..98fdb10be
--- /dev/null
+++ b/layout/reftests/border-radius/percent-2.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<html><head><title>Border radius with percent units &mdash; test</title>
+<style>
+div { border-radius: 25% 10%; 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; }
+</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>