File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ var Properties = {
469
469
"target-name" : 1 ,
470
470
"target-new" : 1 ,
471
471
"target-position" : 1 ,
472
- "text-align" : "left | right | center | justify | inherit" ,
472
+ "text-align" : "left | right | center | justify | match-parent | start | end | inherit" ,
473
473
"text-align-last" : 1 ,
474
474
"text-decoration" : 1 ,
475
475
"text-emphasis" : 1 ,
Original file line number Diff line number Diff line change 791
791
} ) ) ;
792
792
} ) ;
793
793
794
+ suite . add ( new ValidationTestCase ( {
795
+ property : "text-align" ,
796
+
797
+ valid : [
798
+ "left" ,
799
+ "right" ,
800
+ "center" ,
801
+ "justify" ,
802
+ "match-parent" ,
803
+ "start" ,
804
+ "end" ,
805
+ "inherit"
806
+ ] ,
807
+
808
+ invalid : {
809
+ "foo" : "Expected (left | right | center | justify | match-parent | start | end | inherit) but found 'foo'."
810
+ }
811
+ } ) ) ;
812
+
794
813
suite . add ( new ValidationTestCase ( {
795
814
property : "text-rendering" ,
796
815
You can’t perform that action at this time.
0 commit comments