summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-top-left-radius-004.xht
blob: 71c98832404424f0d8ccdc2aadbc30bc6c23a206 (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
25
26
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>border-top-left-radius using one percentage</title>
    <link rel="match" href="border-top-left-radius-004-ref.xht" />
    <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
    <meta name="fuzzy" content="maxDifference=1; totalPixels=0-5" />
    <style type="text/css">
      div
      {
          width: 200px;
          height: 100px;

          background: orange;
          border: 20px solid teal;
          border-top-left-radius: 20%;
      }
    </style>
  </head>
  <body>
    <p>The box should have a border-top-left-radius of 48px 28px. The
        horizontal radius should therefore be clearly larger than the
        vertical radius.</p>
    <div></div>
  </body>
</html>