From 3c2122c23e8f23dabc2943f00d53c927b9c44d35 Mon Sep 17 00:00:00 2001 From: Rachel Andrew Date: Thu, 4 Mar 2021 08:53:28 +0000 Subject: [PATCH 1/2] flaws and double brackets in image --- files/en-us/web/css/image/index.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/files/en-us/web/css/image/index.html b/files/en-us/web/css/image/index.html index 094ac00affe8894..cf6ff0e79f5b0f9 100644 --- a/files/en-us/web/css/image/index.html +++ b/files/en-us/web/css/image/index.html @@ -20,12 +20,12 @@

Syntax

The <image> data type can be represented with any of the following:

Description

@@ -78,7 +78,7 @@

Description

? - {{CSSxRef("symbols")}} for @counter-style + {{CSSxRef("symbols()")}} for @counter-style At risk feature. If supported, the browser-defined size matching the usual cursor size on the client's system @@ -96,14 +96,14 @@

Description

  • If the specified size defines neither the width nor the height, the concrete object size is calculated so that it matches the intrinsic aspect ratio of the image but without exceeding the default object size in any dimension. If the image has no intrinsic aspect ratio, the intrinsic aspect ratio of the object it applies to is used; if this object has none, the missing width or height are taken from the default object size.
  • -
    Note: Not all browsers support every type of image on every property. See the browser compatibility section for details.
    +
    Note: Not all browsers support every type of image on every property. See the browser compatibility section for details.

    Accessibility concerns

    Browsers do not provide any special information on background images to assistive technology. This is important primarily for screen readers, as a screen reader will not announce its presence and therefore convey nothing to its users. If the image contains information critical to understanding the page's overall purpose, it is better to describe it semantically in the document.

    @@ -148,7 +148,7 @@

    Specifications

    {{SpecName("CSS4 Images", "#typedef-image", "<image>")}} {{Spec2("CSS4 Images")}} - Adds {{CSSxRef("element()")}}, {{CSSxRef("image()")}}, {{CSSxRef("image-set")}}, {{CSSxRef("conic-gradient")}}, {{CSSxRef("repeating-conic-gradient", "repeating-conic-gradient()")}}, and {{CSSxRef("image-resolution")}}. + Adds {{CSSxRef("element()","element()")}}, {{CSSxRef("image()","image()")}}, {{CSSxRef("image-set()","image-set()")}}, {{CSSxRef("conic-gradient()","conic-gradient()")}}, {{CSSxRef("repeating-conic-gradient()", "repeating-conic-gradient()")}}, and {{CSSxRef("image-resolution")}}. {{SpecName("CSS3 Images", "#typedef-image", "<image>")}} @@ -166,8 +166,8 @@

    See also

    From b412d9cd4ea51300d44a0d082e2912922938a3bf Mon Sep 17 00:00:00 2001 From: Rachel Andrew Date: Thu, 4 Mar 2021 10:11:03 +0000 Subject: [PATCH 2/2] fix --- files/en-us/web/css/image/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/image/index.html b/files/en-us/web/css/image/index.html index cf6ff0e79f5b0f9..15dfbac8d13de72 100644 --- a/files/en-us/web/css/image/index.html +++ b/files/en-us/web/css/image/index.html @@ -23,7 +23,7 @@

    Syntax

  • An image denoted by the {{CSSxRef("url()", "url()")}} data type
  • A {{CSSxRef("<gradient>")}} data type
  • A part of the webpage, defined by the {{CSSxRef("element()","element()")}} function
  • -
  • An image, image fragment or solid patch of color, defined by the {{CSSxRef("image")}} function
  • +
  • An image, image fragment or solid patch of color, defined by the {{CSSxRef("image()","image()")}} function
  • A blending of two or more images defined by the {{CSSxRef("cross-fade()","cross-fade()")}} function.
  • A selection of images chosen based on resolution defined by the {{CSSxRef("image-set()","image-set()")}} function.