mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
28 lines
822 B
JavaScript
28 lines
822 B
JavaScript
/*!
|
|
{
|
|
"name": "Background Repeat",
|
|
"property": ["bgrepeatspace", "bgrepeatround"],
|
|
"tags": ["css"],
|
|
"builderAliases": ["css_backgroundrepeat"],
|
|
"authors": ["Ryan Seddon"],
|
|
"notes": [{
|
|
"name": "MDN Docs",
|
|
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat"
|
|
}, {
|
|
"name": "Test Page",
|
|
"href": "https://jsbin.com/uzesun/"
|
|
}, {
|
|
"name": "Demo",
|
|
"href": "https://jsfiddle.net/ryanseddon/yMLTQ/6/"
|
|
}]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
Detects the ability to use round and space as properties for background-repeat
|
|
*/
|
|
define(['Modernizr', 'testAllProps'], function(Modernizr, testAllProps) {
|
|
// Must value-test these
|
|
Modernizr.addTest('bgrepeatround', testAllProps('backgroundRepeat', 'round'));
|
|
Modernizr.addTest('bgrepeatspace', testAllProps('backgroundRepeat', 'space'));
|
|
});
|