Limited dir check and style rules additions to elements with lang attribute.