MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / legacyIsContentEditable

Function legacyIsContentEditable

javascript/atoms/dom.js:326–333  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

324 // For IE and for browsers where contentEditable is supported but
325 // isContentEditable is not, traverse up the ancestors:
326 function legacyIsContentEditable(e) {
327 if (e.contentEditable == 'inherit') {
328 var parent = bot.dom.getParentElement(e);
329 return parent ? legacyIsContentEditable(parent) : false;
330 } else {
331 return e.contentEditable == 'true';
332 }
333 }
334 return legacyIsContentEditable(element);
335};
336

Callers 1

dom.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected