Add some unit tests for logical geometry.
Fix WritingMode::is_inline_tb(), which was backwards.
Typo fix.
xWIP Writing Modes support in layout code.