Skip to content

Commit 6fbfac8

Browse files
authored
fix(css): remove the unimplemented src() (#36839)
1 parent 866b654 commit 6fbfac8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

files/en-us/web/css/at-rule-functions/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ The {{CSSxRef("@import")}} at-rule is used to import styles from other styleshee
2525

2626
- {{CSSxRef("@import", "@import url()")}}
2727
- : Imports a stylesheet file from the specified URL.
28-
- {{CSSxRef("@import", "@import src()")}}
29-
- : Imports a stylesheet file from the specified source.
3028
- {{CSSxRef("@import", "@import supports()")}}
3129
- : Imports a stylesheet file based on browser support.
3230
- {{CSSxRef("@import", "@import layer()")}}
@@ -49,8 +47,6 @@ The {{CSSxRef("@namespace")}} at-rule is used to specify XML namespaces to be us
4947

5048
- {{CSSxRef("@namespace", "@namespace url()")}}
5149
- : Defines XML namespace from the specified URL.
52-
- {{CSSxRef("@namespace", "@namespace src()")}}
53-
- : Defines XML namespace from the specified source.
5450

5551
## @container functions
5652

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The **`<url>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_T
1212
## Syntax
1313

1414
```plain
15-
<url> = <url()> | <src()>
15+
<url> = <url()>
1616
```
1717

1818
### Values
@@ -21,8 +21,9 @@ The value is either of the following:
2121

2222
- [`<url()>`](/en-US/docs/Web/CSS/url_function)
2323
- : The `url()` function accepts only a URL literal string (with or without quotes).
24-
- `<src()>`
25-
- : This function can accept a URL string or a [CSS variable](/en-US/docs/Web/CSS/var).
24+
25+
> [!NOTE]
26+
> The specification defines an alternative function called `src()` that accepts a URL string or a [CSS variable](/en-US/docs/Web/CSS/var). But no web browser has implemented the function yet.
2627
2728
## Specifications
2829

0 commit comments

Comments
 (0)