File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -474,6 +474,7 @@ var Properties = {
474474 "word-break" : "normal | keep-all | break-all" ,
475475 "word-spacing" : "<length> | normal | inherit" ,
476476 "word-wrap" : 1 ,
477+ "writing-mode" : "horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb | inherit" ,
477478
478479 //Z
479480 "z-index" : "<integer> | auto | inherit" ,
Original file line number Diff line number Diff line change 699699 }
700700 } ) ) ;
701701
702+ suite . add ( new ValidationTestCase ( {
703+ property : "writing-mode" ,
704+
705+ valid : [
706+ "horizontal-tb" ,
707+ "vertical-rl" ,
708+ "vertical-lr" ,
709+ "lr-tb" ,
710+ "rl-tb" ,
711+ "tb-rl" ,
712+ "bt-rl" ,
713+ "tb-lr" ,
714+ "bt-lr" ,
715+ "lr-bt" ,
716+ "rl-bt" ,
717+ "lr" ,
718+ "rl" ,
719+ "tb" ,
720+ "inherit"
721+ ] ,
702722
723+ invalid : {
724+ "foo" : "Expected (horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb | inherit) but found 'foo'."
725+ }
726+ } ) ) ;
703727
704728 YUITest . TestRunner . add ( suite ) ;
705729
You can’t perform that action at this time.
0 commit comments