diff --git a/README.md b/README.md index 63770060..e5d9ec8c 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,8 @@ Configuration items are: ## News and noteworthy +* v6.3.4 - 2021-06-09 + * Fixed an error with the shorthand expansion of `border-width` ([PR #68](https://github.com/phax/ph-css/pull/68)) - thanks @rockwotj * v6.3.3 - 2021-05-31 * Allow unknown rules inside `@media` rules ([issue #67](https://github.com/phax/ph-css/issues/67)) - thanks @yinkwok-ys * v6.3.2 - 2021-05-25 diff --git a/ph-css/src/main/java/com/helger/css/decl/shorthand/CSSShortHandRegistry.java b/ph-css/src/main/java/com/helger/css/decl/shorthand/CSSShortHandRegistry.java index 06ea5028..a1ac1bd0 100644 --- a/ph-css/src/main/java/com/helger/css/decl/shorthand/CSSShortHandRegistry.java +++ b/ph-css/src/main/java/com/helger/css/decl/shorthand/CSSShortHandRegistry.java @@ -111,14 +111,14 @@ public final class CSSShortHandRegistry new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_LEFT_COLOR, ECSSColor.BLACK.getName ()))); registerShortHandDescriptor (new CSSShortHandDescriptorWithAlignment (ECSSProperty.BORDER_WIDTH, - new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_TOP_WIDTH, - ECSSUnit.px (3)), - new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_RIGHT_WIDTH, - ECSSUnit.px (3)), - new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_BOTTOM_WIDTH, - ECSSUnit.px (3)), - new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_LEFT_WIDTH, - ECSSUnit.px (3)))); + new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_TOP_WIDTH, + ECSSUnit.px (3)), + new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_RIGHT_WIDTH, + ECSSUnit.px (3)), + new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_BOTTOM_WIDTH, + ECSSUnit.px (3)), + new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_LEFT_WIDTH, + ECSSUnit.px (3)))); registerShortHandDescriptor (new CSSShortHandDescriptorWithAlignment (ECSSProperty.BORDER_STYLE, new CSSPropertyWithDefaultValue (CCSSProperties.BORDER_TOP_STYLE, CCSSValue.SOLID),