зеркало из https://github.com/mozilla/gecko-dev.git
Bug 988702 patch 1 - Remove duplication between invalidGradientAndElementValues and the list of invalid values in background-image. r=heycam
Values that are already in invalidGradientAndElementValues don't also need to be listed in an array that has invalidGradientAndElementValues appended to it.
This commit is contained in:
Родитель
0ba1ea4c45
Коммит
0c7167f1d9
|
@ -1925,11 +1925,6 @@ var gCSSProperties = {
|
|||
"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==), url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==)",
|
||||
].concat(validGradientAndElementValues),
|
||||
invalid_values: [
|
||||
"-moz-element(#a:1)",
|
||||
"-moz-element(a#a)",
|
||||
"-moz-element(#a a)",
|
||||
"-moz-element(#a+a)",
|
||||
"-moz-element(#a()",
|
||||
].concat(invalidGradientAndElementValues)
|
||||
},
|
||||
"background-origin": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче