From 45a02236040ae8f00482e4971a3fbd2c692874fc Mon Sep 17 00:00:00 2001 From: Guillaume Date: Wed, 8 Nov 2023 14:01:51 +0100 Subject: [PATCH] [css-shapes-2] Make shape-padding consistent with shape-margin - also accept percentage - enforce non-negative values --- css-shapes-2/Overview.bs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/css-shapes-2/Overview.bs b/css-shapes-2/Overview.bs index c4b81cd70095..326c3a73c197 100644 --- a/css-shapes-2/Overview.bs +++ b/css-shapes-2/Overview.bs @@ -637,14 +637,21 @@ The 'shape-padding' Property
 		Name: shape-padding
-		Value: <>
-		Initial: none
+		Value: <>
+		Initial: 0
 		Applies To: block-level elements
 		Inherited: no
-		Computed Value: the absolute length
+		Percentages: refer to the inline size of the containing block
+		Computed Value: computed <> value
 		Animation type: by computed value
 	
+
+
<>
+
+ Sets the padding of the shape to the specified value. +
+
Example of a shape-padding offset