Problem/Motivation
There has been a regression: the styles for the active trail of parent of the active menu items have been lost.

Steps to reproduce
- Navigate to /admin/structure/display-modes/form
- Open the Structure menu and check the parent items of the menu don't have active styles (they should)
Proposed resolution
Get back the initial active styles. Figma designs: https://www.figma.com/file/fn52micITi1fCNtU0fWcPC/Prototype?type=design&...

| Comment | File | Size | Author |
|---|---|---|---|
| #2 | active-trail.png | 39.82 KB | ckrina |
| active-trail.png | 30.79 KB | ckrina |
Issue fork navigation-3402895
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ckrinaAdding link to designs.
Comment #5
kostyashupenkoComment #6
finnsky commentedProbably better here use :has selector.
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
is is mostly in Firefox
For now only maybe some polyfill can be attached?
Comment #7
ckrinaI'd say as long as we include proper instructions to test this on Firefox (or at least to say to test this in Chrome), I'm sure Firefox 121 will be released before we have an initial alpha release :)
Comment #8
ckrinaI forgot to move it to NW to address @finnsky's suggestion :)
Comment #9
kostyashupenkoComment #10
ckrinaComment #12
finnsky commentedComment #13
finnsky commented