chromium/third_party/blink/web_tests/compositing/geometry/transfrom-origin-on-zero-size-layer.html

<!DOCTYPE>

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Transform-clipping bug</title>
  <style type="text/css" media="screen">
    body {
      margin: 0;
    }
    
    .zero-size-item {
      position: absolute;
      top: 10px;
      left: 10px;
      height: 0px;
      width: 0px;
      -webkit-transform-origin: 0 100px;
      transform: scale3d(0.5, 0.5, 1);
    }

    .box {
      position: absolute;
      width: 100px;
      height: 100px;
      background-color: green;
      transform: translateZ(10px);
    }
    
    #indicator {
      position: absolute;
      top: 60px;
      left: 10px;
      width: 50px;
      height: 50px;
      background-color: red;
    }
  </style>
</head>
<body>

<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=29495">29495</a>. You should see one green box below, with no red.</p>
<div id="indicator"></div>

<div class="zero-size-item">
  <div class="box"></div>
</div>

</body>
</html>