[Webkit-unassigned] [Bug 17374] Inspector should support tab completion while editing CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 14 11:22:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=17374





--- Comment #28 from Nikita Vasilev <me+webkit at elv1s.ru>  2010-05-14 11:22:41 PST ---
(In reply to comment #27)
> WebCore/inspector/front-end/CSS.js:22
>  +      return this.filter(function(property) {
> What is filter?

filter is an Array method. 
https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Objects/Array/filter


> WebCore/inspector/front-end/StylesSidebarPane.js:1409
>  +          } else if (/[A-Z-]/.test(event.character)) {
> Shouldn't this be /[a-zA-Z-]/ or /[a-z-]/i?

keydown event always returns uppercase characters. 
http://elv1s.ru/files/js/key-code-detector.html

-- 
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