mkFirefoxModule: fix userChrome with leading comment (#6836)
userChrome lines that started with a leading comment would cause an eval failure.
This commit is contained in:
parent
c6b75d69b6
commit
c3c91dd8b4
4 changed files with 24 additions and 9 deletions
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
This is a simple comment that should be written inside the `chrome/userChrome.css`
|
||||
*/
|
||||
|
||||
#urlbar {
|
||||
min-width: none !important;
|
||||
border: none !important;
|
||||
|
|
|
|||
|
|
@ -18,14 +18,17 @@ in
|
|||
basic.isDefault = true;
|
||||
lines = {
|
||||
id = 1;
|
||||
userChrome = # CSS
|
||||
''
|
||||
#urlbar {
|
||||
min-width: none !important;
|
||||
border: none !important;
|
||||
outline: none !important;
|
||||
}
|
||||
'';
|
||||
userChrome = ''
|
||||
/*
|
||||
This is a simple comment that should be written inside the `chrome/userChrome.css`
|
||||
*/
|
||||
|
||||
#urlbar {
|
||||
min-width: none !important;
|
||||
border: none !important;
|
||||
outline: none !important;
|
||||
}
|
||||
'';
|
||||
};
|
||||
path = {
|
||||
id = 2;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
This is a simple comment that should be written inside the `chrome/userChrome.css`
|
||||
*/
|
||||
|
||||
#urlbar {
|
||||
min-width: none !important;
|
||||
border: none !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue