Changeset 95794 in webkit


Ignore:
Timestamp:
Sep 23, 2011 5:06:15 AM (13 years ago)
Author:
loislo@chromium.org
Message:

Web Inspector: file open dialog appears when user clicks on the timeline bar in timeline panel.
https://bugs.webkit.org/show_bug.cgi?id=68312

Reviewed by Yury Semikhatsky.

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._createFileSelector):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95793 r95794  
     12011-09-23  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Web Inspector: file open dialog appears when user clicks on the timeline bar in timeline panel.
     4        https://bugs.webkit.org/show_bug.cgi?id=68312
     5
     6        Reviewed by Yury Semikhatsky.
     7
     8        * inspector/front-end/TimelinePanel.js:
     9        (WebInspector.TimelinePanel.prototype._createFileSelector):
     10
    1112011-09-23  Sheriff Bot  <webkit.review.bot@gmail.com>
    212
  • trunk/Source/WebCore/inspector/front-end/TimelinePanel.js

    r95793 r95794  
    256256        var fileSelectorElement = document.createElement("input");
    257257        fileSelectorElement.type = "file";
    258         fileSelectorElement.style.opacity = 0;
     258        fileSelectorElement.style.zIndex = -1;
     259        fileSelectorElement.style.position = "absolute";
    259260        fileSelectorElement.onchange = this._loadFromFile.bind(this);
    260261        this.element.appendChild(fileSelectorElement);
Note: See TracChangeset for help on using the changeset viewer.