Skip to content

Commit

Permalink
Fix macro redirection flaws (#35166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Jul 26, 2024
1 parent 942bbbe commit c5f403b
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion files/en-us/glossary/inset_properties/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The inset properties include the {{cssxref("top")}}, {{cssxref("left")}}, {{cssx

**Physical properties** reference specific physical sides of an element. Logical properties use directional keywords relative to the block and inline axes. **Block axis** refers to the axis that defines the stacking order of elements in a block layout. The **inline axis** is perpendicular to the block axis, representing the direction along which inline content like text flows within a block. The mapping depends on the element's {{cssxref("writing-mode")}}, {{cssxref("direction")}}, and {{cssxref("text-orientation")}}.

The interpretation of inset properties depends on the value of the {{cssxref("position")}} property. When `position: absolute` is set, they represent insets from the [containing block](/en-US/docs/Web/CSS/Containing_block) or [anchor element](/en-US/docs/Web/CSS/CSS_anchor_positioning/Using). With `position: relative`, they represent insets from the box's default margin edge position. With `sticky`, they represent insets from the {{glossary("scrollport")}} edge. The `fixed` value is similar to `absolute`, except the element is positioned and sized relative to its fixed positioning containing block, which is often the viewport.
The interpretation of inset properties depends on the value of the {{cssxref("position")}} property. When `position: absolute` is set, they represent insets from the [containing block](/en-US/docs/Web/CSS/Containing_block) or [anchor element](/en-US/docs/Web/CSS/CSS_anchor_positioning/Using). With `position: relative`, they represent insets from the box's default margin edge position. With `sticky`, they represent insets from the {{glossary("scroll container")}} edge. The `fixed` value is similar to `absolute`, except the element is positioned and sized relative to its fixed positioning containing block, which is often the viewport.

## See also

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlhrelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _Inherits properties from its parent, {{domxref("HTMLElement")}}._
- : A string, an enumerated attribute indicating alignment of the rule with respect to the surrounding context.
- {{domxref("HTMLHRElement.color")}} {{deprecated_inline}}
- : A string representing the name of the color of the rule.
- {{domxref("HTMLHRElement.noshade")}} {{deprecated_inline}}
- {{domxref("HTMLHRElement.noShade")}} {{deprecated_inline}}
- : A boolean value that sets the rule to have no shading.
- {{domxref("HTMLHRElement.size")}} {{deprecated_inline}}
- : A string representing the height of the rule.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/cx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,5 @@ When using percentage values for `cx`, the values are relative to the width of t
- {{cssxref("stroke")}}
- {{cssxref("paint-order")}}
- {{cssxref("border-radius")}} shorthand property
- {{cssxref("radial-gradient")}}
- {{cssxref("gradient/radial-gradient", "radial-gradient")}}
- {{cssxref("basic-shape")}} data type
2 changes: 1 addition & 1 deletion files/en-us/web/css/cy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ In this case, the y-axis coordinates of the center of the circle and ellipse are
- {{cssxref("stroke")}}
- {{cssxref("paint-order")}}
- {{cssxref("border-radius")}} shorthand property
- {{cssxref("radial-gradient")}}
- {{cssxref("gradient/radial-gradient", "radial-gradient")}}
- {{cssxref("basic-shape")}} data type
4 changes: 2 additions & 2 deletions files/en-us/web/css/offset-position/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: css.properties.offset-position

{{CSSRef}}

The **`offset-position`** [CSS](/en-US/docs/Web/CSS) property defines the initial position of an element along a path. This property is typically used in combination with the {{cssxref("offset-path")}} property to create a motion effect. The value of `offset-position` determines where the element gets placed initially for moving along an offset path if an `offset-path` function such as {{cssxref("path", "path()")}} does not specify its own starting position.
The **`offset-position`** [CSS](/en-US/docs/Web/CSS) property defines the initial position of an element along a path. This property is typically used in combination with the {{cssxref("offset-path")}} property to create a motion effect. The value of `offset-position` determines where the element gets placed initially for moving along an offset path if an `offset-path` function such as {{cssxref("basic-shape/path", "path()")}} does not specify its own starting position.

The `offset-position` property is part of a motion system based on {{cssxref("offset")}} constituent properties, including {{cssxref("offset-anchor")}}, {{cssxref("offset-distance")}}, and `offset-path`. These properties work together to create various motion effects along a path.

Expand Down Expand Up @@ -66,7 +66,7 @@ offset-position: unset;

### Setting initial offset-position for an offset-path

In this example, the {{cssxref("offset-path")}} property is used to define the path along which the `cyan` element should move. The value of the {{cssxref("path")}} CSS function is an [SVG data path](/en-US/docs/Web/SVG/Attribute/d) that describes a curved path. The element moves along this curved path during the `move` animation.
In this example, the {{cssxref("offset-path")}} property is used to define the path along which the `cyan` element should move. The value of the {{cssxref("basic-shape/path", "path()")}} CSS function is an [SVG data path](/en-US/docs/Web/SVG/Attribute/d) that describes a curved path. The element moves along this curved path during the `move` animation.

#### HTML

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/r/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ While the `r` is the same, the center points differ because the second SVG is sc
- {{cssxref("stroke")}}
- {{cssxref("paint-order")}}
- {{cssxref("border-radius")}} shorthand property
- {{cssxref("radial-gradient")}}
- {{cssxref("gradient/radial-gradient", "radial-gradient")}}
- {{cssxref("basic-shape")}} data type
- SVG {{SVGAttr("r")}} attribute
2 changes: 1 addition & 1 deletion files/en-us/web/css/rx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,5 @@ When using percentage values for `rx`, the values are relative to the width of t
- {{cssxref("stroke")}}
- {{cssxref("paint-order")}}
- {{cssxref("border-radius")}} shorthand property
- {{cssxref("radial-gradient")}}
- {{cssxref("gradient/radial-gradient", "radial-gradient")}}
- {{cssxref("basic-shape")}} data type
2 changes: 1 addition & 1 deletion files/en-us/web/css/ry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,5 @@ When using percentage values for `ry`, the values are relative to the height of
- {{cssxref("stroke")}}
- {{cssxref("paint-order")}}
- {{cssxref("border-radius")}} shorthand property
- {{cssxref("radial-gradient")}}
- {{cssxref("gradient/radial-gradient", "radial-gradient")}}
- {{cssxref("basic-shape")}} data type
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/img/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
>
> In these cases, the browser may replace the image with the text in the element's `alt` attribute. For these reasons and others, provide a useful value for `alt` whenever possible.
Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (it's decoration or a tracking pixel), and that non-visual browsers may omit it from {{glossary("Rendering engine", "rendering")}}. Visual browsers will also hide the broken image icon if the `alt` attribute is empty and the image failed to display.
Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (it's decoration or a tracking pixel), and that non-visual browsers may omit it from {{glossary("Engine/Rendering", "rendering")}}. Visual browsers will also hide the broken image icon if the `alt` attribute is empty and the image failed to display.

This attribute is also used when copying and pasting the image to text, or saving a linked image to a bookmark.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/media/formats/webrtc_codecs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ We then call that sender's {{domxref("RTCRtpSender.getParameters", "getParameter

If no video track is found, we set `codecList` to `null`.

On return, then, `codecList` is either `null` to indicate that no video tracks were found or it's an array of {{domxref("RTCRtpCodecParameters")}} objects, each describing one permitted codec configuration. Of special importance in these objects: the {{domxref("RTCRtpCodecParameters.payloadType", "payloadType")}} property, which is a one-byte value which uniquely identifies the described configuration.
On return, then, `codecList` is either `null` to indicate that no video tracks were found or it's an array of {{domxref("RTCCodecStats")}} objects, each describing one permitted codec configuration. Of special importance in these objects: the {{domxref("RTCCodecStats.payloadType", "payloadType")}} property, which is a one-byte value which uniquely identifies the described configuration.

> [!NOTE]
> The two methods for obtaining lists of codecs shown here use different output types in their codec lists. Be aware of this when using the results.
Expand Down

0 comments on commit c5f403b

Please sign in to comment.