File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ var Properties = module.exports = {
9393 "border-color" : "<color>{1,4}" ,
9494 "border-image" : 1 ,
9595 "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}" ,
9797 "border-image-slice" : "<border-image-slice>" ,
9898 "border-image-source" : "<image> | none" ,
9999 "border-image-width" : "[ <length> | <percentage> | <number> | auto ]{1,4}" ,
Original file line number Diff line number Diff line change @@ -502,6 +502,23 @@ var YUITest = require("yuitest"),
502502 }
503503 } ) ) ;
504504
505+ suite . add ( new ValidationTestCase ( {
506+ property : "border-image-repeat" ,
507+
508+ valid : [
509+ "stretch" ,
510+ "repeat" ,
511+ "round" ,
512+ "space" ,
513+ "round stretch"
514+ ] ,
515+
516+ invalid : {
517+ "foo" : "Expected ([ stretch | repeat | round | space ]{1,2}) but found 'foo'." ,
518+ "round stretch foo" : "Expected end of value but found 'foo'."
519+ }
520+ } ) ) ;
521+
505522 suite . add ( new ValidationTestCase ( {
506523 property : "border-image-slice" ,
507524
You can’t perform that action at this time.
0 commit comments