margin: 1em;
    float: left;
  }
  td {
    width: 1em;
    height: 1em;
  }

  .navy { background: navy}
  .blue { background: blue }
  .aqua { background: aqua }
  .teal { background: teal }

  /* These declarations must have no effect. */
  .test col,
  .test colgroup {
    writing-mode: horizontal-tb;
    writing-mode: vertical-rl;
    direction: rtl;
  }
  .test[dir=rtl] col,
  .test[dir=rtl] colgroup {
    direction: ltr;
  }
</style>

<p>Test passes if the following patterned boxes all look identica