Open
Description
<link rel="import" href="../bower_components/polymer/polymer.html">
<script>
GSS_CONFIG = {
worker: "../bower_components/gss/dist/worker.js"
}
</script>
<script src="../bower_components/gss/dist/gss.js"></script>
<polymer-element name="polymer-greeting" attributes="">
<template>
<style>
/* styles for the custom element itself - lowest specificity */
:host { display: block; }
/*
style if an ancestor has the different class
:host(.different) { }
*/
</style>
<style type="text/gss">
h1[line-height] >= 16;
</style>
<h1>{{ greeting }}, {{ greeting }}!</h1>
<span>Update text to change the greeting.</span>
<input type="text" value="{{ greeting }}">
</template>
<script>
Polymer('polymer-greeting', {
greeting : '\'Allo'
});
</script>
</polymer-element>
The script "gss.js" is downloaded, but it does not detect <style type="text/gss">
.
Metadata
Metadata
Assignees
Labels
No labels