Skip to content

Commit aa714bb

Browse files
authored
fix(css): enforce canonical order on border and outline pages (#34995)
fix(css): enforce canonical order on border and outlinen pages
1 parent 9f32592 commit aa714bb

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

files/en-us/web/css/border/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ The **`border`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en
1515

1616
This property is a shorthand for the following CSS properties:
1717

18-
- [`border-color`](/en-US/docs/Web/CSS/border-color)
19-
- [`border-style`](/en-US/docs/Web/CSS/border-style)
2018
- [`border-width`](/en-US/docs/Web/CSS/border-width)
19+
- [`border-style`](/en-US/docs/Web/CSS/border-style)
20+
- [`border-color`](/en-US/docs/Web/CSS/border-color)
2121

2222
## Syntax
2323

files/en-us/web/css/outline-color/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ p {
9595
## See also
9696

9797
- {{cssxref("outline")}}
98-
- {{cssxref("outline-color")}}
99-
- {{cssxref("outline-style")}}
10098
- {{cssxref("outline-width")}}
99+
- {{cssxref("outline-style")}}
101100
- The {{cssxref("<color>")}} data type
102101
- Other color-related properties: {{cssxref("color")}}, {{cssxref("background-color")}}, {{cssxref("border-color")}}, {{cssxref("text-decoration-color")}}, {{cssxref("text-emphasis-color")}}, {{cssxref("text-shadow")}}, {{cssxref("caret-color")}}, and {{cssxref("column-rule-color")}}

files/en-us/web/css/outline-offset/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ p {
8080
## See also
8181

8282
- {{cssxref("outline")}}
83-
- {{cssxref("outline-color")}}
84-
- {{cssxref("outline-style")}}
8583
- {{cssxref("outline-width")}}
84+
- {{cssxref("outline-style")}}
85+
- {{cssxref("outline-color")}}

files/en-us/web/css/outline-style/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,5 +244,5 @@ The `auto` value indicates a custom outline style, described in [the specificati
244244
## See also
245245

246246
- {{cssxref("outline")}}
247-
- {{cssxref("outline-color")}}
248247
- {{cssxref("outline-width")}}
248+
- {{cssxref("outline-color")}}

files/en-us/web/css/outline-width/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ span {
118118
## See also
119119

120120
- {{cssxref("outline")}}
121-
- {{cssxref("outline-color")}}
122121
- {{cssxref("outline-style")}}
122+
- {{cssxref("outline-color")}}

files/en-us/web/css/outline/index.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@ The **`outline`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/We
1515

1616
This property is a shorthand for the following CSS properties:
1717

18-
- {{cssxref("outline-color")}}
19-
- {{cssxref("outline-style")}}
2018
- {{cssxref("outline-width")}}
19+
- {{cssxref("outline-style")}}
20+
- {{cssxref("outline-color")}}
2121

2222
## Syntax
2323

2424
```css
2525
/* style */
2626
outline: solid;
2727

28-
/* color | style */
29-
outline: #f66 dashed;
28+
/* style | color */
29+
outline: dashed #f66;
3030

31-
/* style | width */
32-
outline: inset thick;
31+
/* width | style */
32+
outline: thick inset;
3333

34-
/* color | style | width */
35-
outline: green solid 3px;
34+
/* width | style | color*/
35+
outline: 3px solid green;
3636

3737
/* Global values */
3838
outline: inherit;
@@ -48,12 +48,12 @@ The `outline` property may be specified using one, two, or three of the values l
4848

4949
### Values
5050

51-
- `<'outline-color'>`
52-
- : Sets the color of the outline. Defaults to `invert` for browsers supporting it, `currentcolor` for the others. See {{cssxref("outline-color")}}.
53-
- `<'outline-style'>`
54-
- : Sets the style of the outline. Defaults to `none` if absent. See {{cssxref("outline-style")}}.
5551
- `<'outline-width'>`
5652
- : Sets the thickness of the outline. Defaults to `medium` if absent. See {{cssxref("outline-width")}}.
53+
- `<'outline-style'>`
54+
- : Sets the style of the outline. Defaults to `none` if absent. See {{cssxref("outline-style")}}.
55+
- `<'outline-color'>`
56+
- : Sets the color of the outline. Defaults to `invert` for browsers supporting it, `currentcolor` for the others. See {{cssxref("outline-color")}}.
5757

5858
## Description
5959

@@ -120,6 +120,7 @@ a:focus {
120120

121121
## See also
122122

123-
- {{cssxref("outline-color")}}
124-
- {{cssxref("outline-style")}}
125123
- {{cssxref("outline-width")}}
124+
- {{cssxref("outline-style")}}
125+
- {{cssxref("outline-color")}}
126+
- {{Cssxref("border")}}

0 commit comments

Comments
 (0)