Closed
Bug 756748
Opened 13 years ago
Closed 13 years ago
Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
Attachments
(1 file)
|
15.58 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #625379 -
Flags: review?(ehsan)
| Assignee | ||
Comment 1•13 years ago
|
||
Comment on attachment 625379 [details] [diff] [review]
Patch v1
You might like this:
>- // we should get rid of this method if we can
>- static inline bool NodeIsTypeString(nsIDOMNode *aNode, const nsAString &aTag)
>- {
>- nsIAtom *nodeAtom = GetTag(aNode);
>- return nodeAtom && nodeAtom->Equals(aTag);
>- }
Updated•13 years ago
|
Attachment #625379 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•