<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[50836] trunk: Editor: Enqueue script and style assets only for blocks present on the page</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/50836">50836</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/50836","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>gziolo</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-05-11 09:41:48 +0000 (Tue, 11 May 2021)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Editor: Enqueue script and style assets only for blocks present on the page

Adds styles for individual core blocks to make it possible to render only styles for those blocks that are rendered on the page (frontend). This is optinal functionality for start that can be controlled with the new `separate_core_block_assets` filter.

In addition to that, styles can be inlined when `path` is passed when registering an individual styles. This functionality can be changed with the new `styles_inline_size_limit` filter. The maximum size of inlined styles in bytes defaults to 20 000.

Props aristath, aduth, westonruter, mcsf.
Fixes <a href="https://core.trac.wordpress.org/ticket/50328">#50328</a>, <a href="https://core.trac.wordpress.org/ticket/52620">#52620</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkgitignore">trunk/.gitignore</a></li>
<li><a href="#trunksrcwpincludesblocksphp">trunk/src/wp-includes/blocks.php</a></li>
<li><a href="#trunksrcwpincludesdefaultfiltersphp">trunk/src/wp-includes/default-filters.php</a></li>
<li><a href="#trunksrcwpincludesscriptloaderphp">trunk/src/wp-includes/script-loader.php</a></li>
<li><a href="#trunktestsphpunittestsblocksregisterphp">trunk/tests/phpunit/tests/blocks/register.php</a></li>
<li><a href="#trunktestsphpunittestsdependenciesstylesphp">trunk/tests/phpunit/tests/dependencies/styles.php</a></li>
<li><a href="#trunktestsqunitfixtureswpapigeneratedjs">trunk/tests/qunit/fixtures/wp-api-generated.js</a></li>
<li><a href="#trunktoolswebpackpackagesjs">trunk/tools/webpack/packages.js</a></li>
</ul>

<h3>Property Changed</h3>
<ul>
<li><a href="#trunksrcwpincludesblocks">trunk/src/wp-includes/blocks/</a></li>
<li><a href="#trunksrcwpincludesblocksarchives">trunk/src/wp-includes/blocks/archives/</a></li>
<li><a href="#trunksrcwpincludesblocksaudio">trunk/src/wp-includes/blocks/audio/</a></li>
<li><a href="#trunksrcwpincludesblocksblock">trunk/src/wp-includes/blocks/block/</a></li>
<li><a href="#trunksrcwpincludesblocksbutton">trunk/src/wp-includes/blocks/button/</a></li>
<li><a href="#trunksrcwpincludesblocksbuttons">trunk/src/wp-includes/blocks/buttons/</a></li>
<li><a href="#trunksrcwpincludesblockscalendar">trunk/src/wp-includes/blocks/calendar/</a></li>
<li><a href="#trunksrcwpincludesblockscategories">trunk/src/wp-includes/blocks/categories/</a></li>
<li><a href="#trunksrcwpincludesblockscode">trunk/src/wp-includes/blocks/code/</a></li>
<li><a href="#trunksrcwpincludesblockscolumn">trunk/src/wp-includes/blocks/column/</a></li>
<li><a href="#trunksrcwpincludesblockscolumns">trunk/src/wp-includes/blocks/columns/</a></li>
<li><a href="#trunksrcwpincludesblockscover">trunk/src/wp-includes/blocks/cover/</a></li>
<li><a href="#trunksrcwpincludesblocksembed">trunk/src/wp-includes/blocks/embed/</a></li>
<li><a href="#trunksrcwpincludesblocksfile">trunk/src/wp-includes/blocks/file/</a></li>
<li><a href="#trunksrcwpincludesblocksfreeform">trunk/src/wp-includes/blocks/freeform/</a></li>
<li><a href="#trunksrcwpincludesblocksgallery">trunk/src/wp-includes/blocks/gallery/</a></li>
<li><a href="#trunksrcwpincludesblocksgroup">trunk/src/wp-includes/blocks/group/</a></li>
<li><a href="#trunksrcwpincludesblocksheading">trunk/src/wp-includes/blocks/heading/</a></li>
<li><a href="#trunksrcwpincludesblockshtml">trunk/src/wp-includes/blocks/html/</a></li>
<li><a href="#trunksrcwpincludesblocksimage">trunk/src/wp-includes/blocks/image/</a></li>
<li><a href="#trunksrcwpincludesblockslatestcomments">trunk/src/wp-includes/blocks/latest-comments/</a></li>
<li><a href="#trunksrcwpincludesblockslatestposts">trunk/src/wp-includes/blocks/latest-posts/</a></li>
<li><a href="#trunksrcwpincludesblockslist">trunk/src/wp-includes/blocks/list/</a></li>
<li><a href="#trunksrcwpincludesblocksmediatext">trunk/src/wp-includes/blocks/media-text/</a></li>
<li><a href="#trunksrcwpincludesblocksmissing">trunk/src/wp-includes/blocks/missing/</a></li>
<li><a href="#trunksrcwpincludesblocksmore">trunk/src/wp-includes/blocks/more/</a></li>
<li><a href="#trunksrcwpincludesblocksnextpage">trunk/src/wp-includes/blocks/nextpage/</a></li>
<li><a href="#trunksrcwpincludesblocksparagraph">trunk/src/wp-includes/blocks/paragraph/</a></li>
<li><a href="#trunksrcwpincludesblockspreformatted">trunk/src/wp-includes/blocks/preformatted/</a></li>
<li><a href="#trunksrcwpincludesblockspullquote">trunk/src/wp-includes/blocks/pullquote/</a></li>
<li><a href="#trunksrcwpincludesblocksquote">trunk/src/wp-includes/blocks/quote/</a></li>
<li><a href="#trunksrcwpincludesblocksrss">trunk/src/wp-includes/blocks/rss/</a></li>
<li><a href="#trunksrcwpincludesblockssearch">trunk/src/wp-includes/blocks/search/</a></li>
<li><a href="#trunksrcwpincludesblocksseparator">trunk/src/wp-includes/blocks/separator/</a></li>
<li><a href="#trunksrcwpincludesblocksshortcode">trunk/src/wp-includes/blocks/shortcode/</a></li>
<li><a href="#trunksrcwpincludesblockssociallink">trunk/src/wp-includes/blocks/social-link/</a></li>
<li><a href="#trunksrcwpincludesblockssociallinks">trunk/src/wp-includes/blocks/social-links/</a></li>
<li><a href="#trunksrcwpincludesblocksspacer">trunk/src/wp-includes/blocks/spacer/</a></li>
<li><a href="#trunksrcwpincludesblockstable">trunk/src/wp-includes/blocks/table/</a></li>
<li><a href="#trunksrcwpincludesblockstagcloud">trunk/src/wp-includes/blocks/tag-cloud/</a></li>
<li><a href="#trunksrcwpincludesblockstextcolumns">trunk/src/wp-includes/blocks/text-columns/</a></li>
<li><a href="#trunksrcwpincludesblocksverse">trunk/src/wp-includes/blocks/verse/</a></li>
<li><a href="#trunksrcwpincludesblocksvideo">trunk/src/wp-includes/blocks/video/</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkgitignore"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.gitignore</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.gitignore  2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/.gitignore    2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,6 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /src/wp-includes/css/dist
</span><span class="cx" style="display: block; padding: 0 10px"> /src/wp-includes/css/*.min.css
</span><span class="cx" style="display: block; padding: 0 10px"> /src/wp-includes/css/*-rtl.css
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/src/wp-includes/blocks/**/*.css
</ins><span class="cx" style="display: block; padding: 0 10px"> /packagehash.txt
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> # Files and folders that get created in wp-content
</span><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks  2021-05-11 09:41:48 UTC (rev 50836)
</ins></span></pre></div>
<a id="trunksrcwpincludesblocks"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/archives
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/archives        2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/archives 2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksarchives"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/archives</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/audio
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/audio   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/audio    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksaudio"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/audio</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/block
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/block   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/block    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksblock"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/block</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/button
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/button  2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/button   2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksbutton"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/button</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/buttons
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/buttons 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/buttons  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksbuttons"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/buttons</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/calendar
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/calendar        2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/calendar 2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscalendar"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/calendar</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/categories
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/categories      2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/categories       2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscategories"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/categories</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/code
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/code    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/code     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscode"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/code</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/column
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/column  2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/column   2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscolumn"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/column</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/columns
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/columns 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/columns  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscolumns"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/columns</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/cover
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/cover   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/cover    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockscover"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/cover</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/embed
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/embed   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/embed    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksembed"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/embed</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/file
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/file    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/file     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksfile"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/file</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/freeform
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/freeform        2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/freeform 2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksfreeform"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/freeform</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/gallery
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/gallery 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/gallery  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksgallery"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/gallery</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/group
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/group   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/group    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksgroup"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/group</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/heading
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/heading 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/heading  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksheading"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/heading</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/html
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/html    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/html     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockshtml"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/html</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/image
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/image   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/image    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksimage"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/image</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/latest-comments
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/latest-comments 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/latest-comments  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockslatestcomments"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/latest-comments</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/latest-posts
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/latest-posts    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/latest-posts     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockslatestposts"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/latest-posts</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/list
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/list    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/list     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockslist"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/list</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/media-text
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/media-text      2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/media-text       2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksmediatext"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/media-text</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/missing
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/missing 2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/missing  2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksmissing"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/missing</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/more
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/more    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/more     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksmore"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/more</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/nextpage
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/nextpage        2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/nextpage 2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksnextpage"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/nextpage</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/paragraph
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/paragraph       2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/paragraph        2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksparagraph"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/paragraph</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/preformatted
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/preformatted    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/preformatted     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockspreformatted"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/preformatted</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/pullquote
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/pullquote       2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/pullquote        2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockspullquote"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/pullquote</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/quote
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/quote   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/quote    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksquote"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/quote</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/rss
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/rss     2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/rss      2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksrss"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/rss</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/search
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/search  2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/search   2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockssearch"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/search</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/separator
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/separator       2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/separator        2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksseparator"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/separator</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/shortcode
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/shortcode       2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/shortcode        2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksshortcode"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/shortcode</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/social-link
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/social-link     2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/social-link      2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockssociallink"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/social-link</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/social-links
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/social-links    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/social-links     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockssociallinks"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/social-links</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/spacer
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/spacer  2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/spacer   2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksspacer"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/spacer</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/table
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/table   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/table    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockstable"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/table</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/tag-cloud
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/tag-cloud       2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/tag-cloud        2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockstagcloud"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/tag-cloud</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/text-columns
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/text-columns    2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/text-columns     2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblockstextcolumns"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/text-columns</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/verse
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/verse   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/verse    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksverse"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/verse</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-includes/blocks/video
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-includes/blocks/video   2021-05-10 18:37:36 UTC (rev 50835)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-includes/blocks/video    2021-05-11 09:41:48 UTC (rev 50836)
</ins><a id="trunksrcwpincludesblocksvideo"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: trunk/src/wp-includes/blocks/video</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:ignore</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+*.css
</ins><a id="trunksrcwpincludesblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/blocks.php  2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/src/wp-includes/blocks.php    2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -157,25 +157,49 @@
</span><span class="cx" style="display: block; padding: 0 10px">        if ( empty( $metadata[ $field_name ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return false;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $is_core_block = isset( $metadata['file'] ) && 0 === strpos( $metadata['file'], ABSPATH . WPINC );
+       if ( $is_core_block && ! should_load_separate_core_block_assets() ) {
+               return false;
+       }
+
+       // Check whether styles should have a ".min" suffix or not.
+       $suffix = SCRIPT_DEBUG ? '' : '.min';
+
</ins><span class="cx" style="display: block; padding: 0 10px">         $style_handle = $metadata[ $field_name ];
</span><span class="cx" style="display: block; padding: 0 10px">        $style_path   = remove_block_asset_path_prefix( $metadata[ $field_name ] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        if ( $style_handle === $style_path ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+       if ( $style_handle === $style_path && ! $is_core_block ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                 return $style_handle;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $style_uri = plugins_url( $style_path, $metadata['file'] );
+       if ( $is_core_block ) {
+               $style_path = "style$suffix.css";
+               $style_uri  = includes_url( 'blocks/' . str_replace( 'core/', '', $metadata['name'] ) . "/style$suffix.css" );
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         $style_handle = generate_block_asset_handle( $metadata['name'], $field_name );
</span><span class="cx" style="display: block; padding: 0 10px">        $block_dir    = dirname( $metadata['file'] );
</span><span class="cx" style="display: block; padding: 0 10px">        $style_file   = realpath( "$block_dir/$style_path" );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $version      = file_exists( $style_file ) ? filemtime( $style_file ) : false;
</ins><span class="cx" style="display: block; padding: 0 10px">         $result       = wp_register_style(
</span><span class="cx" style="display: block; padding: 0 10px">                $style_handle,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                plugins_url( $style_path, $metadata['file'] ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $style_uri,
</ins><span class="cx" style="display: block; padding: 0 10px">                 array(),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                filemtime( $style_file )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $version
</ins><span class="cx" style="display: block; padding: 0 10px">         );
</span><span class="cx" style="display: block; padding: 0 10px">        if ( file_exists( str_replace( '.css', '-rtl.css', $style_file ) ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                wp_style_add_data( $style_handle, 'rtl', 'replace' );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        if ( file_exists( $style_file ) ) {
+               wp_style_add_data( $style_handle, 'path', $style_file );
+       }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $rtl_file = str_replace( "$suffix.css", "-rtl$suffix.css", $style_file );
+       if ( is_rtl() && file_exists( $rtl_file ) ) {
+               wp_style_add_data( $style_handle, 'path', $rtl_file );
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         return $result ? $style_handle : false;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -928,3 +952,26 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        return true === $block_support || is_array( $block_support );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Checks whether separate assets should be loaded for core blocks.
+ *
+ * @since 5.8
+ *
+ * @return bool
+ */
+function should_load_separate_core_block_assets() {
+       if ( is_admin() || is_feed() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) {
+               return false;
+       }
+       /**
+        * Determine if separate styles & scripts will be loaded for blocks on-render or not.
+        *
+        * @since 5.8.0
+        *
+        * @param bool $load_separate_styles Whether separate styles will be loaded or not.
+        *
+        * @return bool Whether separate styles will be loaded or not.
+        */
+       return apply_filters( 'separate_core_block_assets', false );
+}
</ins></span></pre></div>
<a id="trunksrcwpincludesdefaultfiltersphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/default-filters.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/default-filters.php 2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/src/wp-includes/default-filters.php   2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -551,6 +551,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_default_styles', 'wp_default_styles' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'wp_head', 'wp_maybe_inline_styles', 1 ); // Run for styles enqueued in <head>.
+add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded styles in the footer.
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Taxonomy.
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'init', 'create_initial_taxonomies', 0 ); // Highest priority.
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'change_locale', 'create_initial_taxonomies' );
</span></span></pre></div>
<a id="trunksrcwpincludesscriptloaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/script-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/script-loader.php   2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/src/wp-includes/script-loader.php     2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1502,7 +1502,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px">        $styles->add( 'wp-editor-font', $fonts_url ); // No longer used in core as of 5.7.
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $styles->add( 'wp-block-library-theme', "/wp-includes/css/dist/block-library/theme$suffix.css" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $block_library_theme_path = "/wp-includes/css/dist/block-library/theme$suffix.css";
+       $styles->add( 'wp-block-library-theme', $block_library_theme_path );
+       $styles->add_data( 'wp-block-library-theme', 'path', ABSPATH . $block_library_theme_path );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $styles->add(
</span><span class="cx" style="display: block; padding: 0 10px">                'wp-reset-editor-styles',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1571,7 +1573,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $handle = 'wp-' . $package;
</span><span class="cx" style="display: block; padding: 0 10px">                $path   = "/wp-includes/css/dist/$package/style$suffix.css";
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                if ( 'block-library' === $package && should_load_separate_core_block_assets() ) {
+                       $path = "/wp-includes/css/dist/$package/common$suffix.css";
+               }
</ins><span class="cx" style="display: block; padding: 0 10px">                 $styles->add( $handle, $path, $dependencies );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                $styles->add_data( $handle, 'path', ABSPATH . $path );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // RTL CSS.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2277,6 +2283,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_enqueue_registered_block_scripts_and_styles() {
</span><span class="cx" style="display: block; padding: 0 10px">        global $current_screen;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        if ( should_load_separate_core_block_assets() ) {
+               return;
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         $load_editor_scripts = is_admin() && wp_should_load_block_editor_scripts_and_styles();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $block_registry = WP_Block_Type_Registry::get_instance();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2495,3 +2505,80 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_print_inline_script_tag( $javascript, $attributes = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px">        echo wp_get_inline_script_tag( $javascript, $attributes );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Allow small styles to be inlined.
+ * This improves performance and sustainability, and is opt-in.
+ *
+ * Stylesheets can opt-in by adding `path` data using `wp_style_add_data`, and defining the file's absolute path.
+ * wp_style_add_data( $style_handle, 'path', $file_path );
+ *
+ * @since 5.8.0
+ *
+ * @return void
+ */
+function wp_maybe_inline_styles() {
+
+       $total_inline_limit = 20000;
+       /**
+        * The maximum size of inlined styles in bytes.
+        *
+        * @param int $total_inline_limit The file-size threshold, in bytes. Defaults to 20000.
+        * @return int                    The file-size threshold, in bytes.
+        */
+       $total_inline_limit = apply_filters( 'styles_inline_size_limit', $total_inline_limit );
+
+       global $wp_styles;
+       $styles = array();
+
+       // Build an array of styles that have a path defined.
+       foreach ( $wp_styles->queue as $handle ) {
+               if ( wp_styles()->get_data( $handle, 'path' ) && file_exists( $wp_styles->registered[ $handle ]->extra['path'] ) ) {
+                       $styles[] = array(
+                               'handle' => $handle,
+                               'path'   => $wp_styles->registered[ $handle ]->extra['path'],
+                               'size'   => filesize( $wp_styles->registered[ $handle ]->extra['path'] ),
+                       );
+               }
+       }
+
+       if ( ! empty( $styles ) ) {
+               // Reorder styles array based on size.
+               usort(
+                       $styles,
+                       function( $a, $b ) {
+                               return ( $a['size'] <= $b['size'] ) ? -1 : 1;
+                       }
+               );
+
+               /**
+                * The total inlined size.
+                *
+                * On each iteration of the loop, if a style gets added inline the value of this var increases
+                * to reflect the total size of inlined styles.
+                */
+               $total_inline_size = 0;
+
+               // Loop styles.
+               foreach ( $styles as $style ) {
+
+                       // Size check. Since styles are ordered by size, we can break the loop.
+                       if ( $total_inline_size + $style['size'] > $total_inline_limit ) {
+                               break;
+                       }
+
+                       // Get the styles if we don't already have them.
+                       $style['css'] = file_get_contents( $style['path'] );
+
+                       // Set `src` to `false` and add styles inline.
+                       $wp_styles->registered[ $style['handle'] ]->src = false;
+                       if ( empty( $wp_styles->registered[ $style['handle'] ]->extra['after'] ) ) {
+                               $wp_styles->registered[ $style['handle'] ]->extra['after'] = array();
+                       }
+                       array_unshift( $wp_styles->registered[ $style['handle'] ]->extra['after'], $style['css'] );
+
+                       // Add the styles size to the $total_inline_size var.
+                       $total_inline_size += (int) $style['size'];
+               }
+       }
+}
</ins></span></pre></div>
<a id="trunktestsphpunittestsblocksregisterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/blocks/register.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/blocks/register.php     2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/tests/phpunit/tests/blocks/register.php       2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -270,6 +270,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( 'unit-tests-test-block-style', $result );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( 'replace', wp_styles()->get_data( 'unit-tests-test-block-style', 'rtl' ) );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+               // @ticket 50328
+               $this->assertSame(
+                       wp_normalize_path( realpath( DIR_TESTDATA . '/blocks/notice/block.css' ) ),
+                       wp_normalize_path( wp_styles()->get_data( 'unit-tests-test-block-style', 'path' ) )
+               );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -366,6 +372,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( 'tests-notice-script', $result->script );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( 'tests-notice-editor-style', $result->editor_style );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( 'tests-notice-style', $result->style );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+               // @ticket 50328
+               $this->assertSame(
+                       wp_normalize_path( realpath( DIR_TESTDATA . '/blocks/notice/block.css' ) ),
+                       wp_normalize_path( wp_styles()->get_data( 'unit-tests-test-block-style', 'path' ) )
+               );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span></span></pre></div>
<a id="trunktestsphpunittestsdependenciesstylesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/dependencies/styles.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/dependencies/styles.php 2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/tests/phpunit/tests/dependencies/styles.php   2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -420,4 +420,44 @@
</span><span class="cx" style="display: block; padding: 0 10px">                wp_common_block_scripts_and_styles();
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( wp_style_is( 'wp-block-library-theme' ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+       /**
+        * Tests that the main "style.css" file gets enqueued when the site doesn't opt-in to separate_core_block_assets.
+        *
+        * @ticket 50263
+        */
+       function test_common_block_styles_for_viewing_without_split_styles() {
+               add_filter( 'separate_core_block_assets', '__return_false' );
+               wp_default_styles( $GLOBALS['wp_styles'] );
+
+               $this->assertSame(
+                       $GLOBALS['wp_styles']->registered['wp-block-library']->src,
+                       '/' . WPINC . '/css/dist/block-library/style.css'
+               );
+       }
+
+       /**
+        * Tests that the "common.css" file gets enqueued when the site opts-in to separate_core_block_assets.
+        *
+        * @ticket 50263
+        */
+       function test_common_block_styles_for_viewing_with_split_styles() {
+               add_filter( 'separate_core_block_assets', '__return_false' );
+               wp_default_styles( $GLOBALS['wp_styles'] );
+
+               $this->assertSame(
+                       $GLOBALS['wp_styles']->registered['wp-block-library']->src,
+                       '/' . WPINC . '/css/dist/block-library/style.css'
+               );
+       }
+
+       function test_block_styles_for_viewing_with_split_styles() {
+               add_filter( 'separate_core_block_assets', '__return_true' );
+               wp_default_styles( $GLOBALS['wp_styles'] );
+
+               $this->assertSame(
+                       $GLOBALS['wp_styles']->registered['wp-block-library']->src,
+                       '/' . WPINC . '/css/dist/block-library/common.css'
+               );
+       }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsqunitfixtureswpapigeneratedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/qunit/fixtures/wp-api-generated.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/qunit/fixtures/wp-api-generated.js    2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/tests/qunit/fixtures/wp-api-generated.js      2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3788,6 +3788,164 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 }
</span><span class="cx" style="display: block; padding: 0 10px">             ]
</span><span class="cx" style="display: block; padding: 0 10px">         },
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        "/wp/v2/blocks/(?P<parent>[\\d]+)/revisions": {
+            "namespace": "wp/v2",
+            "methods": [
+                "GET"
+            ],
+            "endpoints": [
+                {
+                    "methods": [
+                        "GET"
+                    ],
+                    "args": {
+                        "parent": {
+                            "description": "The ID for the parent of the object.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "context": {
+                            "description": "Scope under which the request is made; determines fields present in response.",
+                            "type": "string",
+                            "enum": [
+                                "view",
+                                "embed",
+                                "edit"
+                            ],
+                            "default": "view",
+                            "required": false
+                        },
+                        "page": {
+                            "description": "Current page of the collection.",
+                            "type": "integer",
+                            "default": 1,
+                            "minimum": 1,
+                            "required": false
+                        },
+                        "per_page": {
+                            "description": "Maximum number of items to be returned in result set.",
+                            "type": "integer",
+                            "minimum": 1,
+                            "maximum": 100,
+                            "required": false
+                        },
+                        "search": {
+                            "description": "Limit results to those matching a string.",
+                            "type": "string",
+                            "required": false
+                        },
+                        "exclude": {
+                            "description": "Ensure result set excludes specific IDs.",
+                            "type": "array",
+                            "items": {
+                                "type": "integer"
+                            },
+                            "default": [],
+                            "required": false
+                        },
+                        "include": {
+                            "description": "Limit result set to specific IDs.",
+                            "type": "array",
+                            "items": {
+                                "type": "integer"
+                            },
+                            "default": [],
+                            "required": false
+                        },
+                        "offset": {
+                            "description": "Offset the result set by a specific number of items.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "order": {
+                            "description": "Order sort attribute ascending or descending.",
+                            "type": "string",
+                            "default": "desc",
+                            "enum": [
+                                "asc",
+                                "desc"
+                            ],
+                            "required": false
+                        },
+                        "orderby": {
+                            "description": "Sort collection by object attribute.",
+                            "type": "string",
+                            "default": "date",
+                            "enum": [
+                                "date",
+                                "id",
+                                "include",
+                                "relevance",
+                                "slug",
+                                "include_slugs",
+                                "title"
+                            ],
+                            "required": false
+                        }
+                    }
+                }
+            ]
+        },
+        "/wp/v2/blocks/(?P<parent>[\\d]+)/revisions/(?P<id>[\\d]+)": {
+            "namespace": "wp/v2",
+            "methods": [
+                "GET",
+                "DELETE"
+            ],
+            "endpoints": [
+                {
+                    "methods": [
+                        "GET"
+                    ],
+                    "args": {
+                        "parent": {
+                            "description": "The ID for the parent of the object.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "id": {
+                            "description": "Unique identifier for the object.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "context": {
+                            "description": "Scope under which the request is made; determines fields present in response.",
+                            "type": "string",
+                            "enum": [
+                                "view",
+                                "embed",
+                                "edit"
+                            ],
+                            "default": "view",
+                            "required": false
+                        }
+                    }
+                },
+                {
+                    "methods": [
+                        "DELETE"
+                    ],
+                    "args": {
+                        "parent": {
+                            "description": "The ID for the parent of the object.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "id": {
+                            "description": "Unique identifier for the object.",
+                            "type": "integer",
+                            "required": false
+                        },
+                        "force": {
+                            "type": "boolean",
+                            "default": false,
+                            "description": "Required to be true, as revisions do not support trashing.",
+                            "required": false
+                        }
+                    }
+                }
+            ]
+        },
</ins><span class="cx" style="display: block; padding: 0 10px">         "/wp/v2/blocks/(?P<id>[\\d]+)/autosaves": {
</span><span class="cx" style="display: block; padding: 0 10px">             "namespace": "wp/v2",
</span><span class="cx" style="display: block; padding: 0 10px">             "methods": [
</span></span></pre></div>
<a id="trunktoolswebpackpackagesjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tools/webpack/packages.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tools/webpack/packages.js   2021-05-10 18:37:36 UTC (rev 50835)
+++ trunk/tools/webpack/packages.js     2021-05-11 09:41:48 UTC (rev 50836)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -214,6 +214,32 @@
</span><span class="cx" style="display: block; padding: 0 10px">                to: join( baseDir, `src/${ blockMetadataFiles[ filename ] }` ),
</span><span class="cx" style="display: block; padding: 0 10px">        } ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        const blockStylesheetCopies = blockFolders.map( ( blockName ) => ( {
+               from: join( baseDir, `node_modules/@wordpress/block-library/build-style/${ blockName }/*.css` ),
+               to: join( baseDir, `${ buildTarget }/blocks/${ blockName }/` ),
+               flatten: true,
+               transform: ( content ) => {
+                       if ( mode === 'production' ) {
+                               return postcss( [
+                                       require( 'cssnano' )( {
+                                               preset: 'default',
+                                       } ),
+                               ] )
+                                       .process( content, { from: 'src/app.css', to: 'dest/app.css' } )
+                                       .then( ( result ) => result.css );
+                       }
+
+                       return content;
+               },
+               transformPath: ( targetPath, sourcePath ) => {
+                       if ( mode === 'production' ) {
+                               return targetPath.replace( /\.css$/, '.min.css' );
+                       }
+
+                       return targetPath;
+               }
+       } ) );
+
</ins><span class="cx" style="display: block; padding: 0 10px">         const config = {
</span><span class="cx" style="display: block; padding: 0 10px">                mode,
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -302,6 +328,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                        ...cssCopies,
</span><span class="cx" style="display: block; padding: 0 10px">                                        ...phpCopies,
</span><span class="cx" style="display: block; padding: 0 10px">                                        ...blockMetadataCopies,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                        ...blockStylesheetCopies,
</ins><span class="cx" style="display: block; padding: 0 10px">                                 ],
</span><span class="cx" style="display: block; padding: 0 10px">                        ),
</span><span class="cx" style="display: block; padding: 0 10px">                ],
</span></span></pre>
</div>
</div>

</body>
</html>