Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron

This commit is contained in:
Jesse Ruderman 2011-10-21 21:03:16 -07:00
Родитель e834d05c16
Коммит b9769b6f68
1 изменённых файлов: 4 добавлений и 4 удалений

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

@ -49,7 +49,7 @@ const CSS_TYPE_SHORTHAND_AND_LONGHAND = 2;
// Each property has the following fields:
// domProp: The name of the relevant member of nsIDOM[NS]CSS2Properties
// inherited: Whether the property is inherited by default (stated as
// inherited: Whether the property is inherited by default (stated as
// yes or no in the property header in all CSS specs)
// type: see above
// get_computed: if present, the property's computed value shows up on
@ -1833,7 +1833,7 @@ var gCSSProperties = {
inherited: true,
type: CSS_TYPE_LONGHAND,
initial_values: [ "show" ],
other_values: [ "hide" ],
other_values: [ "hide", "-moz-show-background" ],
invalid_values: []
},
"float": {
@ -1874,7 +1874,7 @@ var gCSSProperties = {
inherited: true,
type: CSS_TYPE_LONGHAND,
initial_values: [ "normal" ],
other_values: [ "'TRK'", "\"TRK\"", "'N\\'Ko'" ],
other_values: [ "'ENG'", "'TRK'", "\"TRK\"", "'N\\'Ko'" ],
invalid_values: [ "TRK" ]
},
"font-size": {
@ -1935,7 +1935,7 @@ var gCSSProperties = {
type: CSS_TYPE_LONGHAND,
initial_values: [ "normal", "400" ],
other_values: [ "bold", "100", "200", "300", "500", "600", "700", "800", "900", "bolder", "lighter" ],
invalid_values: [ "107", "399", "401", "699", "710" ]
invalid_values: [ "0", "100.0", "107", "399", "401", "699", "710", "1000" ]
},
"height": {
domProp: "height",