@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
  */
@@ -8705,7 +8705,7 @@ class Version {
8705
8705
  /**
8706
8706
  * @publicApi
8707
8707
  */
8708
- const VERSION = new Version('15.2.4');
8708
+ const VERSION = new Version('15.2.5');
8709
8709
 
8710
8710
  // This default value is when checking the hierarchy for a token.
8711
8711
  //
@@ -16384,8 +16384,11 @@ function isStylingValuePresent(value) {
16384
16384
  * @param suffix
16385
16385
  */
16386
16386
  function normalizeSuffix(value, suffix) {
16387
- if (value == null /** || value === undefined */) {
16387
+ if (value == null || value === '') {
16388
16388
  // do nothing
16389
+ // Do not add the suffix if the value is going to be empty.
16390
+ // As it produce invalid CSS, which the browsers will automatically omit but Domino will not.
16391
+ // Example: `"left": "px;"` instead of `"left": ""`.
16389
16392
  }
16390
16393
  else if (typeof suffix === 'string') {
16391
16394
  value = value + suffix;