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 25484 - [Explainer]: Example querySelectors need to select IDs
Summary: [Explainer]: Example querySelectors need to select IDs
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14949
  Show dependency treegraph
 
Reported: 2014-04-27 13:18 UTC by Gabriel Farrell
Modified: 2015-07-06 08:15 UTC (History)
3 users (show)

See Also:


Attachments

Description Gabriel Farrell 2014-04-27 13:18:59 UTC
This section should instead select #hh, #sep, and #mm:

"this._root.querySelector('hh').textContent = fmt(now.getHours());
    this._root.querySelector('sep').style.visibility =
        now.getSeconds() % 2 ? 'visible' : 'hidden';
    this._root.querySelector('mm').textContent = fmt(now.getMinutes());"
Comment 1 Dominic Cooney 2014-04-27 23:38:12 UTC
Thanks for the bug report. I will fix this in the next Editor's Draft.
Comment 2 Hayato Ito 2015-07-06 08:15:32 UTC
Moved to https://github.com/w3c/webcomponents/issues/219