Open genesistms opened 3 years ago
Simple component:
@Component(selector: 'my-app', template: '', styles: [':host { width: 1e-9px; }']) class AppComponent {}
Results of generated css:
// style.css.dart final List<dynamic> styles = [':host {\n width: 1e-9px;\n}\n'];
// style.css.shim.dart final List<dynamic> styles = ['._nghost-%ID%{width:1 e-9px}'];
Note space before e-9px.
e-9px
dart2js/webdev does not matter Tried simple dart2js without angular and style was passed corectly.
Small app for replicate problem here
Dart SDK version: 2.10.5 (stable) (Tue Jan 19 13:05:37 2021 +0100) on "linux_x64" Angular version: ^6.0.1
Simple component:
Results of generated css:
Note space before
e-9px
.dart2js/webdev does not matter Tried simple dart2js without angular and style was passed corectly.
Small app for replicate problem here