Skip to content

[WP 7.2] wp-build: Derive CSS module class names from each stylesheet's CSS - #86062

Merged
mirka merged 2 commits into
wp/7.2from
backport/wp72-css-module-class-names
Oct 30, 2026
Merged

mirka merged 2 commits into
wp/7.2from
backport/wp72-css-module-class-names

Conversation

@mirka

@mirka mirka commented Oct 30, 2026

Copy link
Copy Markdown
Member

What?

Backports #85900 to wp/7.2, as requested in the failed automatic backport.

Why?

CSS module class names currently depend only on the file path and local class name. Two bundled copies of a package with different CSS can therefore style each other's elements. WordPress 7.2 needs the fix so its bundled components are isolated from older copies loaded by plugins.

How?

The class name generator hashes the relative file path, processed CSS and local class name, including the defining stylesheet for classes reached through composes. The token-fallback regression test uses WP 7.2's @wordpress/theme plugin entry point.

Testing Instructions

  1. In an application consuming the built @wordpress/ui package, render Tabs, Dialog and Menu. Compare the focused tab, open dialog and open menu with the wp/7.2 baseline. Their appearance should match. Storybook compiles CSS modules from source with Vite, so it does not exercise this build pipeline.
  2. Build identical sources twice and compare their exported CSS module class names. The names should match.
  3. Change a declaration in packages/ui/src/utils/css/overlay-chrome.module.css and rebuild. In packages/ui/build-module/dialog/header.mjs, classes composed from that file should have new names, while classes defined in dialog/style.module.css should retain theirs.
  4. Load a copy of the package built from wp/7.2 and a copy built from this branch on the same page. The copies should have distinct CSS module class names, and each copy's styles should apply only to its own elements.

Screenshots or screencast

Compiled components before and after the backport. The focused tab, dialog header and footer, and highlighted menu item retain their appearance.

State Before (wp/7.2) After
Focused tab Tabs with Content focused Tabs with Content focused
Open dialog Page settings dialog with Done focused Page settings dialog with Done focused
Open menu Actions menu with Edit page highlighted Actions menu with Edit page highlighted

…85900)

* wp-build: Derive CSS module class names from each stylesheet's CSS

`generateScopedName: '[contenthash]__[local]'` was hashed by `generic-names`
from the file path and local name only, so class names stayed the same across
package versions while the CSS behind them changed. Two bundled copies of a
package then applied their styles to each other's elements.

Hash the relative file path, the CSS of the file that defines each class, and
the local name instead. The CSS comes from `postcss-modules-scope`, which also
covers files reached through `composes`, and is run through the plugins that
precede `postcss-modules` first so that a changed token fallback also renames
the affected classes.

Fixes #85896.

* Add changelog link

* Address review feedback

Tighten the class name format test, test that a token fallback change alone
renames classes, and shorten the changelog entry.

* Add changelog entries to packages that ship CSS modules

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>
Co-authored-by: Nikschavan <nikschavan@git.wordpress.org>
(cherry picked from commit d473413)
@mirka mirka added the [Type] Bug An existing feature does not function as intended label Oct 30, 2026
@mirka mirka self-assigned this Oct 30, 2026
@github-actions github-actions Bot added [Package] Components /packages/components [Package] Theme /packages/theme [Package] UI /packages/ui [Package] Boot /packages/boot [Package] wp-build /packages/wp-build [Package] Admin UI /packages/admin-ui [Package] Grid /packages/grid [Package] Widget Dashboard /packages/widget-dashboard labels Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground

🎉 Props

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>
Co-authored-by: nikschavan <nikschavan@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: +253 B (0%)

Total Size: 9.05 MB

📦 View Changed
Filename Size Change
build/modules/boot/index.min.js 57.8 kB -11 B (-0.02%)
build/modules/core-fields/attachment.min.js 45.4 kB +2 B (0%)
build/modules/core-fields/page.min.js 6.33 kB +14 B (+0.22%)
build/modules/core-fields/post_type_supports.min.js 81.1 kB -6 B (-0.01%)
build/modules/core-fields/wp_block.min.js 40.3 kB +11 B (+0.03%)
build/modules/core-fields/wp_template_part.min.js 40.2 kB +2 B (0%)
build/modules/core-fields/wp_template.min.js 7.62 kB +10 B (+0.13%)
build/modules/workflow/index.min.js 88.4 kB +11 B (+0.01%)
build/scripts/block-directory/index.min.js 55.4 kB -2 B (0%)
build/scripts/block-editor/index.min.js 604 kB +38 B (+0.01%)
build/scripts/block-library/index.min.js 442 kB +54 B (+0.01%)
build/scripts/components/index.min.js 371 kB -11 B (0%)
build/scripts/customize-widgets/index.min.js 60.4 kB +20 B (+0.03%)
build/scripts/edit-post/index.min.js 52.7 kB -3 B (-0.01%)
build/scripts/edit-site/index.min.js 421 kB +98 B (+0.02%)
build/scripts/edit-widgets/index.min.js 67.3 kB +3 B (0%)
build/scripts/editor/index.min.js 616 kB -68 B (-0.01%)
build/scripts/format-library/index.min.js 89.6 kB +28 B (+0.03%)
build/scripts/media-utils/index.min.js 262 kB +51 B (+0.02%)
build/scripts/notices/index.min.js 52.7 kB +7 B (+0.01%)
build/scripts/patterns/index.min.js 14.3 kB +8 B (+0.06%)
build/scripts/theme/index.min.js 27 kB -1 B (0%)
build/scripts/widgets/index.min.js 70.3 kB -2 B (0%)

736bea0 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 5a0c8de wp/7.2 % Change
timeToFirstByte 45.55 ms +2.09% -4.39% 43.8 ms +9.13% -3.77% 4%
largestContentfulPaint 76 ms +5.26% -5.26% 72 ms +5.56% -2.78% 5.56%
lcpMinusTtfb 29 ms +17.41% -8.28% 28.55 ms +6.48% -5.6% 1.58%
wpBeforeTemplate 23.24 ms +8.3% -3.18% 22.44 ms +17.42% -1.52% 3.57%
wpTemplate 18.27 ms +4.93% -7.99% 17.27 ms +3.82% -2.32% 5.79%
wpTotal 42.03 ms +2.57% -4.19% 40.37 ms +9.78% -3.72% 4.11%
wpMemoryUsage 7.69 MB +0% -0% 7.66 MB +0% -0% 0.42%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 5a0c8de wp/7.2 % Change
timeToFirstByte 35.55 ms +5.34% -3.09% 35.15 ms +5.26% -2.56% 1.14%
largestContentfulPaint 80 ms +5% -5% 80 ms +5% -5% 0%
lcpMinusTtfb 43.45 ms +5.41% -4.03% 43.15 ms +3.94% -3.01% 0.7%
wpBeforeTemplate 19.12 ms +11.09% -1.05% 19.11 ms +5.55% -1.67% 0.05%
wpTemplate 13.09 ms +4.43% -2.29% 13.2 ms +3.03% -3.94% -0.83%
wpTotal 32.66 ms +6% -2.76% 32.34 ms +5.69% -2.23% 0.99%
wpMemoryUsage 6.38 MB +0% -0% 6.35 MB +0% -0% 0.52%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 5a0c8de wp/7.2 % Change
mediaProcessingJpeg 324.7 ms +2.64% -0.64% 325.77 ms +2.66% -1.16% -0.33%
mediaProcessingAvif 4847.82 ms +0.98% -0.18% 4959.99 ms +0.41% -1.57% -2.26%
mediaProcessingJpegToAvif 3403.13 ms +0.22% -0.53% 3422.03 ms +2.64% -0.32% -0.55%

media-upload

Metric 5a0c8de wp/7.2 % Change
jpegUploadProcessing 1445.01 ms +1.47% -1.92% 1477.34 ms +0.85% -3.7% -2.19%
pngUploadProcessing 212.85 ms +9.83% -2.15% 222.64 ms +13.69% -3.74% -4.4%
largeJpegUploadProcessing 1424.69 ms +1.06% -0.83% 1432.76 ms +2.56% -0.73% -0.56%
multipleImageUploadProcessing 1526.01 ms +1.51% -0.88% 1545.36 ms +31.22% -1.9% -1.25%

post-editor

Metric 5a0c8de wp/7.2 % Change
serverResponse 548.25 ms +6.31% -7.06% 545.74 ms +7.07% -6.53% 0.46%
firstPaint 514.66 ms +2.48% -45.18% 396.83 ms +41.39% -29.71% 29.69%
domContentLoaded 1253.85 ms +1.07% -2.93% 1278.4 ms +1.52% -0.84% -1.92%
loaded 1255.12 ms +1.07% -2.92% 1279.91 ms +1.51% -0.84% -1.94%
firstContentfulPaint 528.51 ms +1.21% -1.55% 537.04 ms +5.49% -5.93% -1.59%
firstBlock 3874.84 ms +2.63% -1.98% 3976.97 ms +2.19% -3.15% -2.57%
type 20.8 ms +7.45% -8.41% 18.97 ms +6.01% -2.37% 9.65%
typeWithoutInspector 20.73 ms +3.96% -2.65% 19.45 ms +3.65% -4.88% 6.58%
typeWithTopToolbar 24.52 ms +8.61% -6.77% 25.81 ms +4.26% -10.69% -5%
typeContainer 9.9 ms +17.88% -9.9% 9.94 ms +7.04% -5.63% -0.4%
focus 131.17 ms +11.09% -4.04% 124.66 ms +10.58% -1.36% 5.22%
firstFocus 260.87 ms +0% -0% 279.55 ms +0% -0% -6.68%
selectAll 589.33 ms +3.33% -1% 619.49 ms +3.45% -6.5% -4.87%
listViewOpen 79.86 ms +8.65% -5.15% 85.2 ms +6.76% -5.56% -6.27%
inserterOpen 42.83 ms +5.6% -4.39% 46.71 ms +5.57% -15.09% -8.31%
inserterHover 13.24 ms +6.27% -8.16% 13.11 ms +4.27% -6.1% 0.99%
inserterSearch 8.82 ms +3.63% -6.35% 9.04 ms +6.08% -9.07% -2.43%
loadPatterns 695.32 ms +15.45% -3.33% 682.73 ms +4.39% -5.21% 1.84%
wpTotal 537.06 ms +6.57% -7.09% 535.12 ms +7.17% -6.65% 0.36%
wpMemoryUsage 14.74 MB +0% -0% 14.71 MB +0% -0% 0.23%
wpDbQueries 55 +0% -1.82% 55 +0% -1.82% 0%

site-editor

Metric 5a0c8de wp/7.2 % Change
serverResponse 528.21 ms +3.64% -5.05% 524.75 ms +0.91% -3.29% 0.66%
firstPaint 278.47 ms +50.93% -7.38% 249.52 ms +6.22% -9.42% 11.6%
domContentLoaded 1276.11 ms +3.52% -0.75% 1287.05 ms +0.93% -1.53% -0.85%
loaded 1277.13 ms +3.52% -0.76% 1288.05 ms +0.93% -1.51% -0.85%
firstContentfulPaint 525.54 ms +3.75% -6.09% 504.5 ms +3.77% -3.72% 4.17%
firstBlock 4941.12 ms +1.1% -0.51% 4957.43 ms +1.18% -0.15% -0.33%
type 17.97 ms +9.74% -2.73% 18.55 ms +2.1% -2.75% -3.13%
navigate 118.05 ms +15.41% -2.47% 124.53 ms +19.53% -2.92% -5.2%
loadPatterns 1282.67 ms +6.14% -0.33% 1239.77 ms +7.3% -3.68% 3.46%
loadPages 1018.54 ms +2.95% -0.55% 1062.65 ms +3.57% -0.93% -4.15%
wpTotal 518.2 ms +3.76% -5.17% 515.14 ms +0.87% -3.48% 0.59%
wpMemoryUsage 12.76 MB +0% -0% 12.73 MB +0% -0% 0.27%
wpDbQueries 44 +0% -0% 44 +2.27% -0% 0%

736bea0 Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

Backspace in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  5
+ Received  + 11

@@ -1,25 +1,31 @@
  Array [
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "1‸a",
          },
-         "innerBlocks": Array [
+         "innerBlocks": Array [],
+         "name": "core/list-item",
+       },
        Object {
+         "attributes": Object {
+           "content": "2",
+         },
          "innerBlocks": Array [
            Object {
              "attributes": Object {
-                   "content": "a‸2",
+               "ordered": false,
+               "values": "",
              },
-                 "name": "core/list-item",
-               },
+             "innerBlocks": Array [
                Object {
                  "attributes": Object {
                    "content": "b",
                  },
+                 "innerBlocks": Array [],
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
            },

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2041:42
Custom Completer: should allow newlines after multiple option completions in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 4
+ Received  + 4

  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p></p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:466:6
Custom Completer: should not insert disabled options in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>Sorry, we are all out of ~g grapes.</p>
+ <p>Sorry, we are all out of 🍎 grapes.</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:391:7
Regression: updating a specific option will only change its value and will not corrupt others in /test/e2e/specs/editor/various/core-settings.spec.js, passed after 1 failed attempt.
Error: expect(received).toStrictEqual(expected) // deep equality

- Expected  - 1
+ Received  + 1

  Array [
    "rewrite_rules",
-   "SERIALIZED DATA",
+   "",
  ]
    at forEach (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:46:26)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:43:35
Should navigate inner blocks with arrow keys in /test/e2e/specs/editor/various/writing-flow.spec.js, passed after 1 failed attempt.
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
  - waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option', { name: 'Paragraph' })

    at WritingFlowUtils.addDemoContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1594:5)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:30:3
Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 6,
+   "offset": 6,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
can be converted to a quote in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  <!-- wp:quote -->
  <blockquote class="wp-block-quote"><!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one</li>
+ <li>ne</li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->
  <li>two</li>
  <!-- /wp:list-item --></ul>

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:436:52
can be converted to paragraphs in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>one</p>
+ <p>ne</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>two</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:391:52
can be converted when nested to paragraphs in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>one</p>
+ <p>ne</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>two</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:417:52
should be immediately saved on indentation in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,8 +1,8 @@
  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one<!-- wp:list -->
+ <li>ne<!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
  <li></li>
  <!-- /wp:list-item --></ul>
  <!-- /wp:list --></li>
  <!-- /wp:list-item --></ul>

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:694:52
should change the indented list type in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Indent"]')

    at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:17:15)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:727:3
should cut and paste individual blocks with collapsed selection in /test/e2e/specs/editor/various/copy-cut-paste.spec.js, passed after 1 failed attempt.
Error: expect(string).toMatchSnapshot(expected) failed

  @@ -1,3 +1,3 @@
   <!-- wp:paragraph -->
  -<p>2Cut - collapsed selection</p>
  +<p>2</p>
   <!-- /wp:paragraph -->


    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49
should cut and paste in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toEqual(expected) // deep equality

- Expected  -  1
+ Received  + 18

- Array []
+ Array [
+   Object {
+     "attributes": Object {
+       "content": "1",
+       "dropCap": false,
+     },
+     "innerBlocks": Array [],
+     "name": "core/paragraph",
+   },
+   Object {
+     "attributes": Object {
+       "content": "",
+       "dropCap": false,
+     },
+     "innerBlocks": Array [],
+     "name": "core/paragraph",
+   },
+ ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:585:41
should format text across blocks in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  Array [
    Object {
      "attributes": Object {
-       "content": "ab",
+       "content": "b",
      },
      "name": "core/paragraph",
    },
    Object {
      "attributes": Object {

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:2219:41
should gradually multi-select in /test/e2e/specs/editor/various/multi-block-selection.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Array [
    Object {
-     "name": "core/column",
+     "name": "core/paragraph",
    },
  ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1194:5
should indent and outdent a list item when its content is fully selected in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 7
+ Received  + 7

  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>a<!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
- <li>b</li>
+ <li></li>
+ <!-- /wp:list-item --></ul>
- <!-- /wp:list-item --></ul>
+ <!-- /wp:list -->
+
- <!-- /wp:list --></li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p>b</p>
- <!-- /wp:list -->
+ <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:819:52
should insert a line break on shift+enter in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>a<br></li>
+ <li><br></li>
  <!-- /wp:list-item --></ul>
  <!-- /wp:list -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1210:52
should merge a following sibling list into the outermost list with Delete from a nested item (#77245) in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

@@ -8,11 +8,11 @@
          "innerBlocks": Array [
            Object {
              "innerBlocks": Array [
                Object {
                  "attributes": Object {
-                   "content": "b‸",
+                   "content": "b",
                  },
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
@@ -25,11 +25,11 @@
    },
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "‸1",
          },
          "innerBlocks": Array [
            Object {
              "innerBlocks": Array [
                Object {

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2854:41
should only mutate text data on input in /test/e2e/specs/editor/various/rich-text.spec.js, passed after 1 failed attempt.

Truncated. See the full report.

736bea0 Run

@mirka
mirka marked this pull request as ready for review October 30, 2026 16:13
@mirka
mirka requested review from a team and retrofox as code owners October 30, 2026 16:13
@mirka
mirka merged commit f0e4322 into wp/7.2 Oct 30, 2026
82 checks passed
@mirka
mirka deleted the backport/wp72-css-module-class-names branch October 30, 2026 16:41
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 3, 2026
This updates the pinned commit hash of the Gutenberg repository from `cc75a79186fd23e72eb015d594e82f40c6209eb5` to `c035c1a649ef68f5c1646694cf440df1d7ae6e62` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@cc75a79...c035c1a

- Components: Use solid brand highlights for popup items (WordPress/gutenberg#84583) (#85848)
- Fix endless sideload loop when the browser can't decode a big image (WordPress/gutenberg#83530)
- Notes: Show reaction picker as a row of emoji (WordPress/gutenberg#85819) (#85892)
- Notes: Add thumbs up and plus reactions (WordPress/gutenberg#85565)
- Notes: Share thread focus recovery across actions (WordPress/gutenberg#85455)
- Core Fields: Prevent extra space between `/` and text in slug input (WordPress/gutenberg#85935)
- Notes: Add search and a status filter to the All Notes sidebar (WordPress/gutenberg#84060)
- Notes: Use the note permission check when deleting a reaction (WordPress/gutenberg#85883)
- [WP 7.2] Math block: Keyboard focus is trapped in the LaTeX field when the formula has an error (WordPress/gutenberg#86032)
- Core fields: Keep the status icon full size when its label wraps (WordPress/gutenberg#85828) (#86050)
- [WP 7.2] ToolsPanel: Keep the "Reset" label visible on the highlighted menu item (WordPress/gutenberg#86060)
- Interactivity Router: Ignore router regions and attachTo targets inside data-wp-html content (WordPress/gutenberg#84919) (#86059)
- [WP 7.2] wp-build: Derive CSS module class names from each stylesheet's CSS (WordPress/gutenberg#86062)
- Playlist: Allow track without an attachment ID to render on the frontend (WordPress/gutenberg#83880) (#86158)
- UI: Show only the day number in Calendar day cells (WordPress/gutenberg#86010) (#86183)
- Notes: Tolerate a null comment in the reaction cascade hooks (WordPress/gutenberg#85959)
- Rich Text: Remove stale format boundary when field loses selection (WordPress/gutenberg#86168)
- Notes: Only let a reaction's author delete it (WordPress/gutenberg#85415)
- Writing flow: Fix Arrow Up and Down getting stuck at the edge of the screen (WordPress/gutenberg#85408)
- Try: Run e2e tests in parallel, on one wp-env site per two cores (WordPress/gutenberg#85420)
- Raw handling: Keep shortcodes in text inline (WordPress/gutenberg#85795)
- Fix: Fixes non-breaking space replacement tooltip (WordPress/gutenberg#85777)
- Non-breaking space: Remove non-breaking spaces that would collapse when replaced (WordPress/gutenberg#85873)

Props mamaduka.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65225 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Nov 3, 2026
This updates the pinned commit hash of the Gutenberg repository from `cc75a79186fd23e72eb015d594e82f40c6209eb5` to `c035c1a649ef68f5c1646694cf440df1d7ae6e62` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@cc75a79...c035c1a

- Components: Use solid brand highlights for popup items (WordPress/gutenberg#84583) (#85848)
- Fix endless sideload loop when the browser can't decode a big image (WordPress/gutenberg#83530)
- Notes: Show reaction picker as a row of emoji (WordPress/gutenberg#85819) (#85892)
- Notes: Add thumbs up and plus reactions (WordPress/gutenberg#85565)
- Notes: Share thread focus recovery across actions (WordPress/gutenberg#85455)
- Core Fields: Prevent extra space between `/` and text in slug input (WordPress/gutenberg#85935)
- Notes: Add search and a status filter to the All Notes sidebar (WordPress/gutenberg#84060)
- Notes: Use the note permission check when deleting a reaction (WordPress/gutenberg#85883)
- [WP 7.2] Math block: Keyboard focus is trapped in the LaTeX field when the formula has an error (WordPress/gutenberg#86032)
- Core fields: Keep the status icon full size when its label wraps (WordPress/gutenberg#85828) (#86050)
- [WP 7.2] ToolsPanel: Keep the "Reset" label visible on the highlighted menu item (WordPress/gutenberg#86060)
- Interactivity Router: Ignore router regions and attachTo targets inside data-wp-html content (WordPress/gutenberg#84919) (#86059)
- [WP 7.2] wp-build: Derive CSS module class names from each stylesheet's CSS (WordPress/gutenberg#86062)
- Playlist: Allow track without an attachment ID to render on the frontend (WordPress/gutenberg#83880) (#86158)
- UI: Show only the day number in Calendar day cells (WordPress/gutenberg#86010) (#86183)
- Notes: Tolerate a null comment in the reaction cascade hooks (WordPress/gutenberg#85959)
- Rich Text: Remove stale format boundary when field loses selection (WordPress/gutenberg#86168)
- Notes: Only let a reaction's author delete it (WordPress/gutenberg#85415)
- Writing flow: Fix Arrow Up and Down getting stuck at the edge of the screen (WordPress/gutenberg#85408)
- Try: Run e2e tests in parallel, on one wp-env site per two cores (WordPress/gutenberg#85420)
- Raw handling: Keep shortcodes in text inline (WordPress/gutenberg#85795)
- Fix: Fixes non-breaking space replacement tooltip (WordPress/gutenberg#85777)
- Non-breaking space: Remove non-breaking spaces that would collapse when replaced (WordPress/gutenberg#85873)

Props mamaduka.
See #66340.
Built from https://develop.svn.wordpress.org/trunk@65225


git-svn-id: http://core.svn.wordpress.org/trunk@64374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
arshidkv12 pushed a commit to arshidkv12/wordpress-develop that referenced this pull request Nov 21, 2026
This updates the pinned commit hash of the Gutenberg repository from `cc75a79186fd23e72eb015d594e82f40c6209eb5` to `c035c1a649ef68f5c1646694cf440df1d7ae6e62` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@cc75a79...c035c1a

- Components: Use solid brand highlights for popup items (WordPress/gutenberg#84583) (#85848)
- Fix endless sideload loop when the browser can't decode a big image (WordPress/gutenberg#83530)
- Notes: Show reaction picker as a row of emoji (WordPress/gutenberg#85819) (#85892)
- Notes: Add thumbs up and plus reactions (WordPress/gutenberg#85565)
- Notes: Share thread focus recovery across actions (WordPress/gutenberg#85455)
- Core Fields: Prevent extra space between `/` and text in slug input (WordPress/gutenberg#85935)
- Notes: Add search and a status filter to the All Notes sidebar (WordPress/gutenberg#84060)
- Notes: Use the note permission check when deleting a reaction (WordPress/gutenberg#85883)
- [WP 7.2] Math block: Keyboard focus is trapped in the LaTeX field when the formula has an error (WordPress/gutenberg#86032)
- Core fields: Keep the status icon full size when its label wraps (WordPress/gutenberg#85828) (#86050)
- [WP 7.2] ToolsPanel: Keep the "Reset" label visible on the highlighted menu item (WordPress/gutenberg#86060)
- Interactivity Router: Ignore router regions and attachTo targets inside data-wp-html content (WordPress/gutenberg#84919) (#86059)
- [WP 7.2] wp-build: Derive CSS module class names from each stylesheet's CSS (WordPress/gutenberg#86062)
- Playlist: Allow track without an attachment ID to render on the frontend (WordPress/gutenberg#83880) (#86158)
- UI: Show only the day number in Calendar day cells (WordPress/gutenberg#86010) (#86183)
- Notes: Tolerate a null comment in the reaction cascade hooks (WordPress/gutenberg#85959)
- Rich Text: Remove stale format boundary when field loses selection (WordPress/gutenberg#86168)
- Notes: Only let a reaction's author delete it (WordPress/gutenberg#85415)
- Writing flow: Fix Arrow Up and Down getting stuck at the edge of the screen (WordPress/gutenberg#85408)
- Try: Run e2e tests in parallel, on one wp-env site per two cores (WordPress/gutenberg#85420)
- Raw handling: Keep shortcodes in text inline (WordPress/gutenberg#85795)
- Fix: Fixes non-breaking space replacement tooltip (WordPress/gutenberg#85777)
- Non-breaking space: Remove non-breaking spaces that would collapse when replaced (WordPress/gutenberg#85873)

Props mamaduka.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65225 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Admin UI /packages/admin-ui [Package] Boot /packages/boot [Package] Components /packages/components [Package] Grid /packages/grid [Package] Theme /packages/theme [Package] UI /packages/ui [Package] Widget Dashboard /packages/widget-dashboard [Package] wp-build /packages/wp-build [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant