Don't try to apply lineAlign before CSS has been applied

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26056