Skip to content

Commit 52ce57a

Browse files
chrisdavidmillsestelle
authored andcommitted
Revert "CSS selectors pages: convert links to macros" (#41995)
Revert "CSS selectors pages: convert links to macros (#41968)" This reverts commit a87a4b6.
1 parent bb4de34 commit 52ce57a

File tree

7 files changed

+39
-39
lines changed

7 files changed

+39
-39
lines changed

files/en-us/web/css/reference/selectors/_colon_defined/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ custom-element:defined::before {
105105
}
106106
```
107107

108-
We have also used the [`::before`](/en-US/docs/Web/CSS/Reference/Selectors/::before) pseudo-element to show a "Loading..." overlay message until the element is defined. After definition, it is removed by setting the {{cssxref("content")}} to an empty string.
108+
We have also used the [`::before`](/en-US/docs/Web/CSS/Reference/Selectors/::before) pseudo-element to show a "Loading..." overlay message until the element is defined. After definition, it is removed by setting the [`content`](/en-US/docs/Web/CSS/Reference/Properties/content) to an empty string.
109109

110110
The following JavaScript has been used to define the custom element. To allow you to see the state of the custom element before and after definition we run the {{domxref("CustomElementRegistry.define", "define()")}} method when the button is clicked.
111111

files/en-us/web/css/reference/selectors/_colon_fullscreen/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This example applies a different background color to a {{htmlelement("div")}} el
4444
</div>
4545
```
4646

47-
The `:fullscreen` pseudo-class is used to override the {{cssxref("background-color")}} of the `<div>` when it is in fullscreen mode.
47+
The `:fullscreen` pseudo-class is used to override the [`background-color`](/en-US/docs/Web/CSS/Reference/Properties/background-color) of the `<div>` when it is in fullscreen mode.
4848

4949
```css
5050
.element {

files/en-us/web/css/reference/selectors/_doublecolon_-moz-focus-inner/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Not part of any standard.
6464

6565
- [Mozilla CSS extensions](/en-US/docs/Web/CSS/Reference/Mozilla_extensions)
6666
- Related CSS properties:
67-
- {{cssxref("-moz-user-focus")}}
67+
- [`-moz-user-focus`](/en-US/docs/Web/CSS/Reference/Properties/-moz-user-focus)
6868

6969
- Related CSS selectors:
7070
- [`:focus`](/en-US/docs/Web/CSS/Reference/Selectors/:focus)

files/en-us/web/css/reference/selectors/_doublecolon_after/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The `::after` pseudo-element is an inline box generated as an immediate child of
6060

6161
An `::after` pseudo-element with a {{cssxref("display")}} value of `list-item` behaves like a list item, and can therefore generate a {{cssxref("::marker")}} pseudo-element just like an {{htmlelement("li")}} element.
6262

63-
If the {{cssxref("content")}} property is not specified, has an invalid value, or has `normal` or `none` as a value, then the `::after` pseudo-element is not rendered. It behaves as if `display: none` is set.
63+
If the [`content`](/en-US/docs/Web/CSS/Reference/Properties/content) property is not specified, has an invalid value, or has `normal` or `none` as a value, then the `::after` pseudo-element is not rendered. It behaves as if `display: none` is set.
6464

6565
> [!NOTE]
6666
> The [Selectors Level 3](https://drafts.csswg.org/selectors-3/#gen-content) specification introduced the double-colon notation `::after` to distinguish [pseudo-classes](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-classes) from [pseudo-elements](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-elements). Browsers also accept single-colon notation `:after`, introduced in CSS2.

files/en-us/web/css/reference/selectors/_doublecolon_before/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `::before` pseudo-element is an inline box generated as an immediate child o
5656

5757
A `::before` pseudo-element with a {{cssxref("display")}} value of `list-item` behaves like a list item, and can therefore generate a {{cssxref("::marker")}} pseudo-element just like an {{htmlelement("li")}} element.
5858

59-
If the {{cssxref("content")}} property is not specified, has an invalid value, or has `normal` or `none` as a value, then the `::before` pseudo-element is not rendered. It behaves as if `display: none` is set.
59+
If the [`content`](/en-US/docs/Web/CSS/Reference/Properties/content) property is not specified, has an invalid value, or has `normal` or `none` as a value, then the `::before` pseudo-element is not rendered. It behaves as if `display: none` is set.
6060

6161
> [!NOTE]
6262
> The [Selectors Level 3](https://drafts.csswg.org/selectors-3/#gen-content) specification introduced the double-colon notation `::before` to distinguish [pseudo-classes](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-classes) from [pseudo-elements](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-elements). Browsers also accept single-colon notation `:before`, introduced in CSS2.

files/en-us/web/css/reference/selectors/_doublecolon_cue/index.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -53,39 +53,39 @@ In the example above, the `::cue(u)` selector selects all the [`<u>`](/en-US/doc
5353

5454
Rules whose selectors include this element may only use the following CSS properties:
5555

56-
- {{cssxref("background")}}
57-
- {{cssxref("background-attachment")}}
58-
- {{cssxref("background-clip")}}
59-
- {{cssxref("background-color")}}
60-
- {{cssxref("background-image")}}
61-
- {{cssxref("background-origin")}}
62-
- {{cssxref("background-position")}}
63-
- {{cssxref("background-repeat")}}
64-
- {{cssxref("background-size")}}
65-
- {{cssxref("color")}}
66-
- {{cssxref("font")}}
67-
- {{cssxref("font-family")}}
68-
- {{cssxref("font-size")}}
69-
- {{cssxref("font-stretch")}}
70-
- {{cssxref("font-style")}}
71-
- {{cssxref("font-variant")}}
72-
- {{cssxref("font-weight")}}
73-
- {{cssxref("line-height")}}
74-
- {{cssxref("opacity")}}
75-
- {{cssxref("outline")}}
76-
- {{cssxref("outline-color")}}
77-
- {{cssxref("outline-style")}}
78-
- {{cssxref("outline-width")}}
79-
- {{cssxref("ruby-position")}}
80-
- {{cssxref("text-combine-upright")}}
81-
- {{cssxref("text-decoration")}}
82-
- {{cssxref("text-decoration-color")}}
83-
- {{cssxref("text-decoration-line")}}
84-
- {{cssxref("text-decoration-style")}}
85-
- {{cssxref("text-decoration-thickness")}}
86-
- {{cssxref("text-shadow")}}
87-
- {{cssxref("visibility")}}
88-
- {{cssxref("white-space")}}
56+
- [`background`](/en-US/docs/Web/CSS/Reference/Properties/background)
57+
- [`background-attachment`](/en-US/docs/Web/CSS/Reference/Properties/background-attachment)
58+
- [`background-clip`](/en-US/docs/Web/CSS/Reference/Properties/background-clip)
59+
- [`background-color`](/en-US/docs/Web/CSS/Reference/Properties/background-color)
60+
- [`background-image`](/en-US/docs/Web/CSS/Reference/Properties/background-image)
61+
- [`background-origin`](/en-US/docs/Web/CSS/Reference/Properties/background-origin)
62+
- [`background-position`](/en-US/docs/Web/CSS/Reference/Properties/background-position)
63+
- [`background-repeat`](/en-US/docs/Web/CSS/Reference/Properties/background-repeat)
64+
- [`background-size`](/en-US/docs/Web/CSS/Reference/Properties/background-size)
65+
- [`color`](/en-US/docs/Web/CSS/Reference/Properties/color)
66+
- [`font`](/en-US/docs/Web/CSS/Reference/Properties/font)
67+
- [`font-family`](/en-US/docs/Web/CSS/Reference/Properties/font-family)
68+
- [`font-size`](/en-US/docs/Web/CSS/Reference/Properties/font-size)
69+
- [`font-stretch`](/en-US/docs/Web/CSS/Reference/Properties/font-stretch)
70+
- [`font-style`](/en-US/docs/Web/CSS/Reference/Properties/font-style)
71+
- [`font-variant`](/en-US/docs/Web/CSS/Reference/Properties/font-variant)
72+
- [`font-weight`](/en-US/docs/Web/CSS/Reference/Properties/font-weight)
73+
- [`line-height`](/en-US/docs/Web/CSS/Reference/Properties/line-height)
74+
- [`opacity`](/en-US/docs/Web/CSS/Reference/Properties/opacity)
75+
- [`outline`](/en-US/docs/Web/CSS/Reference/Properties/outline)
76+
- [`outline-color`](/en-US/docs/Web/CSS/Reference/Properties/outline-color)
77+
- [`outline-style`](/en-US/docs/Web/CSS/Reference/Properties/outline-style)
78+
- [`outline-width`](/en-US/docs/Web/CSS/Reference/Properties/outline-width)
79+
- [`ruby-position`](/en-US/docs/Web/CSS/Reference/Properties/ruby-position)
80+
- [`text-combine-upright`](/en-US/docs/Web/CSS/Reference/Properties/text-combine-upright)
81+
- [`text-decoration`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration)
82+
- [`text-decoration-color`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration-color)
83+
- [`text-decoration-line`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration-line)
84+
- [`text-decoration-style`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration-style)
85+
- [`text-decoration-thickness`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration-thickness)
86+
- [`text-shadow`](/en-US/docs/Web/CSS/Reference/Properties/text-shadow)
87+
- [`visibility`](/en-US/docs/Web/CSS/Reference/Properties/visibility)
88+
- [`white-space`](/en-US/docs/Web/CSS/Reference/Properties/white-space)
8989

9090
## Examples
9191

files/en-us/web/css/reference/selectors/namespace_separator/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ The selector with no namespace, the `|a`, matched the JavaScript defined and app
181181

182182
## See also
183183

184-
- {{cssxref("@namespace")}}
184+
- [`@namespace`](/en-US/docs/Web/CSS/Reference/At-rules/@namespace)
185185
- [`Document.createElementNS()`](/en-US/docs/Web/API/Document/createElementNS) method
186186
- [`Element.namespaceURI`](/en-US/docs/Web/API/Element/namespaceURI) property
187187
- [CSS type selector](/en-US/docs/Web/CSS/Reference/Selectors/Type_selectors)

0 commit comments

Comments
 (0)