From 6fbfac8960ba76c1dc5aea34d35a5c11f8487ba7 Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Wed, 27 Nov 2024 04:56:32 +0530 Subject: [PATCH] fix(css): remove the unimplemented src() (#36839) --- files/en-us/web/css/at-rule-functions/index.md | 4 ---- files/en-us/web/css/url_value/index.md | 7 ++++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/files/en-us/web/css/at-rule-functions/index.md b/files/en-us/web/css/at-rule-functions/index.md index 0a7f61e9a7818b2..d0c367776d7343b 100644 --- a/files/en-us/web/css/at-rule-functions/index.md +++ b/files/en-us/web/css/at-rule-functions/index.md @@ -25,8 +25,6 @@ The {{CSSxRef("@import")}} at-rule is used to import styles from other styleshee - {{CSSxRef("@import", "@import url()")}} - : Imports a stylesheet file from the specified URL. -- {{CSSxRef("@import", "@import src()")}} - - : Imports a stylesheet file from the specified source. - {{CSSxRef("@import", "@import supports()")}} - : Imports a stylesheet file based on browser support. - {{CSSxRef("@import", "@import layer()")}} @@ -49,8 +47,6 @@ The {{CSSxRef("@namespace")}} at-rule is used to specify XML namespaces to be us - {{CSSxRef("@namespace", "@namespace url()")}} - : Defines XML namespace from the specified URL. -- {{CSSxRef("@namespace", "@namespace src()")}} - - : Defines XML namespace from the specified source. ## @container functions diff --git a/files/en-us/web/css/url_value/index.md b/files/en-us/web/css/url_value/index.md index 2af6102d2d442ce..8e55e6883c83a03 100644 --- a/files/en-us/web/css/url_value/index.md +++ b/files/en-us/web/css/url_value/index.md @@ -12,7 +12,7 @@ The **``** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_T ## Syntax ```plain - = | + = ``` ### Values @@ -21,8 +21,9 @@ The value is either of the following: - [``](/en-US/docs/Web/CSS/url_function) - : The `url()` function accepts only a URL literal string (with or without quotes). -- `` - - : This function can accept a URL string or a [CSS variable](/en-US/docs/Web/CSS/var). + +> [!NOTE] +> 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. ## Specifications