@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.
@@ -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
  */
@@ -8695,7 +8695,7 @@ class Version {
8695
8695
  /**
8696
8696
  * @publicApi
8697
8697
  */
8698
- const VERSION = new Version('15.2.4');
8698
+ const VERSION = new Version('15.2.5');
8699
8699
 
8700
8700
  // This default value is when checking the hierarchy for a token.
8701
8701
  //
@@ -16376,8 +16376,11 @@ function isStylingValuePresent(value) {
16376
16376
  * @param suffix
16377
16377
  */
16378
16378
  function normalizeSuffix(value, suffix) {
16379
- if (value == null /** || value === undefined */) {
16379
+ if (value == null || value === '') {
16380
16380
  // do nothing
16381
+ // Do not add the suffix if the value is going to be empty.
16382
+ // As it produce invalid CSS, which the browsers will automatically omit but Domino will not.
16383
+ // Example: `"left": "px;"` instead of `"left": ""`.
16381
16384
  }
16382
16385
  else if (typeof suffix === 'string') {
16383
16386
  value = value + suffix;