You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
The :host style is only visible in Chrome, on Firefox (39) it is completely missing.
Seen on Polymer version 1.0.7
Expected Behavior:
FF applies the :host style too
Testcase html file and element extending select
<!DOCTYPE html><html><head><scriptsrc="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script><linkrel="import" href="bower_components/polymer/polymer.html"><linkrel="import" href="./betterselect-element.html"><script>document.addEventListener('WebComponentsReady',function(){document.getElementsByTagName('body')[0].appendChild(newBetterSelect(["PlayAll","PlayLoop","PlayRandom"],"PlayRandom"));});</script></head><body>
Test :host style on extended native select, border is visible on Chrome, but not there on ff
</body></html>
<dom-moduleid="betterSelect-element"><style>
:host {border: 10pxsolidorange;max-width: inherit;}</style><template><templateis="dom-repeat"items="{{options_}}"><option>{{item}}</option></template></template></dom-module><script>"use strict";varBetterSelect=newPolymer({is: "betterSelect-element",extends: "select",properties: {options_: Array,selectedValue: String,},listeners: {'change': 'onChange'},/** Options is a reserved HtmlOptionsCollection */factoryImpl: function(options_,selectedValue){// label?this.options_=options_;this.selectedValue=selectedValue;// TODO},// Das selectbox Verhalten setzt den Wert auf das erste Option das kommt, sprich das muss korrigiert werden.attached: function(){this.async(function(){if(this.value===""){// delay further, looks like bad stylethis.async(function(){this.value=this.selectedValue;});}else{this.value=this.selectedValue;}});},onChange: function(){this.fire('value-changed',{value: this.value});}});</script>
The text was updated successfully, but these errors were encountered:
Problem:
The :host style is only visible in Chrome, on Firefox (39) it is completely missing.
Seen on Polymer version 1.0.7
Expected Behavior:
FF applies the :host style too
Testcase html file and element extending select
The text was updated successfully, but these errors were encountered: