Skip to content

Commit b987f2c

Browse files
authored
[css-gaps-1] Fix missing syntax for inset #12848 (#13264)
1 parent da623fe commit b987f2c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

css-gaps-1/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
682682

683683
<pre class='propdef shorthand'>
684684
Name: column-rule-inset, row-rule-inset
685-
Value: <<length-percentage>> [ <<length-percentage>> ]?
685+
Value: <<length-percentage>> <<length-percentage>>? [/ <<length-percentage>> <<length-percentage>>?]?
686686
Applies to: Same as 'column-rule-edge-inset', 'column-rule-interior-inset', 'row-rule-edge-inset', and 'row-rule-interior-inset'
687687
</pre>
688688

@@ -692,7 +692,11 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
692692
Applies to: Same as 'column-rule-inset' and 'row-rule-inset'
693693
</pre>
694694

695-
Sets the 'column-rule-inset' and 'row-rule-inset' properties to the same value.
695+
Sets the 'column-rule-inset' and 'row-rule-inset' properties to the same value. Syntax is as follows:
696+
```
697+
edge-start edge-end? [/ interior-start interior-end?]?
698+
```
699+
where each of ''edge-start'', ''edge-end'', ''interior-start'', and ''interior-end'' are <<length-percentage>> values.
696700

697701
<pre class='propdef shorthand'>
698702
Name: column-rule-inset-start, row-rule-inset-start
@@ -1571,4 +1575,5 @@ Changes since the <a href="https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/">1
15711575
<a href="https://github.com/w3c/csswg-drafts/issues/12848">Issue 12848</a>,
15721576
<a href="https://github.com/w3c/csswg-drafts/issues/8402">Issue 8402</a>)
15731577
<li>Added a paragraph clarifying that gap decorations are not drawn where gaps are suppressed due to fragment breaks.
1578+
<li>Corrected syntax errors for the inset shorthands.</li>
15741579
</ul>

0 commit comments

Comments
 (0)