Closed Bug 756748 Opened 8 years ago Closed 8 years ago

Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType

Categories

(Core :: DOM: Editor, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
No description provided.
Attachment #625379 - Flags: review?(ehsan)
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);
>-  }
Depends on: 756758
Attachment #625379 - Flags: review?(ehsan) → review+
https://hg.mozilla.org/mozilla-central/rev/2ad0677ecd3b
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.