-
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.
style processing refactoring and fix for #148
- Loading branch information
Showing
5 changed files
with
131 additions
and
56 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
Copyright 2013 The Polymer Authors. All rights reserved. | ||
Use of this source code is governed by a BSD-style | ||
license that can be found in the LICENSE file. | ||
--> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="initial-scale=1.0"> | ||
<title>Sheet order</title> | ||
<script src="../../../polymer.js"></script> | ||
<script src="../../../tools/test/htmltest.js"></script> | ||
<script src="../../../node_modules/chai/chai.js"></script> | ||
<link rel="import" href="x-sheets.html"> | ||
<style> | ||
div { | ||
font-size: 10px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<x-sheets></x-sheets> | ||
</body> | ||
</html> |
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,7 @@ | ||
.red1 { | ||
background: red; | ||
} | ||
|
||
.yellow12 { | ||
background: black; | ||
} |
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,7 @@ | ||
.blue2 { | ||
background: blue; | ||
} | ||
|
||
.yellow12 { | ||
background: yellow; | ||
} |
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,15 @@ | ||
<element name="x-sheets"> | ||
<link rel="stylesheet" href="sheet1.css"> | ||
<link rel="stylesheet" href="sheet2.css"> | ||
<style> | ||
.red1 { | ||
background: tomato; | ||
} | ||
</style> | ||
<template> | ||
<div class="red1">red</div> | ||
<div class="blue2">blue</div> | ||
<div class="yellow12">yellow12</div> | ||
</template> | ||
<script>Polymer.register(this)</script> | ||
</element> |