[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:25:35 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:"54646" 54646]:
 {{{
 #!CommitTicketReference repository="" revision="54646"
 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.
 See #56467.
 }}}

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


More information about the wp-trac mailing list