contenteditable.js 434 B

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