Open Bug 1315493 Opened 8 years ago Updated 2 years ago

CSS warnings "Property contained reference to invalid variable. Error in parsing value for..." when starting up Nightly

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(firefox49 affected, firefox50 affected, firefox51 affected, firefox52 wontfix, firefox53 affected, firefox54 affected)

Tracking Status
firefox49 --- affected
firefox50 --- affected
firefox51 --- affected
firefox52 --- wontfix
firefox53 --- affected
firefox54 --- affected

People

(Reporter: magicp.jp, Unassigned)

References

Details

Attachments

(1 file)

Attached file testcase.htm
Steps to Reproduce:

[In case of start up]
1. Start latest Nightly
2. Open Browser Console (Ctrl+Shift+J) > Enable CSS warnings filter
3. Confirm CSS warnings in Browser Console

[In case of testcase.htm]
1. Start Firefox 50 beta
2. Open Browser Console (Ctrl+Shift+J) > Enable CSS warnings filter
3. Open testcase.htm
4. Check CSS warnings (probably no warnings)
5. Reload testcase.htm
6. CSS warnings are displayed (I don't know why after reloading?)

[In case of DevTools]
1. Start any versions Firefox
2. Open Browser Console (Ctrl+Shift+J) > Enable CSS warnings filter
3. Open Style Editor(Shift+F7)
4. Confirm CSS warnings in Browser Console

Actual Results:
The following warnings are displayed...

[In case of start up]
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  webconsole.css:406:9402
Property contained reference to invalid variable.  Error in parsing value for ‘border-top-color’.  Falling back to ‘initial’.  webconsole.css:407:9459
Property contained reference to invalid variable.  Error in parsing value for ‘border-top-style’.  Falling back to ‘initial’.  webconsole.css:407:9459
Property contained reference to invalid variable.  Error in parsing value for ‘border-top-width’.  Falling back to ‘initial’.  webconsole.css:407:9459
Property contained reference to invalid variable.  Error in parsing value for ‘background-image’.  Falling back to ‘initial’.  webconsole.css:444:10354
Property contained reference to invalid variable.  Error in parsing value for ‘border-bottom-width’.  Falling back to ‘initial’.  widgets.css:85:2908
Property contained reference to invalid variable.  Error in parsing value for ‘border-top-width’.  Falling back to ‘initial’.  widgets.css:84:2850
Property contained reference to invalid variable.  Error in parsing value for ‘min-height’.  Falling back to ‘initial’.  widgets.css:82:2742
Property contained reference to invalid variable.  Error in parsing value for ‘margin-bottom’.  Falling back to ‘initial’.  widgets.css:87:3041
Property contained reference to invalid variable.  Error in parsing value for ‘margin-top’.  Falling back to ‘initial’.  widgets.css:86:2972

[In case of testcase.htm]
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  testcase.htm:12:60
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  testcase.htm:43:513
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  testcase.htm:30:328
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  testcase.htm:37:428

[In case of DevTools]
Property contained reference to invalid variable.  Error in parsing value for ‘background-attachment’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-clip’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-image’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-origin’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-position-x’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-position-y’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-repeat’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘background-size’.  Falling back to ‘initial’.  light-theme.css:16:385
Property contained reference to invalid variable.  Error in parsing value for ‘border-right-color’.  Falling back to ‘initial’.  light-theme.css:252:5966
Property contained reference to invalid variable.  Error in parsing value for ‘background-color’.  Falling back to ‘initial’.  light-theme.css:253:6017


Expected Results:
No invalid variables and parsing errors
Has STR: --- → yes
> [In case of testcase.htm]
> 1. Start Firefox 50 beta
> 2. Open Browser Console (Ctrl+Shift+J) > Enable CSS warnings filter
> 3. Open testcase.htm
Open testcase.htm in local
See Also: → 1313768
I cannot reproduce the case of testcase.html on Nightly and 52b4, but I can see the warnings for the other two cases.

I would suggest this is probably an issue of devtools frontend rather than in our style system.
Component: CSS Parsing and Computation → Developer Tools
Product: Core → Firefox
Too late for firefox 52, mass-wontfix.
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: