[wp-trac] [WordPress Trac] #12134: Add image dimensions to smiley img element
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 5 13:04:22 UTC 2010
#12134: Add image dimensions to smiley img element
--------------------------+-------------------------------------------------
Reporter: niallkennedy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Formatting | Version: 3.0
Severity: normal | Keywords: reporter-feedback needs-patch
--------------------------+-------------------------------------------------
Changes (by nacin):
* keywords: reporter-feedback has-patch => reporter-feedback needs-patch
Comment:
Since the smiley URL passes through a filter, a theme can implement their
own, and those may not be 15 x 15.
By specifying image dimensions in HTML, you prevent the browser from
reflowing and repainting once the images are loaded.
For reference, here's a quick write-up on it from Page Speed:
http://code.google.com/speed/page-
speed/docs/rendering.html#SpecifyImageDimensions
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12134#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list