-
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.
Fixes styling tests related to using HTML Imports
* [styling-scoped.html] remove test for <link rel="import" type="css"> as this is no longer supported * [custom-style-async.html] convert test that used importHref to use dynamic import
- Loading branch information
Steven Orvell
committed
Apr 27, 2018
1 parent
b1a523c
commit 2674742
Showing
6 changed files
with
32 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Polymer } from '../../lib/legacy/polymer-fn.js'; | ||
|
||
const $_documentContainer = document.createElement('div'); | ||
|
||
$_documentContainer.innerHTML = `<custom-style> | ||
<style is="custom-style"> | ||
html { | ||
--cs-blue: { | ||
border : 8px solid blue; | ||
}; | ||
} | ||
</style> | ||
</custom-style> | ||
<dom-module id="x-client"> | ||
<template> | ||
<style> | ||
:host { | ||
display: inline-block; | ||
border : 4px solid red; | ||
@apply (--cs-blue); | ||
} | ||
</style> | ||
x-client | ||
</template> | ||
</dom-module>`; | ||
|
||
document.body.appendChild($_documentContainer); | ||
|
||
Polymer({ | ||
is: 'x-client' | ||
}); |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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