This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16935 - Update WebIDL syntax in Level 1
Summary: Update WebIDL syntax in Level 1
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Selectors API (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Lachlan Hunt
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 17:03 UTC by Philippe Le Hegaret
Modified: 2015-10-06 11:56 UTC (History)
3 users (show)

See Also:


Attachments

Description Philippe Le Hegaret 2012-05-04 17:03:20 UTC
module dom {
  [Supplemental, NoInterfaceObject]
  interface NodeSelector {
    Element   querySelector(in DOMString selectors);
    NodeList  querySelectorAll(in DOMString selectors);
  };
  Document implements NodeSelector;
  DocumentFragment implements NodeSelector;
  Element implements NodeSelector;
};

should probably read

[NoInterfaceObject]
interface NodeSelector {
    Element   querySelector(in DOMString selectors);
    NodeList  querySelectorAll(in DOMString selectors);
};
Document implements NodeSelector;
DocumentFragment implements NodeSelector;
Element implements NodeSelector;
Comment 1 Philippe Le Hegaret 2012-05-04 17:05:19 UTC
actually, make it

[NoInterfaceObject]
interface NodeSelector {
    Element   querySelector(DOMString selectors);
    NodeList  querySelectorAll(DOMString selectors);
};
Document implements NodeSelector;
DocumentFragment implements NodeSelector;
Element implements NodeSelector;
Comment 2 Arthur Barstow 2015-10-06 11:56:27 UTC
The Selectors API REC does not include a definition of NodeSelector so considering this bug as no longer valid <http://www.w3.org/TR/2013/REC-selectors-api-20130221/>.