Closed
Bug 570205
Opened 14 years ago
Closed 14 years ago
IsTargetEditable could use isContentEditable
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1a3
People
(Reporter: neil, Assigned: ewong)
References
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 1 obsolete file)
1.02 KB,
patch
|
ewong
:
review+
|
Details | Diff | Splinter Review |
Currently IsTargetEditable works by looking for an HTML element with a non-inherit value of the contentEditable property. The new isContentEditable property does much the same thing, although we still have to find an HTML element; once we do find one we can then return its editableness directly.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #449595 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #449595 -
Flags: review? → review?(neil)
Reporter | ||
Comment 2•14 years ago
|
||
Comment on attachment 449595 [details] [diff] [review] Changed the return to use IsContentEditable. > for (var node = this.target; node; node = node.parentNode) > if (node instanceof Components.interfaces.nsIDOMNSHTMLElement) >+ return node.isContentEditable; [Nit: too much indentation. Please remove one space before checkin.]
Attachment #449595 -
Flags: review?(neil) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Removed a space.
Attachment #449595 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #449612 -
Flags: review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 4•14 years ago
|
||
Comment on attachment 449612 [details] [diff] [review] Changed the return to use IsContentEditable. [Checkin: comment 4] http://hg.mozilla.org/comm-central/rev/a8b8bdb983aa
Attachment #449612 -
Attachment description: Changed the return to use IsContentEditable. → Changed the return to use IsContentEditable. [Checkin: comment 4]
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a3
You need to log in
before you can comment on or make changes to this bug.
Description
•