wpt / css / css-backgrounds / border-bottom-left-radius-005.xht

Status: PASS | Duration: 9ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-backgrounds/border-bottom-left-radius-005.xht

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>border-bottom-left-radius using two percentages</title>
    <link rel="match" href="border-bottom-left-radius-005-ref.xht" />
    <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
    <meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-2" />
    <style type="text/css">
      div
      {
          width: 200px;
          height: 100px;

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

/css/css-backgrounds/border-bottom-left-radius-005-ref.xht

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>border-bottom-left-radius: 48px 14px reference</title>
    <style type="text/css">
      div
      {
          width: 200px;
          height: 100px;

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