Add css3 values for writing-mode

Rebased and squashed @yaniswang's pr
Fixes gh-49