Closed Bug 1012811 Opened 11 years ago Closed 11 years ago

Color swatch background doesn't stay in the right place while scrolling

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: ntim, Assigned: ntim)

References

Details

Attachments

(1 file, 1 obsolete file)

STR : - Open inspector - Select element with color related css - scroll the computed/rules view
Blocks: 956044
(In reply to Tim Nguyen [:ntim] from comment #0) > STR : > - Open inspector > - Select element with color related css > - scroll the computed/rules view I only see this on the computed view, but it is a really weird effect
(In reply to Brian Grinstead [:bgrins] from comment #2) > (In reply to Tim Nguyen [:ntim] from comment #0) > > STR : > > - Open inspector > > - Select element with color related css > > - scroll the computed/rules view > > I only see this on the computed view, but it is a really weird effect Yep, you're right, it's just in the computed view. But I still included some code to avoid this on the rules view.
Attached patch Patch v1 (obsolete) — Splinter Review
This seems to fix the issue.
Attachment #8425012 - Flags: review?(bgrinstead)
Comment on attachment 8425012 [details] [diff] [review] Patch v1 Review of attachment 8425012 [details] [diff] [review]: ----------------------------------------------------------------- Nice, fixes the problem. In addition to the noted change, can you also remove the trailing whitespace that got introduced after .link:hover in computedview.css in latest fx-team? ::: browser/themes/shared/devtools/ruleview.css @@ +130,5 @@ > background-size: 12px 12px; > background-position: 0 0, 6px 6px; > position: absolute; > border-radius: 50%; > width: 1em; we shouldn't need width/height to be set anymore with the top/bottom/left/right set to 0.
Attachment #8425012 - Flags: review?(bgrinstead)
(In reply to Brian Grinstead [:bgrins] from comment #5) > Comment on attachment 8425012 [details] [diff] [review] > Patch v1 > > Review of attachment 8425012 [details] [diff] [review]: > ----------------------------------------------------------------- > > Nice, fixes the problem. In addition to the noted change, can you also > remove the trailing whitespace that got introduced after .link:hover in > computedview.css in latest fx-team? Sure :)
Attached patch Patch v1.1Splinter Review
Addressed comments.
Attachment #8425012 - Attachment is obsolete: true
Attachment #8425036 - Flags: review?(bgrinstead)
Attachment #8425036 - Flags: review?(bgrinstead) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: