зеркало из https://github.com/mozilla/pjs.git
Fix buggy test; rgb() non-% arguments are required to be integers. a=tests
This commit is contained in:
Родитель
19b101f0cc
Коммит
c03f31ddb6
|
@ -510,8 +510,8 @@ var gCSSProperties = {
|
|||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "transparent", "rgba(255, 127, 15, 0)", "hsla(240, 97%, 50%, 0.0)", "rgba(0, 0, 0, 0)", "rgba(255,255,255,-3.7)" ],
|
||||
other_values: [ "green", "rgb(255, 0, 128)", "rgb(255.0,0.387,3489)", "#fc2", "#96ed2a", "black", "rgba(255,255,0,3)" ],
|
||||
invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000" ]
|
||||
other_values: [ "green", "rgb(255, 0, 128)", "#fc2", "#96ed2a", "black", "rgba(255,255,0,3)" ],
|
||||
invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000", "rgb(255.0,0.387,3489)" ]
|
||||
},
|
||||
"background-image": {
|
||||
domProp: "backgroundImage",
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
var gNotAccepted = {
|
||||
"-moz-column-width": [ "50%" ],
|
||||
"-moz-user-select": [ "auto" ],
|
||||
"background-color": [ "rgb(255.0,0.387,3489)" ],
|
||||
"list-style": [ "none disc outside" ],
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@ var gShorthandsWithoutCondensingSerialize = {
|
|||
var gNotAccepted = {
|
||||
"-moz-column-width": [ "50%" ],
|
||||
"-moz-user-select": [ "auto" ],
|
||||
"background-color": [ "rgb(255.0,0.387,3489)" ],
|
||||
"list-style": [ "none disc outside" ],
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче