#59982 closed enhancement (fixed)
Style engine: add CSS var parsing capability to fontSize and fontFamily
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Editor | Keywords: | has-patch has-unit-tests gutenberg-merge add-to-field-guide |
Focuses: | Cc: |
Description
Syncs changes from WordPress/gutenberg#56528 by adding CSS var parsing capability to fontSize and fontFamily.
Change History (6)
This ticket was mentioned in PR #5710 on WordPress/wordpress-develop by @ramonopoly.
16 months ago
#1
#2
@
15 months ago
- Owner set to isabel_brison
- Resolution set to fixed
- Status changed from new to closed
In 57253:
@isabel_brison commented on PR #5710:
15 months ago
#3
Committed in r57253.
This ticket was mentioned in Slack in #core by kebbet. View the logs.
15 months ago
Note: See
TracTickets for help on using
tickets.
### What
Syncs changes from https://github.com/WordPress/gutenberg/pull/56528 by adding CSS var parsing capability to fontSize and fontFamily.
### Testing
Ensure that there are no regressions in block supports styles. Here is some test code:
<details>
<summary>Example block code</summary>
Heading
Paragraph
</details>
<details>
<summary>Frontend output</summary>
Heading
Paragraph
</details>
Run the tests!
npm run test:php -- --filter Tests_wpStyleEngine
Trac ticket: https://core.trac.wordpress.org/ticket/59982