mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 23:21:04 +00:00
22 lines
578 B
JavaScript
22 lines
578 B
JavaScript
/*!
|
|
{
|
|
"name": "style[scoped]",
|
|
"property": "stylescoped",
|
|
"caniuse": "style-scoped",
|
|
"tags": ["dom"],
|
|
"builderAliases": ["style_scoped"],
|
|
"authors": ["Cătălin Mariș"],
|
|
"notes": [{
|
|
"name": "WHATWG Spec",
|
|
"href": "https://html.spec.whatwg.org/multipage/semantics.html#attr-style-scoped"
|
|
}],
|
|
"polyfills": ["scoped-styles"]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
Support for the `scoped` attribute of the `<style>` element.
|
|
*/
|
|
define(['Modernizr', 'createElement'], function(Modernizr, createElement) {
|
|
Modernizr.addTest('stylescoped', 'scoped' in createElement('style'));
|
|
});
|