Closed Bug 1402460 Opened 7 years ago Closed 7 years ago

Row selection styles should have more specificity than row hovering

Categories

(DevTools :: JSON Viewer, enhancement, P3)

enhancement

Tracking

(firefox57 fix-optional, firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox57 --- fix-optional
firefox58 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

Details

Attachments

(1 file)

1. Load data:application/json,[1,2]
2. Hover the first row, it becomes lightly highlighted.
3. Click it. The row becomes selected but this is not observable because the row is still hovered.
4. Hover the second row. The first row suddenly becomes heavily highlighted. This is confusing.

Expected:
1. Load data:application/json,[1,2]
2. Hover the first row, it becomes lightly highlighted.
3. Click it. The row becomes heavily highlighted.
4. Hover the second row. The second row becomes lightly highlighted and the first one stays heavily highlighted.
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Comment on attachment 8912652 [details]
Bug 1402460 - Let row selection styles have more precedence than row hovering

https://reviewboard.mozilla.org/r/183978/#review190064

Works nice, thanks!

R+, but please put a comment in the code explaining why we are using `not(.selected)`.

Honza
Attachment #8912652 - Flags: review?(odvarko) → review+
OK, and I have also simplified some styles. I don't now how to request review again, so I use needinfo.
Flags: needinfo?(odvarko)
Comment on attachment 8912652 [details]
Bug 1402460 - Let row selection styles have more precedence than row hovering

https://reviewboard.mozilla.org/r/183978/#review190584

LGTM thanks!

Honza
Flags: needinfo?(odvarko)
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/de65572822c6
Let row selection styles have more precedence than row hovering r=Honza
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/de65572822c6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: