I wanted to have a masterpage for Sharepoint 2010 with a HTML5 Doctype… unfortunately Sharepoint 2010 has been coded without standards, so lot of things are now broken.

I spent some time to find the broken functions. I’ve created a file that is called just after <SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server"/>, and you can download it here (.js file).

I overwrite some functions to make the “Multiple lines of text” to work and same thing for the “People Picker”, and other stuff. That could be useful for someone else.

Also I found that the Gantt View doesn’t work in Standard Mode. So I’ve also overwritten some functions to make it OK in IE8, IE9 and IE10: fix_grid_sp2010.js. This file must be called at the bottom of your masterpage (in my case it’s just after the </form>) with something like :