Skip to content

Missing :empty pseudo-element state on extension icon's badge #8025

Closed as not planned
@hoangnhan2ka3

Description

@hoangnhan2ka3

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

On normal Firefox, extension icon's badges have a display: none property on empty toolbarbutton-badge:

Image

However, on Zen, the :empty pseudo-element seems to be not valid:

Image

And it cannot be overwritten, even with !important.

That leaves a 4x1px badge (a little bar in the top corner of the extension icon) even though it has no content. I'm talking about the 1st, 2nd, and 5th icons:

Image

Version

1.12b

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Extensions

Relevant log output if applicable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions