Skip to content

[WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted - #86379

Merged
mirka merged 2 commits into
wp/7.2from
backport/86330-dropdown-menu-highlight-wp72
Nov 5, 2026
Merged

mirka merged 2 commits into
wp/7.2from
backport/86330-dropdown-menu-highlight-wp72

Conversation

@mirka

@mirka mirka commented Nov 5, 2026

Copy link
Copy Markdown
Member

What?

Backports #86330 to wp/7.2, resolving the conflict reported by the automatic backport.

Why?

The solid brand highlight for popup items, #84583, shipped to this branch as #85848. The selected item's dark icon tile has about 2.4:1 contrast against that highlight and reads as a stray dark block on the row. The inverted tile has about 6:1 contrast against the same fill.

How?

Only the changelog conflicted, because this branch has a different Unreleased section. The styles are the same as in #86330, and the only difference between the compiled stylesheets with and without this change is the new tile rules, so other popup items are unaffected.

Testing Instructions

  1. Open a post and select a paragraph block.
  2. Open the Align block menu in the block toolbar.
  3. Hover the selected item, None. The icon should show as a light tile with a brand-colored glyph.
  4. Hover another item. The selected item should return to the dark tile, and the hovered item should have no tile.
  5. Choose a text alignment in the Align text menu, reopen the menu, and hover the selected item. It should show the same light tile.
  6. Change the admin color scheme in your profile to Sunrise and repeat step 3. The glyph should follow the scheme's highlight color.

Testing Instructions for Keyboard

  1. Select a paragraph block, then press Alt+F10 to move focus to the block toolbar.
  2. Use the arrow keys to reach Align block, then press ArrowDown to open the menu. The first item is focused.
  3. With None selected, confirm that it shows the light tile. Press ArrowDown and confirm that it returns to the dark tile.

Screenshots or screencast

The selected item is highlighted in each image.

State Before After
Default Align block menu with the selected None item highlighted in blue and a dark icon tile Align block menu with the selected None item highlighted in blue and a light icon tile with a blue glyph
Forced colors Forced colors mode with the selected None item highlighted and a dark icon tile Forced colors mode with the selected None item highlighted and a light icon tile

…86330)

* DropdownMenu: Invert the selected item indicator while highlighted

The dark tile behind a selected item's icon was designed for the plain menu
background. Since popup items gained a solid brand highlight, it has sat at
about 2.4:1 against the fill and reads as a stray dark block. Swap the
highlight's own foreground and background on the tile, so that it follows the
admin color scheme and keeps the contrast of the item's text.

* Add changelog link

* DropdownMenu: Switch selected Dashicon colors without a fade

WordPress gives Dashicons a 100 ms color transition, so the glyph lagged behind
the tile background and was briefly white on the light tile.

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
(cherry picked from commit bdc530c)
@mirka mirka added [Type] Bug An existing feature does not function as intended [Package] Components /packages/components labels Nov 5, 2026
@mirka mirka self-assigned this Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground Preview in Storybook

🎉 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: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@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: +394 B (0%)

Total Size: 9.06 MB

📦 View Changed
Filename Size Change
build/styles/components/style-rtl.css 17.5 kB +130 B (+0.75%)
build/styles/components/style-rtl.min.css 14.6 kB +67 B (+0.46%)
build/styles/components/style.css 17.6 kB +128 B (+0.73%)
build/styles/components/style.min.css 14.6 kB +69 B (+0.48%)

41389d7 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 8640944 wp/7.2 % Change
timeToFirstByte 42.4 ms +8.96% -3.42% 44.7 ms +11.19% -7.05% -5.15%
largestContentfulPaint 72 ms +13.89% -5.56% 76 ms +7.89% -5.26% -5.26%
lcpMinusTtfb 28.9 ms +16.96% -4.33% 30.8 ms +8.93% -11.85% -6.17%
wpBeforeTemplate 21.93 ms +9.76% -1% 23.23 ms +14.85% -6.03% -5.6%
wpTemplate 17.02 ms +2% -6.23% 17.1 ms +4.97% -5.79% -0.47%
wpTotal 39.16 ms +9.22% -3.75% 41.1 ms +10.71% -7.69% -4.72%
wpMemoryUsage 7.70 MB +0% -0% 7.67 MB +0% -0% 0.41%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 8640944 wp/7.2 % Change
timeToFirstByte 32.3 ms +9.75% -2.48% 35.05 ms +5.42% -2% -7.85%
largestContentfulPaint 72 ms +5.56% -0% 76 ms +5.26% -0% -5.26%
lcpMinusTtfb 39.75 ms +2.14% -4.91% 42 ms +4.4% -1.9% -5.36%
wpBeforeTemplate 19.44 ms +10.34% -1.18% 18.97 ms +5.75% -1.05% 2.48%
wpTemplate 9.99 ms +7.31% -4% 13.03 ms +3.76% -3.61% -23.33%
wpTotal 29.64 ms +9.55% -2.16% 32.39 ms +5.34% -2.07% -8.49%
wpMemoryUsage 6.28 MB +0% -0% 6.36 MB +0% -0% -1.24%
wpDbQueries 9 +0% -0% 13 +0% -0% -30.77%

media-processing

Metric 8640944 wp/7.2 % Change
mediaProcessingJpeg 327.69 ms +0.53% -0.85% 321.49 ms +3.39% -0.15% 1.93%
mediaProcessingAvif 4844.79 ms +0.24% -0.31% 4867.59 ms +0.47% -0.85% -0.47%
mediaProcessingJpegToAvif 3396.22 ms +0.2% -0.2% 3399.87 ms +0.52% -0.44% -0.11%

media-upload

Metric 8640944 wp/7.2 % Change
jpegUploadProcessing 1449.63 ms +30.14% -2.13% 1421.03 ms +0.72% -0.93% 2.01%
pngUploadProcessing 217.01 ms +14.28% -5.77% 218.88 ms +27.33% -9% -0.85%
largeJpegUploadProcessing 1420.82 ms +2.21% -1.03% 1414.15 ms +1.76% -0.45% 0.47%
multipleImageUploadProcessing 1529.94 ms +4.31% -2.08% 1506.37 ms +1.13% -0.8% 1.56%

post-editor

Metric 8640944 wp/7.2 % Change
serverResponse 540.98 ms +2.95% -6.17% 547.12 ms +2.66% -6.59% -1.12%
firstPaint 532.25 ms +1.19% -12.61% 484.88 ms +14.19% -51.43% 9.77%
domContentLoaded 1235.35 ms +0.85% -3.38% 1290.62 ms +0.34% -3.8% -4.28%
loaded 1236.43 ms +0.84% -3.36% 1292.03 ms +0.31% -3.82% -4.3%
firstContentfulPaint 533.02 ms +1.04% -6.38% 561.53 ms +1.6% -3.01% -5.08%
firstBlock 3802.41 ms +2.6% -1.53% 3954.82 ms +2.4% -1.52% -3.85%
type 18.15 ms +6.61% -2.2% 19.64 ms +1.93% -2.6% -7.59%
typeWithoutInspector 17.56 ms +7.74% -1.08% 18.53 ms +4.8% -4.16% -5.23%
typeWithTopToolbar 23.19 ms +8.58% -2.89% 26.21 ms +8.05% -1.79% -11.52%
typeContainer 9.17 ms +6.32% -4.69% 9.4 ms +4.26% -7.13% -2.45%
focus 127.25 ms +8.48% -1.96% 133.42 ms +11.3% -4.04% -4.62%
firstFocus 256.21 ms +0% -0% 259.17 ms +0% -0% -1.14%
selectAll 597.68 ms +1.98% -1.81% 608.47 ms +0.79% -0.72% -1.77%
listViewOpen 80.06 ms +1.67% -4.42% 89.18 ms +2.78% -12.82% -10.23%
inserterOpen 38.43 ms +7.68% -2.19% 42.92 ms +7.39% -12.98% -10.46%
inserterHover 12.58 ms +6.04% -13.91% 12.47 ms +6.42% -11.95% 0.88%
inserterSearch 7.94 ms +8.06% -4.53% 8.25 ms +6.91% -2.3% -3.76%
loadPatterns 656.78 ms +2.24% -6.68% 651.6 ms +10.34% -3.51% 0.79%
wpTotal 530.33 ms +3.07% -6.16% 536.76 ms +2.68% -6.83% -1.2%
wpMemoryUsage 14.75 MB +0% -0% 14.72 MB +0% -0% 0.23%
wpDbQueries 55 +0% -1.82% 55 +0% -1.82% 0%

site-editor

Metric 8640944 wp/7.2 % Change
serverResponse 426.91 ms +0.79% -8.18% 410.89 ms +6.32% -6.34% 3.9%
firstPaint 238.73 ms +15.61% -13.06% 300.45 ms +19.18% -24.16% -20.54%
domContentLoaded 1238.71 ms +1.71% -1.23% 1232.19 ms +2.13% -0.54% 0.53%
loaded 1239.82 ms +1.73% -1.22% 1233.31 ms +2.11% -0.55% 0.53%
firstContentfulPaint 503.49 ms +1.15% -0.99% 507.21 ms +3.18% -3.68% -0.73%
firstBlock 4662.27 ms +0.21% -0.5% 4636.17 ms +0.34% -0.74% 0.56%
type 18.52 ms +2.54% -2.38% 18.32 ms +4.91% -1.97% 1.09%
navigate 121.08 ms +10.33% -5.33% 116.51 ms +7.4% -1.15% 3.92%
loadPatterns 1212.37 ms +5.76% -1.85% 1177.51 ms +4.61% -2.32% 2.96%
loadPages 992.56 ms +1.66% -1.07% 1007.59 ms +3.96% -1.81% -1.49%
wpTotal 415.9 ms +0.9% -8.38% 399.97 ms +6.55% -6.53% 3.98%
wpMemoryUsage 12.77 MB +0% -0% 12.74 MB +0% -0% 0.24%
wpDbQueries 44 +2.27% -0% 44 +2.27% -0% 0%

41389d7 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.

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  - 3
+ Received  + 3

  <!-- wp:paragraph -->
  <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
Delete (forward) 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:2056:42
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>e</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 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
can be copied from multi selection in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 2
+ Received  + 2

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

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

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

  <!-- wp:list-item -->
  <li>two</li>
  <!-- /wp:list-item --></ul>
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:33:49
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 create paragraph on split at end and merge back with content 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  + 5

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

  <!-- wp:paragraph -->
  <p></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/blocks/list.spec.js:461:52
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 indent and outdent level 2 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:933:3
should indent and outdent multi-selected items with Tab in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 10
+ Received  + 10

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

- <!-- wp:list-item -->
- <li>three</li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p>two</p>
+ <!-- /wp:paragraph -->
+
- <!-- /wp:list --></li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p>three</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:1118:52
should keep nested list items when merging with paragraph in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 17
+ Received  +  2

  Array [
    Object {
      "attributes": Object {
        "content": "p",
-     },
-     "name": "core/paragraph",
-   },
-   Object {
-     "attributes": Object {
-       "content": "1",
+       "dropCap": false,
      },
+     "innerBlocks": Array [],
      "name": "core/paragraph",
-   },
-   Object {
-     "innerBlocks": Array [
-       Object {
-         "attributes": Object {
-           "content": "i",
-         },
-         "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:601:41
should leave nested list intact when deleting the parent item in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  1
+ Received  + 19

@@ -1,19 +1,36 @@
  Array [
    Object {
+     "attributes": Object {
+       "content": "1",
+       "dropCap": false,
+     },
+     "innerBlocks": Array [],
+     "name": "core/paragraph",
+   },
+   Object {
+     "attributes": Object {
+       "ordered": false,
+       "values": "",
+     },
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "",
          },
          "innerBlocks": Array [
            Object {
+             "attributes": Object {
+               "ordered": false,
+               "values": "",
+             },
              "innerBlocks": Array [
                Object {
                  "attributes": Object {
                    "content": "a",
                  },
+                 "innerBlocks": Array [],
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
            },
@@ -22,10 +39,11 @@
        },
        Object {
          "attributes": Object {
            "content": "3",
          },
+         "innerBlocks": Array [],
          "name": "core/list-item",
        },
      ],
      "name": "core/list",
    },
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:3017:38
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 remove an anchored list when deleting its last item in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

@@ -5,11 +5,11 @@
      },
      "innerBlocks": Array [
        Object {
          "attributes": Object {
            "anchor": "item",
-           "content": "x",
+           "content": "",
          },
          "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:2961:41
should split indented list item 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>two</li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:668:52
should split into two with paragraph and merge lists in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 9
+ Received  + 5

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

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

Truncated. See the full report.

41389d7 Run

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we can teach our backport script how to resolve CHANGELOG file conflicts. Most of the time, that causes a failed backport.

@mirka

mirka commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

On one hand, yes. But also maybe for this cycle specifically, I'm finding that there are more "patchwork" backports that warrant 7.2 branch-specific style regression testing anyway, since the relevant parts of the codebase have diverged enough. This might be a trend due to the increasing pace of code changes…

@mirka
mirka marked this pull request as ready for review November 5, 2026 17:51
@mirka
mirka requested a review from a team as a code owner November 5, 2026 17:51
@mirka
mirka merged commit f14dff5 into wp/7.2 Nov 5, 2026
85 checks passed
@mirka
mirka deleted the backport/86330-dropdown-menu-highlight-wp72 branch November 5, 2026 17:58
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (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@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (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@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

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


git-svn-id: http://core.svn.wordpress.org/trunk@64518 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 `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (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@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 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] Components /packages/components [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants