File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -481,6 +481,8 @@ var Properties = {
481
481
"text-transform" : "capitalize | uppercase | lowercase | none | inherit" ,
482
482
"text-wrap" : "normal | none | avoid" ,
483
483
"top" : "<margin-width> | inherit" ,
484
+ "-ms-touch-action" : "auto | none | pan-x | pan-y" ,
485
+ "touch-action" : "auto | none | pan-x | pan-y" ,
484
486
"transform" : 1 ,
485
487
"transform-origin" : 1 ,
486
488
"transform-style" : 1 ,
Original file line number Diff line number Diff line change 674
674
}
675
675
} ) ) ;
676
676
677
+ suite . add ( new ValidationTestCase ( {
678
+ property : "-ms-touch-action" ,
679
+
680
+ valid : [
681
+ "auto" ,
682
+ "none" ,
683
+ "pan-x" ,
684
+ "pan-y"
685
+ ] ,
686
+
687
+ invalid : {
688
+ "foo" : "Expected (auto | none | pan-x | pan-y) but found 'foo'."
689
+ }
690
+ } ) ) ;
691
+
692
+ suite . add ( new ValidationTestCase ( {
693
+ property : "touch-action" ,
694
+
695
+ valid : [
696
+ "auto" ,
697
+ "none" ,
698
+ "pan-x" ,
699
+ "pan-y"
700
+ ] ,
701
+
702
+ invalid : {
703
+ "foo" : "Expected (auto | none | pan-x | pan-y) but found 'foo'."
704
+ }
705
+ } ) ) ;
706
+
677
707
suite . add ( new ValidationTestCase ( {
678
708
property : "z-index" ,
679
709
You can’t perform that action at this time.
0 commit comments