Closed
Bug 1303355
Opened 8 years ago
Closed 8 years ago
Error in parsing value for -moz-box-pack, chrome://mozapps/skin/extensions/newaddon.css
Categories
(Toolkit :: Add-ons Manager, defect, P5)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: florian, Unassigned, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=css] triaged)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
Error in parsing value for ‘-moz-box-pack’. Declaration dropped." {file: "chrome://mozapps/skin/extensions/newaddon.css" line: 94 column: 17 source: " -moz-box-pack: stretch;"}
The error is at this line:
http://searchfox.org/mozilla-central/rev/f6c298b36db67a7109079c0dd7755f329c1d58e2/toolkit/themes/shared/extensions/newaddon.inc.css#105
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
Component: Theme → Add-ons Manager
Product: Firefox → Toolkit
Updated•8 years ago
|
Priority: P3 → --
Reporter | ||
Comment 1•8 years ago
|
||
Given that in its current state it does nothing (but a warning), I think we can safely just remove the line.
Mentor: florian
Keywords: good-first-bug
Reporter | ||
Updated•8 years ago
|
Whiteboard: [lang=css]
Updated•8 years ago
|
Priority: -- → P5
Whiteboard: [lang=css] → [lang=css] triaged
Comment 2•8 years ago
|
||
Hello, can I work on this bug please? :-)
Reporter | ||
Comment 3•8 years ago
|
||
Sure. The first step will be to download the Firefox source code (if you haven't done this yet). Then follow the indications in the bug description to find the exact line of code that's causing the error.
Comment 4•8 years ago
|
||
Attachment #8797763 -
Flags: review?(florian)
Reporter | ||
Comment 5•8 years ago
|
||
Comment on attachment 8797763 [details] [diff] [review]
remove-unused-line.patch
Thanks for the patch.
Sorry, I made a mistake in the description of the bug, the line that is causing the CSS error is "-moz-box-pack: stretch;", it's at this line: http://searchfox.org/mozilla-central/rev/f6c298b36db67a7109079c0dd7755f329c1d58e2/toolkit/themes/shared/extensions/newaddon.inc.css#95
Could you please configure mercurial so that your patch contains 8 lines of context next time?
./mach mercurial-setup
should do it automatically for you.
Attachment #8797763 -
Flags: review?(florian)
Comment 6•8 years ago
|
||
How can I test by myself that the error disappear ?
How did you the error ?
Error in parsing value for ‘-moz-box-pack’. Declaration dropped." {file: "chrome://mozapps skin/extensions/newaddon.css" line: 94 column: 17 source: " -moz-box-pack: stretch;"}'
Thanks
Reporter | ||
Comment 7•8 years ago
|
||
(In reply to sky from comment #6)
> How can I test by myself that the error disappear ?
>
> How did you the error ?
The way I saw the error is by applying the patch in bug 1221383 and then running:
./mach test browser/base/content/test/general/browser_parsable_css.js
This CSS file is used by the about:newaddon page, but I don't see a simple way to get it to open. (attachment 8523525 [details] shows what this page looks like).
Comment 8•8 years ago
|
||
Thanks
Comment 9•8 years ago
|
||
Attachment #8797763 -
Attachment is obsolete: true
Attachment #8801187 -
Flags: review?(florian)
Reporter | ||
Comment 10•8 years ago
|
||
Comment on attachment 8801187 [details] [diff] [review]
remove-unused-line.patch
Looks good, thanks!
Your patch doesn't include a commit message or author information, usually on hg changesets the author is in the form: Full Name <email>
Flags: needinfo?(sky)
Attachment #8801187 -
Flags: review?(florian) → review+
Reporter | ||
Comment 11•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #10)
> Your patch doesn't include a commit message or author information, usually
> on hg changesets the author is in the form: Full Name <email>
Ah, I see you used "Vincent Lequertier <sky@riseup.net>" in other bugs you fixed.
Flags: needinfo?(sky)
Reporter | ||
Comment 12•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/02397de5394827e5de1623c9ed13493222bcc048
Bug 1303355 - Error in parsing value for -moz-box-pack, chrome://mozapps/skin/extensions/newaddon.css, r=florian.
Comment 13•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 14•8 years ago
|
||
So strange, I have those lines in ~/.hgrc:
[ui]
username = Vincent Lequertier <sky@riseup.net>
But it seems like it wasn't honored when I generated the patch.
Thank you for your help!
You need to log in
before you can comment on or make changes to this bug.
Description
•