[wp-trac] [WordPress Trac] #59165: Font Face: Server-side @font-face styles generator and printer
WordPress Trac
noreply at wordpress.org
Tue Aug 22 21:24:35 UTC 2023
#59165: Font Face: Server-side @font-face styles generator and printer
-------------------------------------------------+-------------------------
Reporter: hellofromTonya | Owner:
| hellofromTonya
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: gutenberg-merge needs-dev-note has- | Focuses:
patch has-unit-tests has-testing-info |
-------------------------------------------------+-------------------------
Comment (by hellofromTonya):
How does the CSS compare to the stopgap code being deprecated by this
ticket?
The only difference is the `<style>` element ID.
* Stopgap code enqueues to the `wp-block-library`:
{{{
<style id="wp-block-library-inline-css">
}}}
* Font Face generates its own element:
{{{
<style id="wp-fonts-local">
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59165#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list