Fix buggy test; rgb() non-% arguments are required to be integers. a=tests

This commit is contained in:
dbaron%dbaron.org 2008-03-13 15:24:22 +00:00
Родитель 19b101f0cc
Коммит c03f31ddb6
3 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -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" ],
};