Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f906014
commit a5bcf77
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
r: 2 | ||
spec: "http://www.w3.org/TR/css3-background/" | ||
sources: ["https://github.com/Modernizr/Modernizr"] | ||
title: "CSS3 BorderImage" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
test("CSS border-image", function() { | ||
|
||
var elem = document.createElement("div"); | ||
|
||
assert( H.test.cssProp( elem, "borderImageSource", true ), "border-image-source supported" ); | ||
assert( H.test.cssProp( elem, "borderImageSlice", true ), "border-image-slice supported" ); | ||
assert( H.test.cssProp( elem, "borderImageWidth", true ), "border-image-width supported" ); | ||
assert( H.test.cssProp( elem, "borderImageOutset", true ), "border-image-outset supported" ); | ||
assert( H.test.cssProp( elem, "borderImageRepeat", true ), "border-image-repeat supported" ); | ||
assert( H.test.cssProp( elem, "borderImage", true ), "Shorthand border-image supported" ); | ||
|
||
}); | ||
|
||
test("CSS border-image shorthand property", function() { | ||
|
||
var elem = document.createElement("div"); | ||
|
||
assert( H.test.cssProp( elem, "borderImage", true ), "CSS border-image shorthand property supported" ); | ||
|
||
}); |