[wp-trac] [WordPress Trac] #45068: Specific CSS attribute slows down customizer panels on Chrome and Opera

WordPress Trac noreply at wordpress.org
Tue Oct 9 14:39:05 UTC 2018


#45068: Specific CSS attribute slows down customizer panels on Chrome and Opera
--------------------------+-----------------------------
 Reporter:  Themezly      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.9.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 CSS class declared like this

     [class*='contains'] [class*='sub_contains']{...}

 kills the panel switch and you start thinking that is the amount of
 options

 Here is video showing the issue
 https://monosnap.com/file/hrdFWrFqizkx1Cxtra1TIzHdckxuSo

 I was able to isolate it to this specific declaration

      [class*='contains'] [class*='sub_contains']{...}

 if you use this only

     [class*='contains']{...}
     [class*='contains'] .something {...}

 or even a no space

      [class*='contains'][class*='sub_contains']{...}

 everything works fine.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45068>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list