// contentEditable // http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable // this is known to false positive in some mobile browsers // here is a whitelist of verified working browsers: // https://github.com/NielsLeenheer/html5test/blob/549f6eac866aa861d9649a0707ff2c0157895706/scripts/engine.js#L2083 Modernizr.addTest('contenteditable', 'contentEditable' in document.documentElement);