Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
html.tpl.php and maintenance-page.tpl.php both have hardcoded meta tags that don't add anything to browsers except Windows Mobile see #1717090: Remove the http-equiv="cleartype" meta tag
This patch adds conditionals around them so pages will validate
Comment | File | Size | Author |
---|---|---|---|
cleartype-http-equiv-fix.patch | 994 bytes | acbramley |
Comments
Comment #1
echoz CreditAttribution: echoz commentedLet's follow what core does #1717090: Remove the http-equiv="cleartype" meta tag even though that's been stalled for a month. Patch will have to be rerolled against dev when the time comes. Thanks, Adam!
Comment #2
JohnAlbinWe've decided to remove that metatag for Drupal 8 because we won't be supporting those old mobile Windows phones.
But I think we should support them on Drupal 7. Opinions?
Comment #3
JohnAlbinDidn't mean to move it to the new branch.
Comment #4
C-LogemannWe have still validation errors on this meta tag in W3C Validator. So even if it's now removed from D8, there should be a soltion in the D7 zen theme.
I like the solution of @acbramley and the patch works fine in branch 7.x-5.x-dev. This can be committed in my opinion.
Comment #5
rooby CreditAttribution: rooby commentedThere is a patch here.
Comment #6
JohnAlbinI think the wrapping conditional comment is silly, but I'll add it to 7.x-5.x since I'm removing the whole metatag from 6.x.
Comment #9
JohnAlbin