Skip to content

Commit f52013a

Browse files
authored
[css-gaps-1] Update trailing gap decoration assignment to use values in forward order. #12527
1 parent 68d50ef commit f52013a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

css-gaps-1/Overview.bs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -963,8 +963,8 @@ Lists of values and the ''repeat-line-color/repeat()'' notation</h3>
963963

964964
<li>
965965
If |trailing gaps| is non-empty,
966-
<a>assign gap decoration values in reverse</a> to |trailing gaps|
967-
using the last |trailing count| items in |values|.
966+
<a>assign gap decoration values</a> to |trailing gaps|
967+
using the first |trailing count| items in |values|.
968968
</li>
969969

970970
<li>
@@ -975,13 +975,6 @@ Lists of values and the ''repeat-line-color/repeat()'' notation</h3>
975975
</ol>
976976
</div>
977977

978-
<div algorithm>
979-
To <dfn>assign gap decoration values in reverse</dfn>
980-
to a list of <var ignore=''>gaps</var> using a list of <var ignore=''>values</var>,
981-
follow the same steps as to <a>assign gap decoration values</a>,
982-
except that in step 2, change all instances of "first" to "last".
983-
</div>
984-
985978
<h3 id="gap-decoration-shorthands">
986979
Gap decoration shorthands: The 'column-rule' and 'row-rule' properties</h3>
987980

@@ -1068,4 +1061,5 @@ Changes since the <a href="https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/">1
10681061
<li>Added links to WPT suite.
10691062
<li>Updated 'rule-paint-order' to 'rule-overlap'. (<a href="https://github.com/w3c/csswg-drafts/issues/12540">Issue 12540</a>)
10701063
<li>Updated the definition for intersections to use 'gutter'. (<a href="https://github.com/w3c/csswg-drafts/issues/12084">Issue 12084</a>)
1064+
<li>Updated trailing gap decoration assignment to use values in forward order. (<a href="https://github.com/w3c/csswg-drafts/issues/12527">Issue 12527</a>)
10711065
</ul>

0 commit comments

Comments
 (0)