Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
need shim-shadowdom for styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 23, 2014
1 parent 9ee8531 commit 6e77c58
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paper-shadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<link href="../polymer/polymer.html" rel="import">

<link href="paper-shadow.css" rel="stylesheet">
<link href="paper-shadow.css" rel="stylesheet" shim-shadowdom>

<polymer-element name="paper-shadow">

Expand Down
2 changes: 1 addition & 1 deletion test/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
var s1 = document.getElementById('s1');

test('default', function() {
assert.equal(1, s1.z);
assert.notEqual(getComputedStyle(s1.$['shadow-top'])['box-shadow'], 'none');
});

</script>
Expand Down
24 changes: 24 additions & 0 deletions test/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<!--
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<title>paper-shadow tests</title>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script>
WCT.loadSuites([
'basic.html'
]);
</script>
</body>
</html>

0 comments on commit 6e77c58

Please sign in to comment.