Bug 44523 - isContentEditable incorrectly reports back true on iOS devices
Summary: isContentEditable incorrectly reports back true on iOS devices
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Major
Assignee: Nobody
URL: http://beta.html5test.com/testcases/c...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 07:40 PDT by Niels Leenheer (HTML5test)
Modified: 2010-08-24 14:49 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Leenheer (HTML5test) 2010-08-24 07:40:50 PDT
Editing HTML elements using the contenteditable attribute does not work on iOS devices. Because editing is not possible, isContentEditable should always return false on an iOS device. 

For example:

div = document.createElement('div');
div.setAttribute('contenteditable', 'true');
document.body.appendChild(div);
div.isContentEditable;
-> true    // incorrect, should be false on an iPhone, iPad or iPod touch
Comment 1 Alexey Proskuryakov 2010-08-24 12:09:46 PDT
Please file iOS specific bugs via http://bugreport.apple.com, because iOS WebKit isn't built directly from webkit.org sources.
Comment 2 Niels Leenheer (HTML5test) 2010-08-24 14:49:30 PDT
Radar #8349666