Bug 89380 - [Editing] Node::isContentEditable() should be used instead of Node::rendererIsEditable() for editing
Summary: [Editing] Node::isContentEditable() should be used instead of Node::rendererI...
Status: RESOLVED DUPLICATE of bug 57244
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 82697
  Show dependency treegraph
 
Reported: 2012-06-18 14:21 PDT by Shinya Kawanaka
Modified: 2012-06-21 10:32 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 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.
Comment 1 Ryosuke Niwa 2012-06-21 10:32:26 PDT

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