Closed Bug 779084 Opened 12 years ago Closed 12 years ago

Move querySelector stuff out of nsGenericElement and into nsINode

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: ayg, Assigned: dzbarsky)

References

Details

(Whiteboard: [mentor=bz][lang=c++])

Attachments

(1 file)

(In reply to Boris Zbarsky (:bz) from bug 563659 comment #25) > Can you file a followup bug to move the querySelector stuff out of > nsGenericElement into nsINode.cpp?
Aryeh, David, does one of you want to do this?
Aryeh, if you don't want this, I'll do it eventually.
I think I'll pass on this.
Assignee: nobody → dzbarsky
Status: NEW → ASSIGNED
Whiteboard: [mentor=bz]
Whiteboard: [mentor=bz] → [mentor=bz][lang=c++]
Attached patch PatchSplinter Review
I left in the quickstub for queryselector because the signature doesn't match what quickstubs expects. I don't think it's worth changing the signature since we'll change it anyway for webidl.
Attachment #656684 - Flags: review?(bzbarsky)
Ah, I shouldn't have removed that nsIContent.h include. I'll put it back
Comment on attachment 656684 [details] [diff] [review] Patch Can you remove the CSSRuleProcessor and CSSParser includes from FragmentOrElement.cpp? r=me with that. Thanks!
Attachment #656684 - Flags: review?(bzbarsky) → review+
Comment on attachment 656684 [details] [diff] [review] Patch Review of attachment 656684 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/base/src/nsINode.cpp @@ +2133,5 @@ > + > + NS_ASSERTION(selectorList->mSelectors, > + "How can we not have any selectors?"); > + > + nsIDocument* doc = aRoot->OwnerDoc(); While you're here, please remove the trailing whitespace. @@ +2235,5 @@ > + return FindMatchingElements<false>(this, aSelector, *contentList); > +} > + > + > + Leave out the newlines at the end here, please.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: