Closed
Bug 1088789
Opened 10 years ago
Closed 10 years ago
Undefined negative-space CSS variable
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 36
People
(Reporter: mossop, Assigned: bgrins)
References
Details
Attachments
(1 file)
1.25 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
Seeing lots of these errors while running tests on fx-team right now: Property contained reference to invalid variable. Error in parsing value for 'transform'. Falling back to 'initial'." {file: "chrome://browser/skin/browser.css" line: 7287 column: 226408 source: " translateY(calc(0px - var(--negative-space)))"} negative-space doesn't seem to be defined anywhere.
Assignee | ||
Comment 1•10 years ago
|
||
Dang, that should have been --space-above-tabbar. I'll submit a fix
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
This was a mistake between reviews. Because of a limitation with variables where I couldn't do: -var(--foo) to get a negated version of the variable I originally just added an extra variable like this: --space-above-tabbar: 9px; --negative-space: -9px; Then we figured out that you could do this instead and not have to duplicate the variable name: calc(0px - var(--foo)) So I switched to the expression but forgot to change the name in this attachment: https://bugzilla.mozilla.org/attachment.cgi?bugid=1088789&action=enter :(
Attachment #8511196 -
Flags: review?(jaws)
Comment 3•10 years ago
|
||
Comment on attachment 8511196 [details] [diff] [review] variable-fix.patch Review of attachment 8511196 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks for the back-story.
Attachment #8511196 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/1c7ed7ed67ab
Whiteboard: [fixed-in-fx-team]
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1c7ed7ed67ab
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
Comment 6•10 years ago
|
||
Lande this on gum: https://hg.mozilla.org/projects/gum/rev/e7ee9481e0a7
Updated•10 years ago
|
status-firefox35:
--- → fixed
status-firefox36:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•