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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: ayg, Assigned: dzbarsky)
References
Details
(Whiteboard: [mentor=bz][lang=c++])
Attachments
(1 file)
22.64 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(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?
Comment 1•12 years ago
|
||
Aryeh, David, does one of you want to do this?
Assignee | ||
Comment 2•12 years ago
|
||
Aryeh, if you don't want this, I'll do it eventually.
Reporter | ||
Comment 3•12 years ago
|
||
I think I'll pass on this.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dzbarsky
Status: NEW → ASSIGNED
Updated•12 years ago
|
Whiteboard: [mentor=bz]
Updated•12 years ago
|
Whiteboard: [mentor=bz] → [mentor=bz][lang=c++]
Assignee | ||
Comment 4•12 years ago
|
||
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)
Assignee | ||
Comment 5•12 years ago
|
||
Ah, I shouldn't have removed that nsIContent.h include. I'll put it back
Comment 6•12 years ago
|
||
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 7•12 years ago
|
||
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.
Assignee | ||
Comment 8•12 years ago
|
||
Fixed the nits. https://hg.mozilla.org/integration/mozilla-inbound/rev/58446a7c7540
Comment 9•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/58446a7c7540
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•