Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript i18n : lang attribute is set on html tag, not body #421

Closed
wants to merge 1 commit into from

Conversation

DrMartinGonzo
Copy link

No description provided.

@tractorcow
Copy link
Contributor

Yes this seems correct. Example in https://www.w3.org/TR/html5/dom.html#elements-semantics shows this on the <html> tag also.

However this needs a rebase. I will merge this in manually.

@flamerohr
Copy link
Contributor

I would like to extend it to fallback on the body element if the documentElement doesn't have a lang attribute :)

That way we could merge this into the 4.0 branch and then up all the way back to master

@tractorcow
Copy link
Contributor

Sounds good.

@tractorcow
Copy link
Contributor

I've rebased this and cleaned up the file at the same time #458

@tractorcow tractorcow closed this Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants