[wp-trac] [WordPress Trac] #32577: Customizer QUnit tests not cleaning up

WordPress Trac noreply at wordpress.org
Mon Oct 3 02:52:09 UTC 2016


#32577: Customizer QUnit tests not cleaning up
--------------------------+-----------------------------
 Reporter:  iseulde       |       Owner:  dlh
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by westonruter):

 * keywords:  has-patch => needs-patch
 * owner:  westonruter => dlh


Comment:

 @dlh I tried [attachment:32577.2.patch] and with the removal of `left` I
 see the fixture UI showing up still (see screenshot above). Restoring the
 negative `left` causes it to go away. Idea: what if the `#customize-theme-
 controls` element had a fixed 1px square viewport with the overflow
 hidden? Then we wouldn't have to worry about the size of the elements in
 the DOM. So something like:

 {{{#!css
     position: absolute;
     top: -10px;
     left: -10px;
     width: 1px;
     height: 1px;
     overflow: hidden;
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32577#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list