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)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: ntim, Assigned: ntim)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.25 KB,
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
STR :
- Open inspector
- Select element with color related css
- scroll the computed/rules view
| Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
(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
| Assignee | ||
Comment 3•11 years ago
|
||
(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.
| Assignee | ||
Comment 4•11 years ago
|
||
This seems to fix the issue.
Attachment #8425012 -
Flags: review?(bgrinstead)
Comment 5•11 years ago
|
||
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)
| Assignee | ||
Comment 6•11 years ago
|
||
(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 :)
| Assignee | ||
Comment 7•11 years ago
|
||
Addressed comments.
Attachment #8425012 -
Attachment is obsolete: true
Attachment #8425036 -
Flags: review?(bgrinstead)
Updated•11 years ago
|
Attachment #8425036 -
Flags: review?(bgrinstead) → review+
Comment 8•11 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•