Closed Bug 1402232 Opened 7 years ago Closed 2 years ago

CSS variables computed values do not update when the variable is updated

Categories

(DevTools :: Inspector: Rules, defect, P2)

defect

Tracking

(firefox57 wontfix)

RESOLVED WORKSFORME
Tracking Status
firefox57 --- wontfix

People

(Reporter: pbro, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image vars.gif (deleted) —
STR: - open the following URL in a new tab data:text/html,<style>body{--foo:25px;margin:var(--foo);} - open the inspector - move your mouse over the margin value in the rule-view ==> the tooltip shows --foo = 25px which is correct - now click on the value of --foo, on the line above, and change it to something else - now display the tooltip again Actual: it still displays the same --foo = 25px Expected: it should display the new, updated, value
Priority: -- → P2
Product: Firefox → DevTools
Severity: normal → S3

Following steps from comment 0, it does seem to work properly now

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: