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

Switch to lowercase doctype. #24217

Merged
merged 2 commits into from
Oct 3, 2017
Merged

Switch to lowercase doctype. #24217

merged 2 commits into from
Oct 3, 2017

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Oct 3, 2017

Having it uppercase doesn't offer anything and the lowercase version slightly improves GZIP compression.

This was proposed a long time ago (can't find the issue/PR now) but we rejected it back then. Now I find no real gain in having an uppercase doctype thus this PR.

Having it uppercase doesn't offer anything and the lowercase version improves slightly gzip compression.
Copy link
Member

@patrickhlauke patrickhlauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just double-checked, and yes it's valid (the doctype is case insensitive - see https://www.w3.org/TR/html51/syntax.html#the-doctype)

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