summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht b/testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht
new file mode 100644
index 0000000000..37af580e06
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-005.xht
@@ -0,0 +1,24 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>border-top-left-radius using two percentages</title>
+ <link rel="match" href="border-top-left-radius-005-ref.xht" />
+ <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
+ <style type="text/css">
+ div
+ {
+ width: 200px;
+ height: 100px;
+
+ background: orange;
+ border: 20px solid teal;
+ border-top-left-radius: 20% 10%;
+ }
+ </style>
+ </head>
+ <body>
+ <p>The box should have a border-top-left-radius of 48px 14px. The
+ horizontal radius should therefore be clearly larger than the
+ vertical radius.</p>
+ <div></div>
+ </body>
+</html>