text: <html>
  <head>
  <meta charset="utf-8" />
  <title>Test #1 for bug #1043537</title>
  <style>
  div {
    width: 200px;
    height: 200px;
    background: yellow;
  }
  
  div:before {
    content: '';
    background: hotpink;
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    resize: both;
  }
  </style>
  </head>
  <body>
    <div></div>
  </body>
  </html>
  