Bug 58966

Summary: contenteditable attribute fails to work when design mode is on and contenteditable set to false
Product: WebKit Reporter: Rakesh Sadhu <rakesh.sadhu>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: benjamin
Priority: P3 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
html File
none
QtTestBrowser SisX file
none
html File none

Description Rakesh Sadhu 2011-04-19 23:45:46 PDT
Created attachment 90313 [details]
html File 

Precondition:
----------------

Install the attached sisx Files


Steps to Reproduce:
Launch the html Page.

Expected Result:
Element whose contenteditable property is set false should not be editable , even if design mode is on.

Actual Result:

element's content is editable.
Comment 1 Rakesh Sadhu 2011-04-19 23:46:23 PDT
Created attachment 90314 [details]
QtTestBrowser SisX file

attaching SisX file
Comment 2 Benjamin Poulain 2011-04-20 06:33:43 PDT
Please attach a reduction or a . The html files you attached has dependencies.
Is this Symbian specific?
Comment 3 Rakesh Sadhu 2011-04-20 22:57:35 PDT
Created attachment 90498 [details]
html File

Sorry about previous attached file.
Attaching a new file
Comment 4 Benjamin Poulain 2011-04-21 03:20:44 PDT
Clearing the Qt fields, I doubt this is specific to Qt.
Comment 5 Benjamin Poulain 2011-04-21 03:26:26 PDT
From a quick look at the spec, your assumptions seem bogus.

Here is the excerpt I read:
"Otherwise, either the HTML element has a contenteditable attribute set to the false state, or its contenteditable attribute is set to the inherit state and its nearest ancestor HTML element with the contenteditable attribute set to a state other than the inherit state has its attribute set to the false state, or all its ancestors have their contenteditable attribute set to the inherit state and the Document itself has designMode disabled; either way, the element is not editable."

What part of the spec are you referring to?
Comment 6 Rakesh Sadhu 2011-04-22 10:57:04 PDT
Perhaps you're jumping into quick  decisions ... you need to understand my comment of bug again or you need to understand the words in spec....

Anyways , i am attaching a similar bug on windows xp platform 
https://bugs.webkit.org/show_bug.cgi?id=22036

Hope it might act as an eye opener...
Comment 7 Rakesh Sadhu 2011-04-23 07:13:53 PDT
https://bugs.webkit.org/show_bug.cgi?id=22036

Kindly have a look at the above bug , which is same as this one reported
Comment 8 Benjamin Poulain 2011-04-24 09:46:06 PDT

*** This bug has been marked as a duplicate of bug 22036 ***