-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimearea: performanceIssues related to performanceIssues related to performancebuggood first issueAn issue that is suitable for first-time contributors; often a documentation issue.An issue that is suitable for first-time contributors; often a documentation issue.help wantedAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Milestone
Description
Which @angular/* package(s) are the source of the bug?
compiler, Don't known / other
Is this a regression?
No
Description
The runtime warning NG0913 is triggered for a 300 kB svg file. This file happens to have 'intrinsic' dimensions of > 7000 pixels, but in the case of svg files this is irrelevant.
This warning should not be triggered for svg images.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
NG0913: An image with src http://localhost:4200/assets/img/mandala-splash.svg has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913. Find more at https://angular.dev/errors/NG0913
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 18.2.5
Node: 20.14.0
Package Manager: npm 10.7.0
OS: darwin x64
Angular: 18.2.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1802.5
@angular-devkit/build-angular 18.2.5
@angular-devkit/core 18.2.5
@angular-devkit/schematics 18.2.5
@angular/cdk 18.2.4
@schematics/angular 18.2.5
rxjs 7.8.1
typescript 5.4.5
zone.js 0.14.10
Anything else?
No response
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimearea: performanceIssues related to performanceIssues related to performancebuggood first issueAn issue that is suitable for first-time contributors; often a documentation issue.An issue that is suitable for first-time contributors; often a documentation issue.help wantedAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).