[wp-trac] [WordPress Trac] #26648: Div is not cleared after floated element in /wp-admin/themes.php

WordPress Trac noreply at wordpress.org
Tue Dec 17 13:34:38 UTC 2013


#26648: Div is not cleared after floated element in /wp-admin/themes.php
--------------------------------+------------------------------
 Reporter:  ankit.gade@…        |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Appearance          |     Version:  3.8
 Severity:  normal              |  Resolution:
 Keywords:  ui-focus has-patch  |
--------------------------------+------------------------------

Comment (by ankit.gade@…):

 Replying to [comment:5 SergeyBiryukov]:
 > Version number indicates the earliest affected version.
 >
 > > Because of this it will not take any margin or padding properly, if
 needs to apply in future.
 >
 > As long as everything is currently displayed as expected, I don't see
 this as an issue. If we decide to add a margin or padding in the future,
 we can add the `clear` class at the same time.

 That is fine but it is the css concept that whenever there is an floated
 element, it should clear immediately just before non-floated element;
 otherwise its parent container would show height and width as 0px which is
 happening currently in themes.php.

 As it is WordPress, we all expect it to follow all the standards. :)

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


More information about the wp-trac mailing list