New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 817405 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Color Palettes' "Page colors" shows colors based on CSS # selectors

Reported by yuriy...@gmail.com, Feb 28 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Create a plain html file with a <style> element
2. Add ID selector based empty CSS rules (and at the same time valid hex colors), like `#f00 {} #f0f {}`
3. Open DevTools, select body element and in "Styles" tab add a new rule related to a color (i.e: `color: red`) in order to being able to open the color picker
4. Open the "Color palettes" part by clicking the lower arrows
5. Expand the "Page colors" pane

What is the expected behavior?
Only real colors should appear in "Page colors", based on CSS rules' values.

What went wrong?
The pane shows colors parsed from ID selectors, like `#f00` or `#f0f` (along with the real Page Colors).

Did this work before? N/A 

Chrome version: 64.0.3282.186  Channel: stable
OS Version: 10.0
Flash Version:
 
page_colors.png
39.3 KB View Download
Labels: Needs-Triage-M64
Cc: sindhu.chelamcherla@chromium.org
Labels: Triaged-ET Needs-Feedback
@Reporter: Could you please provide sample test file/ URL to test this issue. This would help in triaging the issue in a better way.

Thanks!

Comment 3 by yuriy...@gmail.com, Mar 1 2018

It's just a plain html file with content like in the screenshot
tmp.html
78 bytes View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 1 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: M-67 Target-67 FoundIn-67 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.13.3, Win-10 and Ubuntu 14.04 using chrome reported version #64.0.3282.186 and latest canary #67.0.3361.0.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 6 by caseq@chromium.org, Mar 11 2018

Cc: aboxhall@chromium.org
Components: -Platform>DevTools Platform>DevTools>Authoring
Owner: l...@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment