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 mode | horizontal-tb | vertical-rl | vertical-lr | sideways-lr
--- | --- | --- | --- | ---
direction | ltr | rtl | ltr | rtl | ltr | rtl | ltr | rtl
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