Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

“Button Background Active” and “Button background Hover” are reversed for Back Button

未关闭
#933 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

首先,使用所述的 Yellow 和 Red 值,通过 Advanced colors 标签页和 Firefox Color 附加组件在 https://color.stage.mozaws.net/ 重现该问题。跟踪 Back Button 的 active 和 hover 颜色处理;完成标准是按钮在闲置时显示 active 颜色,在悬停时显示 hover 颜色,并且在项目有相关测试的情况下覆盖这两种状态。

由索引模型根据 Issue 内容生成。

描述

theme api

Preconditions:

  1. Go to about:config and change the “xpinstall.signatures.required” pref to “false”
  2. Access https://color.stage.mozaws.net/
  3. Click on the “Advanced colors” tab
  4. Click on “Firefox Color Extension” link from the right side panel
  5. On the newly opened page, click on “Unsigned add-on for color.stage.mozaws.net “
  6. Follow the instructions on the doorhangers and install the Firefox Color add-on

Steps to reproduce:

  1. Access https://color.stage.mozaws.net/
  2. Click on the “Advanced colors” tab
  3. Set a color for the “Button Background Active” property, for example Yellow
  4. Set a color for the “Button Background Hover” property, for example Red
  5. Observe that the Back Button is colored in red
  6. Hover over the Back Button
  7. Observe that the Back Button will become colored in yellow

Expected results:
The “Button Background Active” and the “Button Background Hover” properties should be reversed for the Back Button.

Example:
In the case mentioned above, the “Button Background Active” property is set to Yellow and the “Button Background Hover” property is set to Red, as such:

  • when not hovering over the Back Button, it should be Yellow
  • when hovering over the Back Button, it should turn Red

Actual results:
The “Button Background Active” and the “Button Background Hover” properties are incorrectly reversed for the Back Button.

Example:
In the case mentioned above, the “Button Background Active” property is set to Yellow and the “Button Background Hover” property is set to Red, as such:

  • when not hovering over the Back Button, it is Red
  • when hovering over the Back Button, it turns Yellow

Affected versions:

  • Nightly 79.0b1/20200629224419
  • Beta Developer Edition 80.0a1/20200629154604

Affected OSes:

  • Windows 10 64-bit
  • Ubuntu 16.04 LTS

reversed properties back button

主要语言
JavaScript
星标
506
派生
100
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla/FirefoxColor 的其他 Issue

查看 mozilla/FirefoxColor 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。