WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19356 closed defect (bug) (fixed)

#wp-admin-bar-user-info link gets misshapen background on focus

Reported by: duck_ Owned by: koopersmith
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Toolbar Keywords: has-patch
Focuses: Cc:

Description

See attached screenshot. First appeared after [19162].

Patch attached sets background: none for this element as this is consistent with behaviour at r18776. Also, the parent li doesn't get the backgound-color on hover either unlike other li elements.

Attachments (2)

link-backround.png (2.0 KB) - added by duck_ 2 years ago.
user-info-a.background-none.diff (324 bytes) - added by duck_ 2 years ago.

Download all attachments as: .zip

Change History (5)

duck_2 years ago

comment:1 follow-up: azaozz2 years ago

Don't see this happening as of [19479] but can remove the background there just in case.

comment:2 koopersmith2 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from new to closed

In [19480]:

Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.

comment:3 in reply to: ↑ 1 koopersmith2 years ago

Replying to azaozz:

Don't see this happening as of [19479] but can remove the background there just in case.

I can confirm. It's possible to trigger the focus by ctrl+clicking the item. It's a special item, and should be backgroundless.

Note: See TracTickets for help on using tickets.