iting-mode: vertical-lr;
    }

  img
    {
      position: relative;
    }

  img.moves-toward-left
    {
      right: 80px;
    }

  img.moves-toward-top
    {
      bottom: 80px;
    }

  img.moves-toward-right
    {
      left: 80px;
    }

  img.moves-toward-bottom
    {
      top: 80px;
    }

  /*
  In this testcase, 7 red 80px by 80px squares overlap
  another red 80px by 80px square (placed in the center of
  a 3 by 3 grid of squares) and then, at the end, one single
  green 80px by 80px square ove