-
Notifications
You must be signed in to change notification settings - Fork 1.7k
polymer-element extends input element #17741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Added Area-Polymer, Triaged labels. |
This comment was originally written by [email protected] How to customize style for extends input element? |
Removed Area-Polymer label. |
Added this to the 1.6 milestone. |
Removed this from the 1.6 milestone. |
Removed Polymer-P-1 label. |
Added PolymerMilestone-Next label. |
Removed Polymer-Milestone-Next label. |
This comment was originally written by [email protected] update to sdk 1.6.0 and polymer 0.13.0+3, this issue is still not resolved. |
This issue has been moved to dart-archive/polymer-dart#145. |
This issue was originally filed by [email protected]
What steps will reproduce the problem?
SDK and editor: 1.3.0-dev.5.2
polymer: 0.10.0-pre.4
<polymer-element name="x-input" extends="input" noscript>
<template>
<style>
/* x-input design */
:host {
border: 1pt #7F7F7F solid;
background-color: white;
}
:host:disabled {
border: 1pt #7F7F7F solid;
background-color: #EBEBE4;
}
</style>
</template>
</polymer-element>
or
<polymer-element name="x-input" extends="input">
<template>
<style>
/* x-input design */
:host {
border: 1pt #7F7F7F solid;
background-color: white;
}
:host:disabled {
border: 1pt #7F7F7F solid;
background-color: #EBEBE4;
}
</style>
</template>
<script type="application/dart">
import 'dart:html';
import 'package:polymer/polymer.dart';
@CustomTag('x-input')
class XInput extends InputElement with Polymer, Observable {
XInput.created() : super.created() {
polymerCreated();
}
}
</script>
</polymer-element>
compile by dart2js, run on chrome 33, that's ok, but, run on dartium 34 crashes.
The text was updated successfully, but these errors were encountered: