summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-top-right-radius-005.xht
blob: 8bd3965de5a3951ab5761d6779323f6e6a47d152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>border-top-right-radius using two percentages</title>
    <link rel="match" href="border-top-right-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-right-radius: 20% 10%;
      }
    </style>
  </head>
  <body>
    <p>The box should have a border-top-right-radius of 48px 14px. The
        horizontal radius should therefore be clearly larger than the
        vertical radius.</p>
    <div></div>
  </body>
</html>