 its intrinsic aspect ratio (it is 1:1 in this test), to the largest size such that both its width and its height can fit inside the background positioning area. In this test, the 2 background-images should be scaled to become 100px by 100px." />

  <style type="text/css"><![CDATA[
  div#overlapped-red
  {
  background-image: url("support/200x200-red.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 50px;
  padding: 25px;
  width: 150px;
  /*
  background positioning area is 200px