testing/web-platform/tests/css/css-backgrounds/css3-background-size.html
author dadaa <daisuke.akatsuka@birchill.co.jp>
Wed, 09 Jul 2025 04:53:58 +0000 (13 hours ago)
changeset 795836 a5500d271fe3a1fefb4d81d96fc4abd00d9eade7
parent 392912 9415bff8166863f344256c7a3dd14aa5e038e82b
permissions -rw-r--r--
Bug 1957280: Limit user's mouse amount for tree component r=places-reviewers,reusable-components-reviewers,masayuki,mstriemer Differential Revision: https://phabricator.services.mozilla.com/D251224
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>CSS Background-size Test: the size of the background image</title>
  <link rel="author" title="Xie Bing" href="mailto:451887565@qq.com">
  <link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-03 -->
  <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-width">
  <link rel="match" href="reference/css3-background-size-ref.html"/>
  <style type="text/css">
    div{
      width:60px;
      height:60px;
      background:url(support/60x60-green.png);
      background-size:50%;
      background-repeat: no-repeat;
    }
  </style>
</head>
<body>
  <p>The test passes if the green box is resized to 50%.</p>
  <div></div>
</body>
</html>