From 0468e25ea2b2779f210d65ec114ca4bc61c6fb94 Mon Sep 17 00:00:00 2001 From: Kevin Babbitt Date: Tue, 11 Mar 2025 09:44:11 -0700 Subject: [PATCH 1/4] [css-backgrounds-3][css-multicol-4][css-ui-4][css-gaps-1] Adjust *-width zero value special cases per WG resolution. #11494 --- css-backgrounds-3/Overview.bs | 7 ++++++- css-gaps-1/Overview.bs | 9 +-------- css-multicol-1/Overview.bs | 4 ++-- css-ui-4/Overview.bs | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/css-backgrounds-3/Overview.bs b/css-backgrounds-3/Overview.bs index 10cee759b0a..7b3915afd56 100644 --- a/css-backgrounds-3/Overview.bs +++ b/css-backgrounds-3/Overview.bs @@ -2048,7 +2048,7 @@ Line Thickness: the 'border-width' properties Inherited: no Logical property group: border-width Percentages: N/A - Computed value: absolute length, [=snapped as a border width=]; zero if the border style is ''border-style/none'' or ''hidden'' + Computed value: absolute length, [=snapped as a border width=] Animation Type: by computed value @@ -2125,6 +2125,11 @@ Line Thickness: the 'border-width' properties If there are four values they apply to the top, right, bottom, and left, respectively. + The [=resolved value=] for the 'border-width' properties is the [=used value=]. + + If the 'border-style' corresponding to a given 'border-width' is ''border-style/none'' or ''hidden'', + then the [=used value|used=] width is 0. + Note: Although the [=initial value|initial=] width is ''medium'', the [=initial value|initial=] style is ''border-style/none''; therefore the [=used value|used=] initial width is 0. diff --git a/css-gaps-1/Overview.bs b/css-gaps-1/Overview.bs index 9ca5200fd85..421905511d8 100644 --- a/css-gaps-1/Overview.bs +++ b/css-gaps-1/Overview.bs @@ -806,7 +806,7 @@ Gap decoration width: The 'column-rule-width' and 'row-rule-width' propertiesgrid containers, flex containers, multicol containers, and masonry containers Inherited: no - Computed value: list of absolute lengths, snapped as a border width, or ''0'' under conditions described below + Computed value: list of absolute lengths, snapped as a border width Animation type: by computed value type @@ -826,13 +826,6 @@ Gap decoration width: The 'column-rule-width' and 'row-rule-width' propertiesgap decorations. Negative values are not allowed. - If the computed value of ''column-rule-style'' is ''border-style/none'' or ''border-style/hidden'', - then the computed value of ''column-rule-width'' is ''0''. - This behavior is for backwards compatibility with [[css-multicol-1#crw]]. - - Issue: Should the "force to 0" behavior apply when lists of values are involved? - If so, how should this be handled with unaligned lists? - grid/grid-gap-decorations-018.html grid/grid-gap-decorations-019.html diff --git a/css-multicol-1/Overview.bs b/css-multicol-1/Overview.bs index 9fa7ae1f07f..4d47a1fc2a5 100644 --- a/css-multicol-1/Overview.bs +++ b/css-multicol-1/Overview.bs @@ -1166,7 +1166,7 @@ Stacking Context parsing/column-rule-style-invalid.html - The ''border-style/none'' and ''hidden'' values force the computed value of 'column-rule-width' to be ''0''. + The ''border-style/none'' and ''hidden'' values force the used value of 'column-rule-width' to be ''0''.

The Width Of Column Rules: the 'column-rule-width' property

@@ -1178,7 +1178,7 @@ Stacking Context Applies to: multicol containers Inherited: no Percentages: N/A - Computed value: absolute length, [=snapped as a border width=]; ''0'' if the column rule style is ''border-style/none'' or ''hidden'' + Computed value: absolute length, [=snapped as a border width=] Animation type: by computed value type diff --git a/css-ui-4/Overview.bs b/css-ui-4/Overview.bs index 5622ef9ef8e..8d46677b565 100644 --- a/css-ui-4/Overview.bs +++ b/css-ui-4/Overview.bs @@ -379,7 +379,7 @@ Outline Thickness: the 'outline-width' property Applies to: all elements Inherited: no Percentages: N/A - Computed value: absolute length, [=snapped as a border width=]; ''0'' if the outline style is ''border-style/none''. + Computed value: absolute length, [=snapped as a border width=] Animation type: by computed value From c04a3e5f0be1b0f014d22b60920322459aaca03f Mon Sep 17 00:00:00 2001 From: Kevin Babbitt Date: Tue, 11 Mar 2025 12:16:10 -0700 Subject: [PATCH 2/4] Replicate edits into multicol-2 --- css-multicol-2/Overview.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css-multicol-2/Overview.bs b/css-multicol-2/Overview.bs index 41a324e05fe..82a78cf1abd 100644 --- a/css-multicol-2/Overview.bs +++ b/css-multicol-2/Overview.bs @@ -1315,7 +1315,7 @@ without caring about the contents. parsing/column-rule-style-invalid.html - The ''border-style/none'' and ''hidden'' values force the computed value of 'column-rule-width' to be ''0''. + The ''border-style/none'' and ''hidden'' values force the used value of 'column-rule-width' to be ''0''.

The Width Of Column Rules: the 'column-rule-width' property

@@ -1326,7 +1326,7 @@ without caring about the contents. Applies to: multicol containers Inherited: no Percentages: N/A - Computed value: absolute length, [=snapped as a border width=]; ''0'' if the column rule style is ''border-style/none'' or ''hidden'' + Computed value: absolute length, [=snapped as a border width=] Animation type: by computed value type From 2ae907104457eae396a7d7ac1d87b6ba29d08b27 Mon Sep 17 00:00:00 2001 From: Kevin Babbitt Date: Tue, 29 Apr 2025 10:27:24 -0700 Subject: [PATCH 3/4] Note the edit in Changes section --- css-gaps-1/Overview.bs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css-gaps-1/Overview.bs b/css-gaps-1/Overview.bs index 421905511d8..f5b76d8bf66 100644 --- a/css-gaps-1/Overview.bs +++ b/css-gaps-1/Overview.bs @@ -1059,4 +1059,6 @@ Changes since the 1
  • Specified the behavior when gaps are coincident due to track collapsing. (Issue 11814)
  • Added links to WPT suite. +
  • Removed the special case of ''column-rule-width'' having a computed value of ''0'' when ''column-rule-style'' is ''border-style/none'' or ''border-style/hidden''. + (Issue 11494) From 6169f3f567006049a7ea3c0f87c14502aa4ccc85 Mon Sep 17 00:00:00 2001 From: Kevin Babbitt Date: Thu, 8 May 2025 13:48:13 -0700 Subject: [PATCH 4/4] Conflict resolution and versioning --- css-backgrounds-3/Overview.bs | 10 ++++++++++ css-gaps-1/Overview.bs | 2 +- css-multicol-1/Overview.bs | 14 ++++++++++---- css-multicol-2/Overview.bs | 13 ++++++++++--- css-ui-4/Overview.bs | 3 +++ 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/css-backgrounds-3/Overview.bs b/css-backgrounds-3/Overview.bs index 7b3915afd56..f2c24633de7 100644 --- a/css-backgrounds-3/Overview.bs +++ b/css-backgrounds-3/Overview.bs @@ -8,6 +8,7 @@ Level: 3 Group: csswg ED: https://drafts.csswg.org/css-backgrounds/ TR: https://www.w3.org/TR/css-backgrounds-3/ +Previous Version: https://www.w3.org/TR/2024/CRD-css-backgrounds-3-20240311/ Previous Version: https://www.w3.org/TR/2020/CR-css-backgrounds-3-20201222/ Previous Version: https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/ Previous version: https://www.w3.org/TR/2014/CR-css3-background-20140909/ @@ -3662,6 +3663,15 @@ Level 3

    Changes

    +

    +Changes since the 11 March 2024 Candidate Recommendation Draft

    + +
      +
    • Changed the special case of 'border-width' having a value of ''0'' when 'border-style' is ''border-style/none'' or ''border-style/hidden'' + from a computed-value effect to a resolved-value effect. + (Issue 11494) +
    +

    Changes since the 14 February 2023 Candidate Recommendation Snapshot

    diff --git a/css-gaps-1/Overview.bs b/css-gaps-1/Overview.bs index f5b76d8bf66..c82548533d0 100644 --- a/css-gaps-1/Overview.bs +++ b/css-gaps-1/Overview.bs @@ -1059,6 +1059,6 @@ Changes since the 1
  • Specified the behavior when gaps are coincident due to track collapsing. (Issue 11814)
  • Added links to WPT suite. -
  • Removed the special case of ''column-rule-width'' having a computed value of ''0'' when ''column-rule-style'' is ''border-style/none'' or ''border-style/hidden''. +
  • Removed the special case of 'column-rule-width' having a computed value of ''0'' when 'column-rule-style' is ''border-style/none'' or ''border-style/hidden''. (Issue 11494) diff --git a/css-multicol-1/Overview.bs b/css-multicol-1/Overview.bs index 4d47a1fc2a5..be5bd6eb6ca 100644 --- a/css-multicol-1/Overview.bs +++ b/css-multicol-1/Overview.bs @@ -3,16 +3,15 @@ Title: CSS Multi-column Layout Module Level 1 Group: CSSWG Shortname: css-multicol Level: 1 -Status: CR -Prepare for TR: yes -Date: 2024-05-09 -Deadline: 2024-07-09 +Status: ED +Prepare for TR: no Implementation Report: https://test.csswg.org/harness/results/css-multicol-1_dev/grouped/ Work Status: Testing WPT Path Prefix: /css/css-multicol/ WPT Display: closed ED: https://drafts.csswg.org/css-multicol/ TR: https://www.w3.org/TR/css-multicol-1/ +Previous Version: https://www.w3.org/TR/2024/CR-css-multicol-1-20240516/ Previous Version: https://www.w3.org/TR/2021/CR-css-multicol-1-20211012/ Previous Version: https://www.w3.org/TR/2021/WD-css-multicol-1-20210212/ Previous Version: https://www.w3.org/TR/2019/WD-css-multicol-1-20191015/ @@ -2090,6 +2089,13 @@ Pagination and Overflow Outside Multicol Containers This appendix is informative. +

    Changes from the Candidate Recommendation (CR) of 16 May 2024

    + +
      +
    • Removed the special case of 'column-rule-width' having a computed value of ''0'' when 'column-rule-style' is ''border-style/none'' or ''border-style/hidden''. + (Issue 11494) +
    +

    Changes from the Candidate Recommendation (CR) of 12 October 2021