Files
polymer/test/unit/custom-style-import.html
Steven Orvell a16ada11e5 Fixes #2356: issue a warning and don't throw an exception when a style include cannot be found.
Fixes #2357: include data now comes before any textContent in a style element.
2015-08-26 12:47:05 -07:00

32 lines
530 B
HTML

<dom-module id="shared-style">
<template>
<style>
:root {
--import-var: 3px solid orange;
}
</style>
</template>
</dom-module>
<dom-module id="shared-style2">
<template>
<style>
.zazz {
border: 16px solid orange;
}
</style>
</template>
</dom-module>
<link rel="import" href="sub/style-import.html">
<style is="custom-style" include="shared-style style-import">
:root {
--import-mixin: {
border: 4px solid blue;
};
padding: 10px;
}
</style>