New issue
Advanced search Search tips

Issue 911303 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Style is not applied in devtool if the CSS variable name is camelCased

Reported by snikobon...@gmail.com, Dec 3

Issue description

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

Steps to reproduce the problem:
1. Open https://codepen.io/samatwork/pen/jQRrKG?editors=1100
2. Open the devtool
3. try using the CSS variables as style for background-color

What is the expected behavior?
The styles should be updated and applied to the element

What went wrong?
The CSS variables that use camelCase names do not get applied and their name is appeared as all lowercase in the devtool.

Did this work before? N/A 

Chrome version: 70.0.3538.110  Channel: stable
OS Version: OS X 10.14.1
Flash Version: 

In Firefox this works properly.
 
chrome-css-variable-bug.gif
1.7 MB View Download
Components: -Platform>DevTools Platform>DevTools>Authoring
Owner: alph@chromium.org
Status: Started (was: Unconfirmed)
Owner: l...@chromium.org
Status: Assigned (was: Started)
Erik, could you please take a look.

Sign in to add a comment