Skip to content

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

Closed
DartBot opened this issue Mar 24, 2014 · 10 comments
Closed

polymer-element extends input element #17741

DartBot opened this issue Mar 24, 2014 · 10 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@DartBot
Copy link

DartBot commented Mar 24, 2014

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.

@floitschG
Copy link
Contributor

Added Area-Polymer, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Mar 26, 2014

This comment was originally written by [email protected]


How to customize style for extends input element?

@jmesserly
Copy link

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

@sigmundch
Copy link
Member

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

@sigmundch
Copy link
Member

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

@sigmundch
Copy link
Member

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

@sigmundch
Copy link
Member

Added PolymerMilestone-Next label.

@sigmundch
Copy link
Member

Removed Polymer-Milestone-Next label.

@DartBot
Copy link
Author

DartBot commented Sep 4, 2014

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.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#145.

@DartBot DartBot closed this as completed Jun 5, 2015
@kevmoo kevmoo removed the triaged label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

5 participants