WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#23956 closed defect (bug) (invalid)

jQuery UI Datepicker adds empty but visible div at bottom of page

Reported by: julianm Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5.1
Component: Customize Keywords: reporter-feedback
Focuses: Cc:

Description

This bug seems to be related to the this jQuery UI bug, which has been fixed, but the following WordPress stylesheet seems to be making the bug re-appear:

wp-includes/css/jquery-ui-dialog.min.css

As far as I can tell, removing the following rule seems to fix it:

.ui-helper-clearfix:after {
    content:".";
}

Change History (3)

#1 @julianm
8 years ago

  • Cc julianmatz@… added

#2 @SergeyBiryukov
8 years ago

  • Keywords reporter-feedback added; 2nd-opinion needs-patch removed

jQuery UI styles were updated in [23515] (for #23370).

Specifically,

.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }

was replaced with:

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-clearfix {
	min-height: 0; /* support: IE7 */
}

Could you see if that fixed the issue?

#3 @nacin
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.