Test that verifies the behavior of text-align:-webkit-match-parent.

The test passes if all the lines containing the text "Left Align" are aligned to the left and vice-versa for "Right Align".

Cases where the outermost div is LTR.

Left Aligned
Left Aligned
Right Aligned

Cases where the outermost div is RTL.

Right Aligned
Left Aligned

Changing text-align programmatically

Left Aligned

check -webkit-match-parent in a nested div

Right Aligned
Left Aligned