Comments (4)
This is not a bug. If you specify a unit in the binding name, then the value shouldn't repeat it.
from angular.
This is just an implementation mistake, which Angular should not try to fix for you. In theory Angular could warn about this in dev mode, not sure if that's really necessary here.
from angular.
I am going to close this as working as intended.
Using the unit from the value as suggested runs into edge-cases with e.g. { 'width.em': '1rem' }
, so more advanced detection would be required. It is left up to developers to provide just the numeric value if a unit is specified in the style property.
from angular.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
from angular.
Related Issues (20)
- [i18n] Merge generated file with existing file using `ng extract-i18n` HOT 2
- Como Hackear Instagram com Software Especializado (github)
- Add Dependency Support to effect Function in Angular HOT 2
- Unable to catch failed dynamic component imports HOT 3
- `ng-content` projection not rendered when inside `@if` HOT 4
- Angular 18 migration issue: deprecated HTTP modules HOT 1
- Control flow migration issue: templates are not deleted HOT 1
- Need a SBOM report for Infor (GRC Product) HOT 1
- 18.1.0 adding reference tag in .d.ts files that refers to ngtypecheck.d.ts that don't exist HOT 1
- The API definition of function types like ValidatorFn are empty
- Zoneless tests with unset required inputs succeeds unexpectedly HOT 3
- [18.1] AfterNextRender only invokes first phase callback when provided multiple via new API HOT 3
- Bug loading CSS map Files HOT 3
- Missing Portation of Page Managing Data
- docs: complete list of built-in pipes missing HOT 1
- Missing code snippet in Documentation of AfterViewInit HOT 1
- We analyzed your package.json and everything seems to be in order.
- Broken hydration after v17 -> v18 migration if i18n blocks are used
- Hydration breaks with p tag HOT 2
- Control flow with defer inside does not clean up before httpClient ends its request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.