[wp-trac] [WordPress Trac] #58811: Gutenberg Bug Nested WP Element Styles Broken

WordPress Trac noreply at wordpress.org
Fri Jul 14 15:57:08 UTC 2023


#58811: Gutenberg Bug Nested WP Element Styles Broken
--------------------------+-----------------------------
 Reporter:  timdix        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  major         |   Keywords:
  Focuses:  css           |
--------------------------+-----------------------------
 I'm noticing some very weird behavior in the latest version of Gutenberg.
 It appears that the logic for inline styles is broken. Here's a video
 showing, 6.2.2, and an unmodified twenty twenty three theme

 https://www.youtube.com/watch?v=YRpz5xJfHZw

 It seems to me that WordPress is unable to output the styles in the
 correct order, causing the wrong styles to override. WordPress is
 combining multiple styles when the color is the same, which causes
 specific styles on descendant elements to be hoisted to a higher level.

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


More information about the wp-trac mailing list