Bug 54738 - Web Inspector: [Audits] Image dimensions in inline style not checked
Summary: Web Inspector: [Audits] Image dimensions in inline style not checked
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 03:20 PST by Alexander Pavlov (apavlov)
Modified: 2011-02-21 06:42 PST (History)
12 users (show)

See Also:


Attachments
[PATCH] Suggested fix (3.64 KB, patch)
2011-02-18 03:31 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-02-18 03:20:06 PST
1. Create a page that contains an image with dimensions in the style attribute.
<img style="width: 16px; height: 16px" src="http://someurl/file.gif">
2. Audit the page in chrome

A warning appears that the image file.gif does not have its width and/or height specified.

Upstreaming Chromium issue http://code.google.com/p/chromium/issues/detail?id=58067
Comment 1 Alexander Pavlov (apavlov) 2011-02-18 03:31:22 PST
Created attachment 82939 [details]
[PATCH] Suggested fix
Comment 2 WebKit Commit Bot 2011-02-21 06:40:52 PST
Comment on attachment 82939 [details]
[PATCH] Suggested fix

Clearing flags on attachment: 82939

Committed r79218: <http://trac.webkit.org/changeset/79218>
Comment 3 WebKit Commit Bot 2011-02-21 06:40:57 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Ryosuke Niwa 2011-02-21 06:42:24 PST
Committed r79219: <http://trac.webkit.org/changeset/79219>