#59982 closed enhancement (fixed)
Style engine: add CSS var parsing capability to fontSize and fontFamily
| Reported by: | ramonopoly | Owned by: | isabel_brison |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.5 |
| Component: | Editor | Version: | 6.5 |
| Severity: | normal | Keywords: | has-patch has-unit-tests gutenberg-merge add-to-field-guide |
| Cc: | Focuses: |
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.
3 years ago
#1
@isabel_brison commented on PR #5710:
3 years ago
#3
Committed in r57253.
This ticket was mentioned in Slack in #core by kebbet. View the logs.
3 years 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_wpStyleEngineTrac ticket: https://core.trac.wordpress.org/ticket/59982