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 = {
523
523
"user-select" : "none | text | toggle | element | elements | all | inherit" ,
524
524
525
525
//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 " ,
527
527
"visibility" : "visible | hidden | collapse | inherit" ,
528
528
"voice-balance" : 1 ,
529
529
"voice-duration" : 1 ,
Original file line number Diff line number Diff line change 954
954
}
955
955
} ) ) ;
956
956
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
+
957
979
suite . add ( new ValidationTestCase ( {
958
980
property : "z-index" ,
959
981
You can’t perform that action at this time.
0 commit comments