[wp-trac] [WordPress Trac] #55585: WordPress 5.9 wp-container styles introduce Cumulative Layout Shift

WordPress Trac noreply at wordpress.org
Wed Apr 20 01:30:36 UTC 2022

#55585: WordPress 5.9 wp-container styles introduce Cumulative Layout Shift
 Reporter:  rinart73      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  css

Comment (by ramonopoly):

 Thanks for creating this ticket.

 Many of this issues are being looked at as part of the styles engine work.

 See https://github.com/WordPress/gutenberg/pull/38974 and
 https://github.com/WordPress/gutenberg/pull/39374 as examples of
 experimentation around this issue.

 In summary, consolidation and deduplication of the styles is a goal. So is
 loading them in the page as a consolidated style sheet. It's still in the
 early phases.

 I'm thinking it might be better to create a specific issue in Gutenberg
 for this, since it's something that would be fixed there initially.

 Cumulative Layout Shift is something we should also take into
 consideration, so thanks again for raising it.

 Here's the tracking issue over in the Gutenberg repo:

Ticket URL: <https://core.trac.wordpress.org/ticket/55585#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list