Page MenuHomePhabricator

Doctype for Internet Explorer 9.0 if HTML5 is enabled
Closed, DeclinedPublic

Description

Author: public

Description:
Hello,
when the variable $wgHtml5=true the doctype is:
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

regarding to W3C and http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx

it should be:
<!DOCTYPE html>

(and IMHO for IE9.0 <meta http-equiv="X-UA-Compatible" content="IE=9"> too, but I am not completly sure about this)

And there is a problem with this wgHTML5=true; too. If this value is "true" the edit input field have the font sans-serif.

Peter


Version: 1.16.x
Severity: normal
OS: Windows 7
Platform: PC

Details

Reference
bz28471

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:36 PM
bzimport set Reference to bz28471.
bzimport added a subscriber: Unknown Object (MLST).

I'm closing this works for me. <!DOCTYPE html> has been the default since (the as of yet unreleased, but almost out) 1.17

public wrote:

ahh okay, thanks for this info.