[css-text] Move bidi of line boxes section to Edge Effects, where it's less in-the-way. Fix some markup errors.