polymer-element extends input element #145
Description
Originally opened as dart-lang/sdk#17741
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.