-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests and require
module
to be on style
elements.
- Loading branch information
Steven Orvell
committed
Jul 30, 2015
1 parent
3734c4d
commit 58d3c3b
Showing
5 changed files
with
31 additions
and
15 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
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 |
---|---|---|
@@ -1,12 +1,21 @@ | ||
<style is="custom-style"> | ||
:root { | ||
<dom-module id="shared-style"> | ||
<template> | ||
<style> | ||
:root { | ||
--import-var: 3px solid orange; | ||
} | ||
</style> | ||
</template> | ||
</dom-module> | ||
|
||
--import-var: 3px solid orange; | ||
<style is="custom-style" module="shared-style"> | ||
:root { | ||
|
||
--import-mixin: { | ||
border: 4px solid blue; | ||
}; | ||
|
||
padding: 10px; | ||
} | ||
</style> | ||
</style> | ||
|
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
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
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