Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement ParentNode's querySelector & querySelectorAll on Document, DocumentFragment & Element interfaces #2254
Conversation
highfive
commented
Apr 28, 2014
hoppipolla-critic-bot
commented
Apr 28, 2014
|
Critic review: https://critic.hoppipolla.co.uk/r/1408 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
WPT has some relevant tests. Can we run them, with this PR? (Feel free to assign to me new issues for failures in these tests.) |
Added logic to codegen for interfaces that do not possess JS bindings by themselves - being the descendants responsible for the JS bindings - so their implementations can be found. This avoids a bunch of code duplication (eg. ParentNode's 'children' and 'querySelector' code on Document/DocumentFragment/Element).
This applies for Document, DocumentFragment & Element interfaces.
|
@SimonSapin my first run on WPT over |
|
This will need a rebase. |
…r=jdm This is a subtask for #2254 & #2576. Spec: http://dom.spec.whatwg.org/#dom-parentnode-queryselector
…r=jdm This is a subtask for #2254 & #2576. Spec: http://dom.spec.whatwg.org/#dom-parentnode-queryselector
brunoabinader commentedApr 28, 2014
Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselector
Closes #851.