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

Issue 595231 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
(inactive)
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

CSS variable with color-like ident triggers a color swatch

Reported by myakura....@gmail.com, Mar 16 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2626.0 Safari/537.36

Steps to reproduce the problem:
1. go to https://jsfiddle.net/wm7qaxcz/
2. inspect "hello" in the bottom right pane
3. check out the styles applied to the span element

What is the expected behavior?
there is no color swatch in between "--" and "blue"

What went wrong?
the "blue" in "var(--blue)" is mistakenly interpreted as a color and blue color swatch inserted before "blue".

Did this work before? N/A 

Chrome version: 50.0.2626.0  Channel: canary
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 21.0 r0
 
Screen Shot 2016-03-16 at 14.18.04.png
5.2 KB View Download

Comment 1 by caseq@chromium.org, Mar 16 2016

Cc: samli@chromium.org
Components: -Platform>DevTools Platform>DevTools>Editing
Labels: -OS-Mac OS-All
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by samli@chromium.org, Mar 20 2016

Cc: -samli@chromium.org lushnikov@chromium.org
Owner: samli@chromium.org

Comment 3 by samli@chromium.org, Mar 21 2016

Cc: samli@chromium.org
 Issue 596199  has been merged into this issue.

Comment 5 by samli@chromium.org, Mar 22 2016

Status: Fixed (was: Assigned)
Components: Platform>DevTools>Authoring
Components: Platform>DevTools

Sign in to add a comment