add text-align-last detect

fixes #715, #779