Closed Bug 1422187 Opened 7 years ago Closed 7 years ago

The hover action for a browser action popup stays partially highlighted after hover release

Categories

(WebExtensions :: Untriaged, defect, P3)

57 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1422611

People

(Reporter: jta40, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(3 files)

Attached image bug.gif
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171128222554

Steps to reproduce:

1. Create a manifest.json with the following contents:

{

  "manifest_version": 2,
  "name": "test",
  "version": "1.0.0",

  "browser_action": {
    "browser_style": true,
    "default_popup": "choose_page.html"
  }

}

2. In the same folder, create a file called choose_page.css with the following contents:

html, body {
  width: 250px;
}

.common {
}

.common:hover {
  background-color: #CFF2F2;
}

3. In the same folder, create an html page called choose_page.html with the following contents:

<!DOCTYPE html>

<html>
  <head>
    <link rel="stylesheet" href="choose_page.css"/>
  </head>

<body>
  <div class="common">Enable/Disable</div>
  <div class="common" id="sidebar">Show/Hide</div>
</body>

</html>

4. Navigate to about:debugging#addons in your firefox browser.

5. Click on the "Load Temporary Add-on" button.

6. Select the manifest file that you created earlier and select load.

7. Click on the new browser add-on button in the upper right hand corner of your browser represented by a green puzzle piece.

8. Hover over the two items in the popup menu that shows up.


Actual results:

The first item in the pop-up is partially highlighted even after you are hovering on the second element and vice versa. The second element remained partially highlighted even after the mouse left the popup altogether.


Expected results:

The first element highlight disappears once you move to the second element and vice versa. The second element should not have remained partially highlighted even after the mouse left the popup altogether.
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → WebExtensions: Untriaged
Ever confirmed: true
Keywords: testcase
Product: Firefox → Toolkit
Attached file testcase.zip
See Also: → 1422611
Blocks: webext-oop
Priority: -- → P3
This might be a dupe of bug 1422187, so marking as a dupe.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: