[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Wed Oct 19 12:28:20 UTC 2022


#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"54647" 54647]:
 {{{
 #!CommitTicketReference repository="" revision="54647"
 Editor: Add font size constraints for fluid typography.

 This commit:
 * Adds default minimum font size limits so that min font size, where
 provided, does not become smaller than `14px`/`0.875rem`/`0.875em`.
 * For font sizes of `< 14px` that have no defined minimum sizes, uses the
 font size to set the floor of the `clamp()` value.

 This bugfix prevents converting existing small font sizes to clamp values
 that will reduce their font size even further in narrow widths. It
 therefore improves backward compatibility and accessibility.

 Original PR from Gutenberg repository:
 * [https://github.com/WordPress/gutenberg/pull/44993 #44993 Fluid
 typography: add font size constraints]

 Follow-up to [54260], [54360], [54497], [54500].

 Props ramonopoly, andrewserong, isabel_brison, Joen, bernhard-reiter.
 Reviewed by bernhard-reiter, SergeyBiryukov.
 Merges [54646] to the 6.1 branch.
 See #56467.
 }}}

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


More information about the wp-trac mailing list