From 228e1b514c00daaaf8d4c974285b59055cfc86a4 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Oct 2023 11:54:54 +0200 Subject: [PATCH 1/6] [css-box-4][css-backgrounds-4][css-shapes-1] Replace definition with --- css-backgrounds-4/Overview.bs | 4 ++-- css-box-3/Overview.bs | 16 ++++++++-------- css-box-4/Overview.bs | 16 ++++++++-------- css-shapes-1/Overview.bs | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/css-backgrounds-4/Overview.bs b/css-backgrounds-4/Overview.bs index e6f83354a57f..0f63a5d56032 100644 --- a/css-backgrounds-4/Overview.bs +++ b/css-backgrounds-4/Overview.bs @@ -160,7 +160,7 @@ Painting Area: the 'background-clip' property The syntax of the property is given with
-	<bg-clip> = <> | border | text
+	<bg-clip> = <> | border | text
 	
Issue: Or should this be defining the -webkit-background-clip property, @@ -168,7 +168,7 @@ Painting Area: the 'background-clip' property with this additional ''text'' value?
-
<> +
<>
The background is painted within (clipped to) the specified box of the element. diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index d3a015efbc52..b658d18f71d3 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -215,36 +215,36 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
+
content-box
Refers to the [=content box=] or [=content edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
padding-box
Refers to the [=padding box=] or [=padding edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
border-box
Refers to the [=border box=] or [=border edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
margin-box
Refers to the [=margin box=] or [=margin edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
fill-box
Refers to the [=object bounding box=] or its edges. - (In a CSS box context, treated as ''/content-box''.) + (In a CSS box context, treated as ''/content-box''.)
stroke-box
Refers to the [=stroke bounding box=] or its edges. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.)
view-box
@@ -255,7 +255,7 @@ Box-edge Keywords {#keywords} established by the <{svg/viewBox}> attribute for that element, positioned such that its top left corner is anchored at the coordinate system origin. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.) Note: When the <{svg/viewBox}> includes non-zero min-x or min-y offsets, diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index f80e0c652b24..eb0e80c38a39 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -201,36 +201,36 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
+
content-box
Refers to the [=content box=] or [=content edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
padding-box
Refers to the [=padding box=] or [=padding edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
border-box
Refers to the [=border box=] or [=border edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
margin-box
Refers to the [=margin box=] or [=margin edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
fill-box
Refers to the [=object bounding box=] or its edges. - (In a CSS box context, treated as ''/content-box''.) + (In a CSS box context, treated as ''/content-box''.)
stroke-box
Refers to the [=stroke bounding box=] or its edges. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.)
view-box
@@ -240,7 +240,7 @@ Box-edge Keywords {#keywords} of the [=SVG viewport=], positioned such that its top left corner is anchored at the coordinate system origin. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.) Note: When the [=SVG viewport=] is not itself anchored at the origin, diff --git a/css-shapes-1/Overview.bs b/css-shapes-1/Overview.bs index 7d49a512df00..e2972604f79c 100644 --- a/css-shapes-1/Overview.bs +++ b/css-shapes-1/Overview.bs @@ -807,12 +807,12 @@ Shapes from Box Values These edges include border-radius curvature [[!CSS3BG]] from the used border-radius values. - The <> value extends the <> value + The <> value extends the <> value to include ''margin-box''. Its syntax is:
-		<> = <> | ''margin-box''
+		<> = <> | ''margin-box''
 	
The definitions of the values are: From 6b81c1beb94fc453b828c1b0a29783c75060975e Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Oct 2023 13:59:29 +0200 Subject: [PATCH 2/6] [css-box] Restore as the namespace for all box-egde keywords --- css-box-3/Overview.bs | 16 ++++++++-------- css-box-4/Overview.bs | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index b658d18f71d3..d3a015efbc52 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -215,36 +215,36 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
+
content-box
Refers to the [=content box=] or [=content edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
padding-box
Refers to the [=padding box=] or [=padding edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
border-box
Refers to the [=border box=] or [=border edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
margin-box
Refers to the [=margin box=] or [=margin edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
fill-box
Refers to the [=object bounding box=] or its edges. - (In a CSS box context, treated as ''/content-box''.) + (In a CSS box context, treated as ''/content-box''.)
stroke-box
Refers to the [=stroke bounding box=] or its edges. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.)
view-box
@@ -255,7 +255,7 @@ Box-edge Keywords {#keywords} established by the <{svg/viewBox}> attribute for that element, positioned such that its top left corner is anchored at the coordinate system origin. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.) Note: When the <{svg/viewBox}> includes non-zero min-x or min-y offsets, diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index eb0e80c38a39..f80e0c652b24 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -201,36 +201,36 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
+
content-box
Refers to the [=content box=] or [=content edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
padding-box
Refers to the [=padding box=] or [=padding edge=]. - (In an SVG context, treated as ''/fill-box''.) + (In an SVG context, treated as ''/fill-box''.)
border-box
Refers to the [=border box=] or [=border edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
margin-box
Refers to the [=margin box=] or [=margin edge=]. - (In an SVG context, treated as ''/stroke-box''.) + (In an SVG context, treated as ''/stroke-box''.)
fill-box
Refers to the [=object bounding box=] or its edges. - (In a CSS box context, treated as ''/content-box''.) + (In a CSS box context, treated as ''/content-box''.)
stroke-box
Refers to the [=stroke bounding box=] or its edges. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.)
view-box
@@ -240,7 +240,7 @@ Box-edge Keywords {#keywords} of the [=SVG viewport=], positioned such that its top left corner is anchored at the coordinate system origin. - (In a CSS box context, treated as ''/border-box''.) + (In a CSS box context, treated as ''/border-box''.) Note: When the [=SVG viewport=] is not itself anchored at the origin, From 253b28e27f4c7f70baee19c040b4cb12ab64cfb5 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Oct 2023 13:59:55 +0200 Subject: [PATCH 3/6] [css-box] Add missing definition --- css-box-3/Overview.bs | 2 +- css-box-4/Overview.bs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index d3a015efbc52..92f6be3d401f 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -211,7 +211,7 @@ The CSS Box Model {#box-model} Box-edge Keywords {#keywords} ----------------- - The following CSS keywords are defined for use + The following <box> CSS keywords are defined for use in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index f80e0c652b24..5fb6d77c9614 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -197,7 +197,7 @@ The CSS Box Model {#box-model} Box-edge Keywords {#keywords} ----------------- - The following CSS keywords are defined for use + The following <box> CSS keywords are defined for use in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: From cbf2d87fcba2eb2d61a4b3b945d9ee24ea486b4d Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Oct 2023 14:33:15 +0200 Subject: [PATCH 4/6] [css-box] Define box-edge keywords with appropriate namespaces --- css-box-3/Overview.bs | 22 +++++++++++----------- css-box-4/Overview.bs | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index 92f6be3d401f..d1fcb863d0cf 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -215,38 +215,38 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
-
content-box +
+
content-box
Refers to the [=content box=] or [=content edge=]. (In an SVG context, treated as ''/fill-box''.) -
padding-box +
padding-box
Refers to the [=padding box=] or [=padding edge=]. (In an SVG context, treated as ''/fill-box''.) -
border-box +
border-box
Refers to the [=border box=] or [=border edge=]. (In an SVG context, treated as ''/stroke-box''.) -
margin-box +
margin-box
Refers to the [=margin box=] or [=margin edge=]. (In an SVG context, treated as ''/stroke-box''.) -
fill-box +
fill-box
Refers to the [=object bounding box=] or its edges. (In a CSS box context, treated as ''/content-box''.) -
stroke-box +
stroke-box
Refers to the [=stroke bounding box=] or its edges. (In a CSS box context, treated as ''/border-box''.) -
view-box +
view-box
Refers to the nearest [=SVG viewport=] element’s origin box, @@ -268,9 +268,9 @@ Box-edge Keywords {#keywords} For convenience, the following value types are defined:
 		<> = content-box | padding-box | border-box
-		<> = content-box | padding-box | border-box | margin-box
-		<> = content-box | padding-box | border-box | fill-box | stroke-box
-		<> = content-box | padding-box | border-box | fill-box | stroke-box | view-box
+		<> = <> | margin-box
+		<> = <> | fill-box | stroke-box
+		<> = <> | view-box
 	
Margins {#margins} diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index 5fb6d77c9614..7baa112070c6 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -201,38 +201,38 @@ Box-edge Keywords {#keywords} in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: -
-
content-box +
+
content-box
Refers to the [=content box=] or [=content edge=]. (In an SVG context, treated as ''/fill-box''.) -
padding-box +
padding-box
Refers to the [=padding box=] or [=padding edge=]. (In an SVG context, treated as ''/fill-box''.) -
border-box +
border-box
Refers to the [=border box=] or [=border edge=]. (In an SVG context, treated as ''/stroke-box''.) -
margin-box +
margin-box
Refers to the [=margin box=] or [=margin edge=]. (In an SVG context, treated as ''/stroke-box''.) -
fill-box +
fill-box
Refers to the [=object bounding box=] or its edges. (In a CSS box context, treated as ''/content-box''.) -
stroke-box +
stroke-box
Refers to the [=stroke bounding box=] or its edges. (In a CSS box context, treated as ''/border-box''.) -
view-box +
view-box
Refers to the nearest [=SVG viewport=]’s origin box, @@ -253,9 +253,9 @@ Box-edge Keywords {#keywords} For convenience, the following value types are defined:
 		<> = content-box | padding-box | border-box
-		<> = content-box | padding-box | border-box | margin-box
-		<> = content-box | padding-box | border-box | fill-box | stroke-box
-		<> = content-box | padding-box | border-box | fill-box | stroke-box | view-box
+		<> = <> | margin-box
+		<> = <> | fill-box | stroke-box
+		<> = <> | view-box
 	
Margins {#margins} From deba935a5daed11184702f80a36bad4e33d79600 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Oct 2023 14:35:56 +0200 Subject: [PATCH 5/6] [css-box] Do not export definition --- css-box-3/Overview.bs | 2 +- css-box-4/Overview.bs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index d1fcb863d0cf..de3764dc22aa 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -211,7 +211,7 @@ The CSS Box Model {#box-model} Box-edge Keywords {#keywords} ----------------- - The following <box> CSS keywords are defined for use + The following <box> CSS keywords are defined for use in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index 7baa112070c6..c71a43bb65ff 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -197,7 +197,7 @@ The CSS Box Model {#box-model} Box-edge Keywords {#keywords} ----------------- - The following <box> CSS keywords are defined for use + The following <box> CSS keywords are defined for use in properties (such as 'transform-box' and 'background-clip') that need to refer to various box edges: From a2b48024f4013c14e35b5fa21babab5cab8e015a Mon Sep 17 00:00:00 2001 From: Guillaume Date: Mon, 6 Nov 2023 09:40:13 +0100 Subject: [PATCH 6/6] [css-box] Define each box keyword with all namespaces --- css-box-3/Overview.bs | 14 +++++++------- css-box-4/Overview.bs | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/css-box-3/Overview.bs b/css-box-3/Overview.bs index de3764dc22aa..3208cb01d7e2 100644 --- a/css-box-3/Overview.bs +++ b/css-box-3/Overview.bs @@ -216,37 +216,37 @@ Box-edge Keywords {#keywords} that need to refer to various box edges:
-
content-box +
content-box
Refers to the [=content box=] or [=content edge=]. (In an SVG context, treated as ''/fill-box''.) -
padding-box +
padding-box
Refers to the [=padding box=] or [=padding edge=]. (In an SVG context, treated as ''/fill-box''.) -
border-box +
border-box
Refers to the [=border box=] or [=border edge=]. (In an SVG context, treated as ''/stroke-box''.) -
margin-box +
margin-box
Refers to the [=margin box=] or [=margin edge=]. (In an SVG context, treated as ''/stroke-box''.) -
fill-box +
fill-box
Refers to the [=object bounding box=] or its edges. (In a CSS box context, treated as ''/content-box''.) -
stroke-box +
stroke-box
Refers to the [=stroke bounding box=] or its edges. (In a CSS box context, treated as ''/border-box''.) -
view-box +
view-box
Refers to the nearest [=SVG viewport=] element’s origin box, diff --git a/css-box-4/Overview.bs b/css-box-4/Overview.bs index c71a43bb65ff..6c82cd16ca80 100644 --- a/css-box-4/Overview.bs +++ b/css-box-4/Overview.bs @@ -202,37 +202,37 @@ Box-edge Keywords {#keywords} that need to refer to various box edges:
-
content-box +
content-box
Refers to the [=content box=] or [=content edge=]. (In an SVG context, treated as ''/fill-box''.) -
padding-box +
padding-box
Refers to the [=padding box=] or [=padding edge=]. (In an SVG context, treated as ''/fill-box''.) -
border-box +
border-box
Refers to the [=border box=] or [=border edge=]. (In an SVG context, treated as ''/stroke-box''.) -
margin-box +
margin-box
Refers to the [=margin box=] or [=margin edge=]. (In an SVG context, treated as ''/stroke-box''.) -
fill-box +
fill-box
Refers to the [=object bounding box=] or its edges. (In a CSS box context, treated as ''/content-box''.) -
stroke-box +
stroke-box
Refers to the [=stroke bounding box=] or its edges. (In a CSS box context, treated as ''/border-box''.) -
view-box +
view-box
Refers to the nearest [=SVG viewport=]’s origin box,