Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

polymer-element extends input element #145

Closed
@DartBot

Description

@DartBot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions