[wp-trac] [WordPress Trac] #22693: Inserted images in some cases get the wrong size

WordPress Trac noreply at wordpress.org
Tue Dec 4 12:14:49 UTC 2012


#22693: Inserted images in some cases get the wrong size
------------------------------+---------------------
 Reporter:  jond3r            |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by cdog):

 Replying to [comment:11 dd32]:
 > Browsers only allow one `<option>` to be selected within a `<select>`
 (Unless the multiple attribute is set), Selecting one option will cause
 all others to be deselected.

 I'm inspecting the DOM with Firebug and it's not really what I see:
 attachment:22693.jpg.

 It does work in this particular case because the selected value is also
 stored in a variable and the dropdown is refreshed when selecting another
 image causing only the default value to be selected.

 But not handling it how it should may cause unexpected results.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22693#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list