Add a basic CSS Writing Modes reftest

… and fix stuff to make it pass.