Bug 89380

Summary: [Editing] Node::isContentEditable() should be used instead of Node::rendererIsEditable() for editing
Product: WebKit Reporter: Shinya Kawanaka <shinyak>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hayato, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 82697    

Shinya Kawanaka
Reported 2012-06-18 14:21:39 PDT
In some editing commands, Node::rendererIsEditable() does not return the correct value because renderer might be gone during the command. In that case, we have to recalculate style. Node::isContentEditable() will work for you.
Attachments
Ryosuke Niwa
Comment 1 2012-06-21 10:32:26 PDT
*** This bug has been marked as a duplicate of bug 57244 ***
Note You need to log in before you can comment on or make changes to this bug.