File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ var Properties = {
523523 "user-select" : "none | text | toggle | element | elements | all | inherit" ,
524524
525525 //V
526- "vertical-align" : "auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>" ,
526+ "vertical-align" : "auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length> | inherit " ,
527527 "visibility" : "visible | hidden | collapse | inherit" ,
528528 "voice-balance" : 1 ,
529529 "voice-duration" : 1 ,
Original file line number Diff line number Diff line change 954954 }
955955 } ) ) ;
956956
957+ suite . add ( new ValidationTestCase ( {
958+ property : "vertical-align" ,
959+
960+ valid : [
961+ "baseline" ,
962+ "sub" ,
963+ "super" ,
964+ "top" ,
965+ "text-top" ,
966+ "middle" ,
967+ "bottom" ,
968+ "text-bottom" ,
969+ "25%" ,
970+ "-1px" ,
971+ "inherit"
972+ ] ,
973+
974+ invalid : {
975+ "foo" : "Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length> | inherit) but found 'foo'."
976+ }
977+ } ) ) ;
978+
957979 suite . add ( new ValidationTestCase ( {
958980 property : "z-index" ,
959981
You can’t perform that action at this time.
0 commit comments