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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 07:36:30 PDT 2010


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





--- Comment #12 from Nikita Vasilev <me+webkit at elv1s.ru>  2010-04-28 07:36:30 PST ---
(In reply to comment #11)

> Yes, I think you're in the right spot. Right now it doesn't reach that code
> because it returns early. Right at the start of the function it breaks unless
> the key was up/down/pageup/pagedown:
> 
> >    editingKeyDown: function(event)
> >    {
> >        var arrowKeyPressed = (event.keyIdentifier === "Up" || event.keyIdentifier === "Down");
> >        var pageKeyPressed = (event.keyIdentifier === "PageUp" || event.keyIdentifier === "PageDown");
> >        if (!arrowKeyPressed && !pageKeyPressed)
> >            return;


Actually, it returns even earlier:

    WebInspector.documentKeyDown = function(event)
    {

        if (WebInspector.isEditingAnyField())
          return;

Seems like WebInspector.StylePropertyTreeElement.prototype.editingKeyDown never
fires at all, which at least strange.

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