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 = {
481481 "text-transform" : "capitalize | uppercase | lowercase | none | inherit" ,
482482 "text-wrap" : "normal | none | avoid" ,
483483 "top" : "<margin-width> | inherit" ,
484+ "-ms-touch-action" : "auto | none | pan-x | pan-y" ,
485+ "touch-action" : "auto | none | pan-x | pan-y" ,
484486 "transform" : 1 ,
485487 "transform-origin" : 1 ,
486488 "transform-style" : 1 ,
Original file line number Diff line number Diff line change 674674 }
675675 } ) ) ;
676676
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+
677707 suite . add ( new ValidationTestCase ( {
678708 property : "z-index" ,
679709
You can’t perform that action at this time.
0 commit comments