Sub-issue of #1190252: [573] Use csslint as a weapon to beat the crappy CSS out of Drupal core

Inline with the CSS cleanup efforts of the HTML5 initiative, using CSSLint at http://csslint.net provides a quick way to code-sniff our css and tweak styles.

  1. Copy and paste the the stylesheet(s) below into the css lint tool at http://csslint.net and test.
  2. Fix any warnings or errors the tool finds.
  3. Patch Drupal 8 locally and make sure the css changes have not broken anything visually.
  4. Create patch and upload for the testbot.

Files: modules/toolbar/toolbar.css (and toolbar-rtl.css)

CommentFileSizeAuthor
#81 Screenshot 2022-07-18 113745.png133.6 KBanoopsingh92
#81 Screenshot 2022-07-18 113723.png140.87 KBanoopsingh92
#80 without-patch.png146.8 KBsmustgrave
#73 1663198-73.patch1.02 KBkomalk
#73 After-patch.png340.08 KBkomalk
#73 Before-patch.png390.95 KBkomalk
#59 toolbar-css-2444097-59.patch1.79 KBsimply021
#57 Welcome to Drupal | Drupal 2015-09-06 19-09-36.png93.06 KBdpetruk
#55 toolbar-toggle-orientation-button-visibility-fix-1663198-51-02.png4.85 KBvolodymyr.oliinyk
#55 toolbar-toggle-orientation-button-visibility-fix-1663198-51-01.png8.69 KBvolodymyr.oliinyk
#51 toolbar-toggle-orientation-button-visibility-fix-1663198-51.patch1.56 KBpazhyn
#48 toolbar.png89.76 KBmanjit.singh
#46 1663198_46.patch732 bytescosmicdreams
#42 Welcome_to_Site-Install___Site-Install.png597.67 KBlewisnyman
#40 interdiff-1663198-30-40.patch4.47 KBemma.maria
#40 cleanup-toolbar-1663198-40.patch10.31 KBemma.maria
#40 toolbar-patch-bug.png306.02 KBemma.maria
#32 Welcome_to_Site-Install___Site-Install.png764.97 KBlewisnyman
#30 1663198-30.patch8.81 KBrpayanm
#28 1663198-clean-up-toolbar-css-28.patch9.6 KBckrina
#26 interdiff-1663198-18-26.txt504 bytesrootwork
#26 1663198-clean-up-toolbar-css-26.patch5.88 KBrootwork
#18 1663198-Clean-up-toolbar-css-18.patch5.88 KBsam152
#16 1663198-Clean-up-toolbar-css-14.patch5.95 KBsam152
#16 interdiff.txt5.76 KBsam152
#12 1663198-Clean-up-toolbar-css-12.patch9.84 KBsam152
#12 interdiff.txt1.76 KBsam152
#10 1663198-Clean-up-toolbar-css-10.patch9.64 KBsam152
#6 1663198-clean-up-toolbar-css-6.patch5.41 KBoresh
#2 1663198-Clean-up-toolbar-css-1.patch4.9 KBsdmunoz

Comments

robloach’s picture

The issues with toolbar.css and toolbar-rtl.css can be found here.

sdmunoz’s picture

StatusFileSize
new4.9 KB

Updated the toolbar.css and toolbar-rtl.css and best as i could thru CSS Lint. Some warning were still left behind. thanks

ZenDoodles’s picture

Status: Active » Needs review
ishmael-sanchez’s picture

Status: Needs review » Needs work

I think this can be improved, specifically the selector choice (remove over qualified selectors) and the CSS specificity.

We could use:
.toolbar .toggle

Even .toggle alone works but it's a poorly named selector (.toolbar-toggle might be better, but that's another issue)

Instead of:
.toolbar .toolbar-menu a.toggle

Ultimately it will make the CSS more efficient/performant and reduce CSS specificity (making it easier to override in themes) along with reducing the overall amount of CSS (easier to maintain).

jessebeach’s picture

oresh’s picture

StatusFileSize
new5.41 KB

Css clean up:
Mostly color hex shortened to 3-digit equivalent : ex. #ffffff to #fff;
And long number after the dot, ex: 1.3333 to 1.33 - the difference mostly is 0px, thought can be 1 px for retina displays.

oresh’s picture

Status: Needs work » Needs review
philipz’s picture

Issue summary: View changes
Status: Needs review » Needs work

This patch does not apply anymore.

jessebeach’s picture

Issue tags: +toolbar-followup, +Spark

Added tags: toolbar-followup, Spark

sam152’s picture

Assigned: Unassigned » sam152
Status: Needs work » Needs review
StatusFileSize
new9.64 KB

I have attached a patch which attempts to clean up some of the toolbar css (which is known not to impact any styles or require any changes outside the CSS files).

The changes introduced are:

  1. Cleans up unnecessary longhand hex codes.
  2. Cleans up unnecessary granular measurements ie 0.3333 to 0.33. Tested all of these on a retina and non-retina screen and found there to be no difference in the rendering whatsoever.
  3. Fixed a bug where a declaration is outside of the relevant CSS block:
      border-left: 1px solid #aaaaaa;
    [dir="rtl"] .toolbar .toolbar-tray-vertical {
      border-right: 0 none;
      box-shadow: 1px 0 5px 2px rgba(0, 0, 0, 0.3333);
    }
    
  4. Removes unnecessary adjoining classes where they do not impact the selector precedence (not in the case of the icon file or toolbar alignment).
  5. Removes overqualified element selectors such as "li.active".
  6. Changes the "#toolbar-administration" selectors to ". toolbar" to be more consistent with the other selectors and encourage flexibility.
  7. Fixed coding standards with regards to some whitespace.

Let me know if there are any issues with the patch or it doesn't apply and I can fix them up.

wim leers’s picture

First: thank you for working on this! :)

Overall, all your changes look great. I just have a handful of questions and reservations (note that I'm not the maintainer for this module, I'm only trying to help).

  1. +++ b/core/modules/toolbar/css/toolbar.icons.css
    @@ -2,13 +2,12 @@
    -
    

    We always leave a newline after the @file docblock. Please restore this :)

  2. +++ b/core/modules/toolbar/css/toolbar.icons.css
    @@ -20,7 +19,7 @@
    +  left: 0.67em; /* LTR */
    ...
    -  left: 0.6667em; /* LTR */
    
    @@ -30,19 +29,19 @@
    -  right: 0.6667em;
    +  right: 0.67em;
    
    +++ b/core/modules/toolbar/css/toolbar.theme.css
    @@ -153,7 +154,7 @@
    -  padding: 0.6667em;
    +  padding: 0.67em;
    
    @@ -141,7 +142,7 @@
    -  padding-left: 0.6667em; /* LTR */
    +  padding-left: 0.67em; /* LTR */
    

    Shouldn't this be 0.66 instead of 0.67?

  3. +++ b/core/modules/toolbar/css/toolbar.module.css
    @@ -5,14 +5,14 @@
    -#toolbar-administration {
    +.toolbar {
    

    I understand the rationale ("ID selectors are bad!" & "this is the selector you use elsewhere!"), but I think this might be written using an ID selector because .toolbar is a class that some other module might use too, think a complex admin UI, a WYSIWYG editor, and so on.

    I am in favor of this, but I think we might want jessebeach to confirm that this is okay; she might have had good reasons to do it this way.

  4. +++ b/core/modules/toolbar/css/toolbar.theme.css
    @@ -164,7 +165,7 @@
    +  padding: 0.17em;
    ...
    -  padding: 0.1667em;
    

    This looks like it might need to be 0.166?

sam152’s picture

StatusFileSize
new1.76 KB
new9.84 KB

Hi Wim, thanks for the review!

I believe 0.167 is closer to 0.166.. than 0.166. Same goes for 0.67 being closer to 0.66.. than 0.66. I believe the recurring digits round the trailing decimal up. That being said in the case of "0.17", I have added the additional "6" for clarity, "0.167".

Thanks for the @file docblock pickup. I have changed the other 3 blocks to be consistent and include the new line.

With regards to the ID/class discussion, there are lots of examples that would mess up contrib modules who used the "toolbar" class. It should probably either be changed across the board (I'm happy to open up another issue for it), or be consistent across all of the other toolbar selectors.

.toolbar a {
  cursor: pointer;
  padding: 1em 1.33em;
  text-decoration: none;
}
wim leers’s picture

With regards to the ID/class discussion, there are lots of examples that would mess up contrib modules who used the "toolbar" class. It should probably either be changed across the board (I'm happy to open up another issue for it), or be consistent across all of the other toolbar selectors.

I personally think that's fair.

I'll let jessebeach address the remaining feedback.

jessebeach’s picture

Status: Needs review » Needs work

I'm more of a foster maintainer until we find someone permanent =D

PerthSam152, thanks for taking this work on. Here are my comments.

  1. +++ b/core/modules/toolbar/css/toolbar.icons.css
    @@ -30,19 +30,19 @@
     }
    -.toolbar button.toolbar-icon {
    +.toolbar .toolbar-icon {
       background-color: transparent;
       border: 0;
       font-size: 1em;
     }
    

    I, like you, dislike needless over-qualification of selectors. However, specificity is not in and of itself a bad thing; it's simply a power not to be abused.

    In this particular case, I do mean to target just button elements. These elements have background-color, border and a wonky font-size that need to be removed in order to make this element appear like a link.

  2. +++ b/core/modules/toolbar/css/toolbar.menu.css
    @@ -18,7 +19,7 @@
     }
    -.toolbar .toolbar-tray-vertical li.open > ul {
    +.toolbar .toolbar-tray-vertical .open > ul {
       display: block; /* Show the sub-menus */
     }
    

    Again, this specification is intended. I want li.open > ul relationships, not div.open > ul relationships.

  3. +++ b/core/modules/toolbar/css/toolbar.menu.css
    @@ -29,7 +30,7 @@
     .toolbar .toolbar-tray .active-trail > .toolbar-box a,
    -.toolbar .toolbar-tray a.active {
    +.toolbar .toolbar-tray .active {
       color: #000;
       font-weight: bold;
     }
    
    +++ b/core/modules/toolbar/css/toolbar.module.css
    @@ -5,14 +5,15 @@
      */
    

    We can take out the specificity here. Even better would be to namespace the .active class. That's not something we need do in this issue.

  4. +++ b/core/modules/toolbar/css/toolbar.module.css
    @@ -5,14 +5,15 @@
      */
    -#toolbar-administration,
    -#toolbar-administration * {
    +
    +.toolbar,
    +.toolbar * {
       -moz-box-sizing: border-box;
       -o-box-sizing: border-box;
       -webkit-box-sizing: border-box;
       box-sizing: border-box;
     }
    

    I suggest not addressing these declarations in this patch. We do in fact want the specificity of an ID here, not a class, because the Toolbar is not like other components in the sense that we want it to be bomb-proof against outside styling influences.

    We've had a lot of experience using the Navbar module on live sites (the D7 backport of Toolbar) and feedback has been that the CSS of Toolbar/Navbar is not specific enough! I know, my initial reaction is probably like yours: "well, your theme CSS is too generic and not well formed." But we can't take that approach here. We really need to make the Toolbar a styling-isolated component. Here are the navbar issues for reference. I would love love love to have your expert help porting these Navbar changes forward to Toolbar. For reference:

    #2158771: CSS hardening
    #2120029: Navbar does not override core "ul.menu li" (system.menus.css)
    #1757466: Prefix all navbar classes to prevent theme clashes
    #1938742: Navbar should override margin in system.css (ul.menu li)

  5. +++ b/core/modules/toolbar/css/toolbar.module.css
    @@ -27,7 +28,7 @@
     .toolbar .item-list li,
    -.toolbar .menu li.expanded {
    +.toolbar .menu .expanded {
       list-style-type: none;
    

    This qualification is intended and necessary to override system styling (IIRC, I might be proven wrong here).

  6. +++ b/core/modules/toolbar/css/toolbar.theme.css
    @@ -64,21 +65,22 @@
    +  box-shadow: -1px 0 5px 2px rgba(0, 0, 0, 0.33); /* LTR */
     }
    -  border-left: 1px solid #aaaaaa;
    +
     [dir="rtl"] .toolbar .toolbar-tray-vertical {
    

    I posted a separate issue for this. Whichever of these gets committed first will determine where it gets fixed.

4 decimal points

I like to take repeating decimals out to 4 digits because of rounding inconsistencies in browsers:

http://ejohn.org/blog/sub-pixel-problems-in-css/

It doesn't put any appreciable strain on the browser and it might help avoid sizing inconsistencies. A thousandths place rounding inconsistency takes a thousand blocks lined up to become apparent. Personally I don't think we need to change these. If you're confident that reducing the accuracy of the number won't result in broken layouts, then I'm fine to lop off digits.

In sum, the hex color value changes go in, we should reverse a couple of the de-specification changes and leave out the removal of the ID selector (pending downstream changes to harden the CSS).

Again, PerthSam152, so glad to have you working on this code. I hope my comments help fill in some of the folk knowledge for this module.

sam152’s picture

Hi jessebeach,

Thanks for the review! I will take a look at each of the points you raised in a new patch.

I will admit, shortening the decimal places was mostly because of #6. To me it really depends on whether reducing them makes the CSS easier to work with and has zero side effects. I'll leave those particular changes out of the next patch.

- Sam

sam152’s picture

StatusFileSize
new5.76 KB
new5.95 KB

1. Withdrawn.
2. Withdrawn.
3. All good.
4. Annoying, but I can understand why we need to delay this.
5. The core selectors that adds "disc" and "menu-collapsed.png" is ".menu .expanded". This should be fine if you're okay with it.
6. All good.
7. re: decimals. I don't have IE spooled up in a VM right now otherwise I probably would have tested it and left them in there, but for now they can remain out of this patch for now.

Attached patch against HEAD.

sam152’s picture

Status: Needs work » Needs review
sam152’s picture

Status: Needs review » Needs work

The last submitted patch, 18: 1663198-Clean-up-toolbar-css-18.patch, failed testing.

sam152’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 18: 1663198-Clean-up-toolbar-css-18.patch, failed testing.

sam152’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 18: 1663198-Clean-up-toolbar-css-18.patch, failed testing.

benjy’s picture

Status: Needs work » Needs review
benjy’s picture

We had a broken test in core, #2142989: Test for BundleConstraintValidator which has now been reverted.

rootwork’s picture

Assigned: sam152 » Unassigned
StatusFileSize
new5.88 KB
new504 bytes

Very minor fix of a rule that wasn't deleted.

rootwork’s picture

Issue tags: +SprintWeekend2014

Tagging from the global sprint.

ckrina’s picture

StatusFileSize
new9.6 KB

Patch no longer applies. Rerolled.

benjy’s picture

Status: Needs review » Needs work
Issue tags: -SprintWeekend2014 +Needs reroll
rpayanm’s picture

Status: Needs work » Needs review
StatusFileSize
new8.81 KB
lewisnyman’s picture

Status: Needs review » Needs work
Issue tags: -Needs reroll
+++ b/core/modules/toolbar/css/toolbar.icons.css
@@ -20,14 +19,14 @@
-  left: 0.6667em; /* LTR */
+  left: 0.67em; /* LTR */

I was wondering about these lines and the kind of effect they would have. It still seems like these em values are still converted into sub pixels. I think we have to modify them so they round to whole pixels, right?

lewisnyman’s picture

StatusFileSize
new764.97 KB

Forgot to upload the image

wim leers’s picture

#31: I pinged Jesse Beach, asking if she could explain why she did it that way.

jessebeach’s picture

I was wondering about these lines and the kind of effect they would have. It still seems like these em values are still converted into sub pixels. I think we have to modify them so they round to whole pixels, right?

I tend to want more significant digits in my values, rather than fewer so that rounding errors are avoided. That being said, if the change works visually, there's nothing inherently wrong with it.

lewisnyman’s picture

I'd rather keep the units more specific as well. It feels like we are reducing the digits just so it looks cleaner? It would be nice if the em values calculated to whole pixels, that feels cleaner to me.

lewisnyman’s picture

lewisnyman’s picture

emma.maria’s picture

Assigned: Unassigned » emma.maria
wim leers’s picture

OMG OMG! Excited to see what you will do, Emma! :)

emma.maria’s picture

StatusFileSize
new306.02 KB
new10.31 KB
new4.47 KB

I have rounded up or down the px values computed by the browser from the current em values found in the patch and files that the patch affects.

I then converted these into em values based on the base font size of toolbar which is 13px.

Here are the values 'calculated' to save others time (original patch value -> rounded to px -> converted to ems)

1.33em -> 17px -> 1.30769230769em
0.67em -> 8px -> 0.69230769em
0.17em -> 2px -> 0.15384615em
2.75em -> 36px -> 2.769230769em
0.25em -> 3px -> 0.23076923em
3.75em -> 49px -> 3.7692307692em

I also noticed that the toolbar was getting it's line height from the admin theme. So I added a line-height value in rems in the same place as where the base font size in rems is defined.

   font-size: 0.8125rem;
+  line-height: 1.25rem;

I have also noticed a bug in the patch from at least #30. When the toolbar is in vertical mode and you have many menu levels expanded you can't scroll down to the very bottom of them. You can on core right now. So in the example below I tried to scroll to see the toolbar toggle orientation button at the bottom but the bottom part is cut off see screenshot...
 

 
So someone needs to fix that as I am struggling to work it out. But otherwise I hope I made some improvements to this issue.

emma.maria’s picture

Assigned: emma.maria » Unassigned
lewisnyman’s picture

Issue summary: View changes
StatusFileSize
new597.67 KB

This is weird, because it looks like it's being hidden using Javascript. I don't see why this patch would affect this, as it's CSS only.

@Wim Leers, any ideas?

emma.maria’s picture

Some @Wim Leers magic would be great! I think as some of the selectors have changed there is now definitely weird behaviour happening with the vertical toolbar.

mortendk’s picture

Now your doing work on the css & cleaning it up, its important that we remember to name things the right way.
i cretead an issue that maybe should be merged into this?
#2419135: Change the used CSS classes to follow the coding standards . in short:
* use oocss naming
* js- prefix on classes thats used by javascript
* seperate classes out them so a themer can without breaking functionality redesign a toolbar ;)

hass’s picture

cosmicdreams’s picture

Status: Postponed » Needs review
StatusFileSize
new732 bytes

There seems to be a lot going on with different issues that all aim to fix the styles / markup of the toolbar. Using lewisnyman's tool for linting the css for errors only refer to two known errors. They are:

Line	Column	Message
11	3	Unknown property 'tap-highlight-color'.
15	3	Unknown property 'touch-callout'.

These are addressable issues. As it turns out, both of these properties only exist if you append "-webkit-" in front of them. It's likely that they were included through some sass-based mechanism.

Furthermore the one instance of the -webkit-tap-highlight-color that is used is also present in the normalize.css file

-webkit-tap-highlight-color: rgba(0,0,0,0);

I think it's OK to keep what toolbar.css is doing to the toolbar as it's reasonable to assume that a developer would want to exclude normalize.css from their theme.

The following patch shows what I think we can do to improve our linting score for toolbar.css

cosmicdreams’s picture

ah there's a previous patch in #40 but it doesn't apply.

manjit.singh’s picture

StatusFileSize
new89.76 KB

Found this issue in RTL

lewisnyman’s picture

Status: Needs review » Needs work
nuez’s picture

pazhyn’s picture

Assigned: Unassigned » pazhyn
Status: Needs work » Needs review
Issue tags: +dcuacs2015
StatusFileSize
new1.56 KB

Check toolbar toggle button visibility patch please.

andriyun’s picture

Look is good for me!
+1 for rtbc

andypost’s picture

Issue tags: +Needs screenshots
eleleka’s picture

Just checked, looks good.
+1 for rtbc

volodymyr.oliinyk’s picture

valentine94’s picture

Looks nice to me, +1 to RTBC

dpetruk’s picture

Please, correct vertical aligning in button on horizontal toolbar.

dpetruk’s picture

Status: Needs review » Needs work
simply021’s picture

StatusFileSize
new1.79 KB

Pseudo selector set to 1em because of all icons are 16x16.
Screenshots provided:
http://prntscr.com/8dt5t6
http://prntscr.com/8dt5q1

rudraram’s picture

Status: Needs work » Needs review

The last submitted patch, 40: cleanup-toolbar-1663198-40.patch, failed testing.

The last submitted patch, 40: interdiff-1663198-30-40.patch, failed testing.

lewisnyman’s picture

Status: Needs review » Needs work

It looks like all patches after #40 are missing a lot of the changes?

andypost’s picture

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

nod_’s picture

Version: 8.8.x-dev » 9.1.x-dev

By now we have stylelint so if we make any kind of changes like this the stylelint config needs to be updated.

komalk’s picture

Status: Needs work » Needs review
StatusFileSize
new390.95 KB
new340.08 KB
new1.02 KB

Patch #59 is failed to apply to 9.1x.
Here is the fixed review patch attached screenshot for the reference.

samiullah’s picture

@komalkolekar looks good.
Probably a code review is needed before it can be moved to rtbc

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

anoopsingh92’s picture

Assigned: pazhyn » anoopsingh92
smustgrave’s picture

Status: Needs review » Closed (cannot reproduce)
StatusFileSize
new146.8 KB

Testing on 9.5.x I'm no longer able to replicate. Going to close as cannot reproduce. if you are still seeing the issue please reopen and provide an issue update.

anoopsingh92’s picture

StatusFileSize
new140.87 KB
new133.6 KB

I installed the Drupal version 9.5.0-dev in my local. After that I installed the latest Drupal contrib module admin_toolbar with version 3.1 using composer: $ composer require 'drupal/admin_toolbar:^3.1'
It is working fine for me. I didn't find the issue. If you have an older version of the module then you can update your module. If there is no issue then please close that issue. If you still facing the issue then reopen and please reupdate the issue.

anoopsingh92’s picture

Assigned: anoopsingh92 » Unassigned

@ZenDoodles
Please check this issue once again. I have tested and verified

anoopsingh92’s picture

This is working fine without applying any patch