Skip to content

Commit af1402b

Browse files
chrisdavidmillsestelle
authored andcommitted
Revert "CSS properties: convert links to macros (part 2)" (#41993)
Revert "CSS properties: convert links to macros (part 2) (#41970)" This reverts commit 63f170e.
1 parent d51d392 commit af1402b

File tree

24 files changed

+89
-89
lines changed

24 files changed

+89
-89
lines changed

files/en-us/web/css/reference/properties/caret/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ div {
5555

5656
This property is a shorthand for the following CSS properties:
5757

58-
- {{cssxref("caret-color")}}
59-
- {{cssxref("caret-animation")}}
60-
- {{cssxref("caret-shape")}}
58+
- [`caret-color`](/en-US/docs/Web/CSS/Reference/Properties/caret-color)
59+
- [`caret-animation`](/en-US/docs/Web/CSS/Reference/Properties/caret-animation)
60+
- [`caret-shape`](/en-US/docs/Web/CSS/Reference/Properties/caret-shape)
6161

6262
## Syntax
6363

files/en-us/web/css/reference/properties/clip-path/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ We include two {{htmlElement("div")}} elements and an `<svg>` element containing
278278

279279
#### CSS
280280

281-
We use [flexbox](/en-US/docs/Web/CSS/Guides/Flexible_box_layout) to allow our elements to sit side-by-side with a gap between them, if there is space available. We define a {{cssxref("conic-gradient()")}} background image on both `<div>` elements, providing an interesting visual to clip, along with a {{cssxref("border")}}.
281+
We use [flexbox](/en-US/docs/Web/CSS/Guides/Flexible_box_layout) to allow our elements to sit side-by-side with a gap between them, if there is space available. We define a {{cssxref("gradient/conic-gradient", "conic-gradient()")}} background image on both `<div>` elements, providing an interesting visual to clip, along with a {{cssxref("border")}}.
282282

283283
```css
284284
body {

files/en-us/web/css/reference/properties/clip-rule/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We include an SVG with two `<clipPath>` elements that define star shapes, which
128128

129129
#### CSS
130130

131-
We provide the `<div>` elements with a set {{cssxref("width")}} and {{cssxref("height")}}, adding a {{cssxref("conic-gradient()")}} for their {{cssxref("background-image")}} value:
131+
We provide the `<div>` elements with a set {{cssxref("width")}} and {{cssxref("height")}}, adding a [`conic-gradient()`](/en-US/docs/Web/CSS/Reference/Values/gradient/conic-gradient) for their {{cssxref("background-image")}} value:
132132

133133
```css hidden
134134
body {

files/en-us/web/css/reference/properties/columns/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ columns: 3;
4949

5050
This property is a shorthand for the following CSS properties:
5151

52-
- {{cssxref("column-count")}}
53-
- {{cssxref("column-width")}}
52+
- [`column-count`](/en-US/docs/Web/CSS/Reference/Properties/column-count)
53+
- [`column-width`](/en-US/docs/Web/CSS/Reference/Properties/column-width)
5454

5555
## Syntax
5656

files/en-us/web/css/reference/properties/contain-intrinsic-block-size/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The following values can be specified for the intrinsic block size of an element
4545

4646
## Description
4747

48-
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and {{cssxref("content-visibility")}}.
48+
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility).
4949

5050
Size containment allows a user agent to lay out an element as though it had a fixed size.
5151
This prevents unnecessary reflows by avoiding the re-rendering of child elements to determine the actual size (thereby improving user experience).
@@ -76,7 +76,7 @@ The HTML below defines an element "contained_element" that will be subject to si
7676
</div>
7777
```
7878

79-
The CSS below sets the {{cssxref("content-visibility")}} of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
79+
The CSS below sets the [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility) of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
8080
The intrinsic block size and inline size that are used when it is size constrained are set at the same time using `contain-intrinsic-block-size` and `contain-intrinsic-inline-size`, respectively.
8181

8282
```css

files/en-us/web/css/reference/properties/contain-intrinsic-height/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following values may be specified for an element.
4242

4343
## Description
4444

45-
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and {{cssxref("content-visibility")}}, and may also be set using the {{cssxref("contain-intrinsic-size")}} [shorthand property](/en-US/docs/Web/CSS/Guides/Cascade/Shorthand_properties).
45+
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility), and may also be set using the [`contain-intrinsic-size`](/en-US/docs/Web/CSS/Reference/Properties/contain-intrinsic-size) [shorthand property](/en-US/docs/Web/CSS/Guides/Cascade/Shorthand_properties).
4646

4747
Size containment allows a user agent to lay out an element as though it had a fixed size, preventing unnecessary reflows by avoiding the re-rendering of child elements to determine the actual size (thereby improving user experience).
4848
By default, size containment treats elements as though they had no contents, and may collapse the layout in the same way as if the contents had no height (or width).
@@ -74,7 +74,7 @@ The HTML below defines an element "contained_element" that will be subject to si
7474
</div>
7575
```
7676

77-
The CSS below sets the {{cssxref("content-visibility")}} of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
77+
The CSS below sets the [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility) of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
7878
The width and height that are used when it is size constrained are set at the same time using `contain-intrinsic-width` and `contain-intrinsic-height`, respectively.
7979

8080
```css

files/en-us/web/css/reference/properties/contain-intrinsic-inline-size/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following values can be specified for the intrinsic inline size of an elemen
4646

4747
## Description
4848

49-
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and {{cssxref("content-visibility")}}.
49+
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility).
5050

5151
Size containment allows a user agent to lay out an element as though it had a fixed size, preventing unnecessary reflows by avoiding the re-rendering of child elements to determine the actual size (thereby improving user experience).
5252
By default, size containment treats elements as though they had no contents, and may collapse the layout in the same way as if the contents had no width or height.
@@ -76,7 +76,7 @@ The HTML below defines an element "contained_element" that will be subject to si
7676
</div>
7777
```
7878

79-
The CSS below sets the {{cssxref("content-visibility")}} of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
79+
The CSS below sets the [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility) of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
8080
The intrinsic block size and inline size that are used when it is size constrained are set at the same time using `contain-intrinsic-block-size` and `contain-intrinsic-inline-size`, respectively.
8181

8282
```css

files/en-us/web/css/reference/properties/contain-intrinsic-size/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ The **`contain-intrinsic-size`** [CSS](/en-US/docs/Web/CSS) [shorthand property]
1212

1313
This property is a shorthand for the following CSS properties:
1414

15-
- {{cssxref("contain-intrinsic-width")}}
16-
- {{cssxref("contain-intrinsic-height")}}
15+
- [`contain-intrinsic-width`](/en-US/docs/Web/CSS/Reference/Properties/contain-intrinsic-width)
16+
- [`contain-intrinsic-height`](/en-US/docs/Web/CSS/Reference/Properties/contain-intrinsic-height)
1717

1818
## Syntax
1919

@@ -62,7 +62,7 @@ If two `auto [<length> | none]` pairs are specified, the first pair applies to t
6262

6363
## Description
6464

65-
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and {{cssxref("content-visibility")}}.
65+
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility).
6666

6767
Size containment allows a user agent to lay out an element as though it had a fixed size, preventing unnecessary reflows by avoiding the re-rendering of child elements to determine the actual size (thereby improving user experience).
6868
By default, size containment treats elements as though they had no contents, and may collapse the layout in the same way as if the contents had no width or height.

files/en-us/web/css/reference/properties/contain-intrinsic-width/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following values may be specified for an element.
4242

4343
## Description
4444

45-
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and {{cssxref("content-visibility")}}, and may also be set using the {{cssxref("contain-intrinsic-size")}} [shorthand property](/en-US/docs/Web/CSS/Guides/Cascade/Shorthand_properties).
45+
The property is commonly applied alongside elements that can trigger size containment, such as [`contain: size`](/en-US/docs/Web/CSS/Reference/Properties/contain) and [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility), and may also be set using the [`contain-intrinsic-size`](/en-US/docs/Web/CSS/Reference/Properties/contain-intrinsic-size) [shorthand property](/en-US/docs/Web/CSS/Guides/Cascade/Shorthand_properties).
4646

4747
Size containment allows a user agent to lay out an element as though it had a fixed size, preventing unnecessary reflows by avoiding the re-rendering of child elements to determine the actual size (thereby improving user experience).
4848
By default, size containment treats elements as though they had no contents, and may collapse the layout in the same way as if the contents had no width or height.
@@ -74,7 +74,7 @@ The HTML below defines an element "contained_element" that will be subject to si
7474
</div>
7575
```
7676

77-
The CSS below sets the {{cssxref("content-visibility")}} of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
77+
The CSS below sets the [`content-visibility`](/en-US/docs/Web/CSS/Reference/Properties/content-visibility) of `contained_element` to `auto`, so if the element is hidden it will be size constrained.
7878
The width and height that are used when it is size constrained are set at the same time using `contain-intrinsic-width` and `contain-intrinsic-height`, respectively.
7979

8080
```css

files/en-us/web/css/reference/properties/contain/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Style containment causes the {{cssxref("counter-increment")}} property to be sco
300300

301301
#### Containment and quotes
302302

303-
CSS quotes are similarly affected in that the {{cssxref("content")}} values relating to quotes are scoped to the element:
303+
CSS quotes are similarly affected in that the [`content`](/en-US/docs/Web/CSS/Reference/Properties/content) values relating to quotes are scoped to the element:
304304

305305
```html
306306
<!-- With style containment -->

0 commit comments

Comments
 (0)