Test passes if orange dots are opposite to the blue dots in each cell. Orange dots should be on the (physical) side specified by the text in the cell.

writing modehorizontal-tbvertical-rlvertical-lrsideways-lr
directionltrrtlltrrtlltrrtlltrrtl
block-start
top
top
right
right
left
left
left
left
block-end
bottom
bottom
left
left
right
right
right
right
inline-start
left
right
top
bottom
top
bottom
bottom
top
inline-end
right
left
bottom
top
bottom
top
top
bottom