CSS Text 3 text-align: justify & text-align-last

A forced break ends a paragraph: every <br> line stays ragged

Peach State Technologies
1 Example Parkway, Suite 400
Atlanta, Georgia 30303
United States of America

Default: only the lines that end a paragraph are ragged

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

text-align-last: justify (the exemption declined - every line fills the measure)

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

text-align-last: center

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation.

text-align-last: right

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation.

direction: rtl - the default text-align-last: auto is start, which is the right edge

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

text-align is a real shorthand over text-align-all/text-align-last (issue #1027)

Plain text-align: justify (default text-align-last: auto) - the closing line stays ragged.
Second sentence to give this paragraph a forced break.

text-align: justify-all sets text-align-all AND text-align-last to justify - even the closing line stretches to the full measure.
Second sentence, same treatment.

text-align: match-parent resolves against the *parent's* own direction (issue #1027)

This RTL container's own child paragraphs declare text-align: match-parent with no direction of their own.

Match-parent's start resolves against the container's RTL direction, so both paragraphs pack against the physical right edge - the same result an explicit text-align: right would give here, but automatically following whichever direction the container ends up with.