[Webkit-unassigned] [Bug 92648] New: Web Inspector: Alias $ to querySelector/querySelectorAll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 30 07:51:46 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=92648
Summary: Web Inspector: Alias $ to
querySelector/querySelectorAll
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: addyo at chromium.org
We currently alias $ to document.getElementById(), however this limits the capabilities of the selector to only the ID. With querySelector available and capable of doing a lot more, I think we should switch to it.
Paul Irish and I have spoken to the Firebug guys about this and their implementation is effectively $ == getElementById and $$ == qSA too. The good news is they're up for switching to $ = qS and $$ = qSA if we are, at the same time.
If we're up for this, I'd like to land the patch (it would be my first) :)
PS: opting for qS over qSA to avoid people having to learn to use $("#id")[0] etc.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list