File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ var Properties = module.exports = {
93
93
"border-color" : "<color>{1,4}" ,
94
94
"border-image" : 1 ,
95
95
"border-image-outset" : "[ <length> | <number> ]{1,4}" ,
96
- "border-image-repeat" : "[ stretch | repeat | round ]{1,2}" ,
96
+ "border-image-repeat" : "[ stretch | repeat | round | space ]{1,2}" ,
97
97
"border-image-slice" : "<border-image-slice>" ,
98
98
"border-image-source" : "<image> | none" ,
99
99
"border-image-width" : "[ <length> | <percentage> | <number> | auto ]{1,4}" ,
Original file line number Diff line number Diff line change @@ -502,6 +502,20 @@ var YUITest = require("yuitest"),
502
502
}
503
503
} ) ) ;
504
504
505
+ suite . add ( new ValidationTestCase ( {
506
+ property : "border-image-repeat" ,
507
+
508
+ valid : [
509
+ "stretch" ,
510
+ "round stretch"
511
+ ] ,
512
+
513
+ invalid : {
514
+ "foo" : "Expected ([ stretch | repeat | round | space ]{1,2}) but found 'foo'." ,
515
+ "round stretch foo" : "Expected end of value but found 'foo'."
516
+ }
517
+ } ) ) ;
518
+
505
519
suite . add ( new ValidationTestCase ( {
506
520
property : "border-image-slice" ,
507
521
You can’t perform that action at this time.
0 commit comments