@angular/core 15.2.4 → 15.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.4
2
+ * @license Angular v15.2.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8347,7 +8347,7 @@ class Version {
8347
8347
  /**
8348
8348
  * @publicApi
8349
8349
  */
8350
- const VERSION = new Version('15.2.4');
8350
+ const VERSION = new Version('15.2.5');
8351
8351
 
8352
8352
  // This default value is when checking the hierarchy for a token.
8353
8353
  //
@@ -16074,8 +16074,11 @@ function isStylingValuePresent(value) {
16074
16074
  * @param suffix
16075
16075
  */
16076
16076
  function normalizeSuffix(value, suffix) {
16077
- if (value == null /** || value === undefined */) {
16077
+ if (value == null || value === '') {
16078
16078
  // do nothing
16079
+ // Do not add the suffix if the value is going to be empty.
16080
+ // As it produce invalid CSS, which the browsers will automatically omit but Domino will not.
16081
+ // Example: `"left": "px;"` instead of `"left": ""`.
16079
16082
  }
16080
16083
  else if (typeof suffix === 'string') {
16081
16084
  value = value + suffix;