Bug 40817

Summary: Web Inspector: REGRESSION (Safari 5.0-r61382): Image heights are displayed as 0
Product: WebKit Reporter: mitz
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy, yurys
Priority: P1 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed change. timothy: review+

mitz
Reported 2010-06-18 01:34:36 PDT
In the resources pane of the inspector, when inspecting an image resource, the height displayed below the image is always 0.
Attachments
[PATCH] Proposed change. (3.89 KB, patch)
2010-11-02 09:38 PDT, Pavel Feldman
timothy: review+
Pavel Feldman
Comment 1 2010-11-02 09:38:44 PDT
Created attachment 72679 [details] [PATCH] Proposed change.
Timothy Hatcher
Comment 2 2010-11-02 11:02:11 PDT
Comment on attachment 72679 [details] [PATCH] Proposed change. View in context: https://bugs.webkit.org/attachment.cgi?id=72679&action=review > WebCore/inspector/front-end/ImageView.js:92 > + imagePreviewElement.onload = onImageLoad.bind(this); Use addEventListener. .onLoad is ugh...
Pavel Feldman
Comment 3 2010-11-02 11:08:43 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/front-end/ImageView.js Committed r71133
Note You need to log in before you can comment on or make changes to this bug.