Skip to content

Commit 3e16a53

Browse files
committed
[css-gaps-1] Drop 'gap-' from shorthand names per WG resolution. w3c#11495
1 parent 90c4b82 commit 3e16a53

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

css-gaps-1/Overview.bs

+33-33
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ Layout and painting {#layout-painting}
154154
<a>Gap decorations</a> are painted relative to pairs of <a>gap intersection points</a>,
155155
in the center of the corresponding gap and parallel to its edges.
156156

157-
Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break', and 'gap-rule-break' properties {#break}
158-
---------------------------------------------------------------------------------------------------------------------------
157+
Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break', and 'rule-break' properties {#break}
158+
-----------------------------------------------------------------------------------------------------------------------
159159

160160
<pre class='propdef'>
161161
Name: column-rule-break, row-rule-break
@@ -189,7 +189,7 @@ Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break
189189
Issue: Bikeshed these values.
190190

191191
<pre class='propdef shorthand'>
192-
Name: gap-rule-break
192+
Name: rule-break
193193
Value: <<'column-rule-break'>>
194194
Applies to: Same as 'column-rule-break' and 'row-rule-break'
195195
</pre>
@@ -306,8 +306,8 @@ Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break
306306
<div class="example">
307307
<pre>
308308
.break-intersection {
309-
gap-rule-break: intersection;
310-
gap-rule-outset: 0px;
309+
rule-break: intersection;
310+
rule-outset: 0px;
311311
}
312312
</pre>
313313
<img src="images/example-break-intersection.png">
@@ -319,8 +319,8 @@ Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break
319319
<div class="example">
320320
<pre>
321321
.break-spanning-item {
322-
gap-rule-break: spanning-item;
323-
gap-rule-outset: 0px;
322+
rule-break: spanning-item;
323+
rule-outset: 0px;
324324
}
325325
</pre>
326326
<img src="images/example-break-spanning-item.png">
@@ -333,8 +333,8 @@ Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break
333333
<div class="example">
334334
<pre>
335335
.break-none {
336-
gap-rule-break: none;
337-
gap-rule-outset: 0px;
336+
rule-break: none;
337+
rule-outset: 0px;
338338
}
339339
</pre>
340340
<img src="images/example-break-none.png">
@@ -344,8 +344,8 @@ Breaking gap decorations into segments: The 'column-rule-break', 'row-rule-break
344344
</figcaption>
345345
</div>
346346

347-
Adjusting gap decoration endpoints: The 'column-rule-outset', 'row-rule-outset', and 'gap-rule-outset' properties {#outset}
348-
---------------------------------------------------------------------------------------------------------------------------
347+
Adjusting gap decoration endpoints: The 'column-rule-outset', 'row-rule-outset', and 'rule-outset' properties {#outset}
348+
-----------------------------------------------------------------------------------------------------------------------
349349

350350
<pre class='propdef'>
351351
Name: column-rule-outset, row-rule-outset
@@ -367,7 +367,7 @@ Adjusting gap decoration endpoints: The 'column-rule-outset', 'row-rule-outset',
367367
where positive values may extend beyond the content bounds of the container.
368368

369369
<pre class='propdef shorthand'>
370-
Name: gap-rule-outset
370+
Name: rule-outset
371371
Value: <<'column-rule-outset'>>
372372
Applies to: Same as 'column-rule-outset' and 'row-rule-outset'
373373
</pre>
@@ -477,10 +477,10 @@ Adjusting gap decoration endpoints: The 'column-rule-outset', 'row-rule-outset',
477477
For details on how the offset is applied,
478478
see the steps to <a>determine pairs of gap decoration endpoints</a>.
479479

480-
Gap decoration paint order: The 'gap-rule-paint-order' property {#paint-order}
481-
------------------------------------------------------------------------------
480+
Gap decoration paint order: The 'rule-paint-order' property {#paint-order}
481+
--------------------------------------------------------------------------
482482
<pre class='propdef'>
483-
Name: gap-rule-paint-order
483+
Name: rule-paint-order
484484
Value: row-over-column | column-over-row
485485
Initial: row-over-column
486486
Applies to: <a>grid containers</a>, <a>flex containers</a>, and <a>masonry containers</a>
@@ -490,12 +490,12 @@ Gap decoration paint order: The 'gap-rule-paint-order' property {#paint-order}
490490

491491
Sets the paint order for <a>gap decorations</a> in two-dimensional containers.
492492

493-
The following examples illustrate adjustment of gap decoration paint order using the 'gap-rule-paint-order' property.
493+
The following examples illustrate adjustment of gap decoration paint order using the 'rule-paint-order' property.
494494

495495
<div class="example">
496496
<pre>
497497
.row-over-coulumn {
498-
gap-rule-paint-order: row-over-column;
498+
rule-paint-order: row-over-column;
499499
row-rule: 6px solid red;
500500
column-rule: 6px solid blue;
501501
}
@@ -508,7 +508,7 @@ Gap decoration paint order: The 'gap-rule-paint-order' property {#paint-order}
508508

509509
<div class="example">
510510
<pre>
511-
gap-rule-paint-order: column-over-row;
511+
rule-paint-order: column-over-row;
512512
row-rule: 6px solid red;
513513
column-rule: 6px solid blue;
514514
</pre>
@@ -766,23 +766,23 @@ Gap decoration shorthands: The 'column-rule' and 'row-rule' properties {#gap-dec
766766

767767
<pre class='propdef shorthand'>
768768
Name: column-rule, row-rule
769-
Value: <<gap-rule-list>> | <<auto-gap-rule-list>>
769+
Value: <<rule-list>> | <<auto-rule-list>>
770770
</pre>
771771

772772
<pre class='prod'>
773-
<dfn>&lt;gap-rule-list&gt;</dfn> = <<gap-rule-or-repeat>> [ / <<gap-rule-or-repeat>> ]*
773+
<dfn>&lt;rule-list&gt;</dfn> = <<rule-or-repeat>> [ / <<rule-or-repeat>> ]*
774774
775-
<dfn>&lt;auto-gap-rule-list&gt;</dfn> = [ [ <<gap-rule-or-repeat>> ] / ]*
776-
<<auto-repeat-gap-rule>>
777-
[ / [ <<gap-rule-or-repeat>> ] ]*
775+
<dfn>&lt;auto-rule-list&gt;</dfn> = [ [ <<rule-or-repeat>> ] / ]*
776+
<<auto-repeat-rule>>
777+
[ / [ <<rule-or-repeat>> ] ]*
778778
779-
<dfn>&lt;gap-rule-or-repeat&gt;</dfn> = [ <<gap-rule>> | <<repeat-gap-rule>> ]
779+
<dfn>&lt;rule-or-repeat&gt;</dfn> = [ <<rule>> | <<repeat-rule>> ]
780780
781-
<dfn>&lt;repeat-gap-rule&gt;</dfn> = repeat( [ <<integer [1,∞]>> ] , [ <<gap-rule>> ]# )
781+
<dfn>&lt;repeat-rule&gt;</dfn> = repeat( [ <<integer [1,∞]>> ] , [ <<rule>> ]# )
782782
783-
<dfn>&lt;auto-repeat-gap-rule&gt;</dfn> = repeat( auto , [ <<gap-rule>> ]# )
783+
<dfn>&lt;auto-repeat-rule&gt;</dfn> = repeat( auto , [ <<rule>> ]# )
784784
785-
<dfn>&lt;gap-rule&gt;</dfn> = [ <<line-width>> || <<line-style>> || <<color>> ]
785+
<dfn>&lt;rule&gt;</dfn> = [ <<line-width>> || <<line-style>> || <<color>> ]
786786
</pre>
787787

788788
These shorthands set the corresponding width, style, and color properties as a set.
@@ -792,32 +792,32 @@ Gap decoration shorthands: The 'column-rule' and 'row-rule' properties {#gap-dec
792792
Note that commas are reserved for future extension of the grammar to support
793793
<a href="https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/CSSGapDecorations/explainer.md#placement-of-gap-decorations">gap decoration areas</a>.
794794

795-
Bi-directional gap decoration shorthands: The 'gap-rule-color', 'gap-rule-style', 'gap-rule-width', and 'gap-rule' properties {#gap-rule-bi-directional}
796-
--------------------------------------------------------------------------------------------------------------------------------------------------------
795+
Bi-directional gap decoration shorthands: The 'rule-color', 'rule-style', 'rule-width', and 'rule' properties {#rule-bi-directional}
796+
------------------------------------------------------------------------------------------------------------------------------------
797797

798798
<pre class='propdef shorthand'>
799-
Name: gap-rule-color
799+
Name: rule-color
800800
Value: <<'column-rule-color'>>
801801
Inherited: no
802802
Applies to: Same as 'column-rule-color' and 'row-rule-color'
803803
</pre>
804804

805805
<pre class='propdef shorthand'>
806-
Name: gap-rule-style
806+
Name: rule-style
807807
Value: <<'column-rule-style'>>
808808
Inherited: no
809809
Applies to: Same as 'column-rule-style' and 'row-rule-style'
810810
</pre>
811811

812812
<pre class='propdef shorthand'>
813-
Name: gap-rule-width
813+
Name: rule-width
814814
Value: <<'column-rule-width'>>
815815
Inherited: no
816816
Applies to: Same as 'column-rule-width' and 'row-rule-width'
817817
</pre>
818818

819819
<pre class='propdef shorthand'>
820-
Name: gap-rule
820+
Name: rule
821821
Value: <<'column-rule'>>
822822
Inherited: no
823823
Applies to: Same as 'column-rule' and 'row-rule'

0 commit comments

Comments
 (0)