Add some tests for invalid values of 'font-family' (related to bug 481502)

This commit is contained in:
L. David Baron 2009-03-31 12:37:40 -07:00
parent 5ce8f74526
commit 1eebde3c7c

View File

@ -1066,8 +1066,8 @@ var gCSSProperties = {
inherited: true,
type: CSS_TYPE_LONGHAND,
initial_values: [ "serif" ],
other_values: [ "sans-serif", "Times New Roman, serif", "'Times New Roman', serif", "cursive", "fantasy" ],
invalid_values: []
other_values: [ "sans-serif", "Times New Roman, serif", "'Times New Roman', serif", "cursive", "fantasy", "\"Times New Roman", "Times, \"Times New Roman" ],
invalid_values: [ "\"Times New\" Roman" ]
},
"font-size": {
domProp: "fontSize",