[wp-trac] [WordPress Trac] #22693: Inserted images in some cases get the wrong size
WordPress Trac
noreply at wordpress.org
Tue Dec 4 12:33:07 UTC 2012
#22693: Inserted images in some cases get the wrong size
--------------------------+-----------------------
Reporter: jond3r | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Changes (by dd32):
* keywords: has-patch commit => has-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
> I'm inspecting the DOM with Firebug and it's not really what I see
Right, I jumped the gun, I understand why browsers do it that way, but
it's the first time i'd ever run into this case (and I'm no JS god :) ).
[attachment:22693.4.diff 22693.4.diff] handles the case for me, and
`.find('[selected]').length` is no longer > 1, but it's not actually
extensively tested other than on the attributes and JS return values of
that `<select>` being right.
re-opening purely for koop/nacin to weigh in on it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22693#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list