-
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.
Property matching must check non-transformed rule selector.
- Loading branch information
Steven Orvell
committed
Aug 7, 2015
1 parent
0892e93
commit 5b9a5ce
Showing
3 changed files
with
68 additions
and
2 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
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,66 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
|
||
<title>annotations</title> | ||
|
||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script> | ||
<link rel="import" href="../../polymer.html"> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
<dom-module id="x-foo"> | ||
<style> | ||
:host { | ||
display: inline-block; | ||
height: var(--iron-icon-height); | ||
width: var(--iron-icon-width); | ||
margin: 20px; | ||
background-color: tomato; | ||
} | ||
</style> | ||
<template> | ||
|
||
</template> | ||
<script> | ||
Polymer({ | ||
is: 'x-foo' | ||
}); | ||
</script> | ||
</dom-module> | ||
|
||
|
||
<dom-module id="simple-element"> | ||
<style> | ||
:host { | ||
display: block; | ||
} | ||
|
||
x-foo { | ||
color: var(--ghost-property-doesnt-exist); | ||
--iron-icon-width: 10px; /* doesn't get applied */ | ||
--iron-icon-height: 10px; /* doesn't get applied */ | ||
margin-left: 10px; /* applied */ | ||
} | ||
</style> | ||
<template> | ||
<x-foo></x-foo> | ||
</template> | ||
<script> | ||
Polymer({ | ||
is: 'simple-element' | ||
}); | ||
</script> | ||
</dom-module> | ||
|
||
<simple-element></simple-element> | ||
<simple-element></simple-element> | ||
<simple-element></simple-element> | ||
|
||
</body> | ||
</html> |