Skip to content

Conversation

@Buenaventura0
Copy link
Contributor

Description

Align padding-block, margin-block, and margin-inline values section with the spec, referencing the correct value.

Motivation

This change was done in a batch in a previous pull request for margin-related logical properties. Padding-related logical properties use a different structure for values content. So I decided to leave those intact, but change the ones similar to the previous changes.

#42907

Additional details

https://drafts.csswg.org/css-logical/#padding-properties

https://drafts.csswg.org/css-logical/#margin-properties

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/padding-block#values

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/margin-block#values

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/margin-inline#values

Related issues and pull requests

Relates to #42907

…-top.

The logical margin-block-start maps to the physical margin-top, so it makes sense to reference that property in values section instead of margin-left, to avoid any misleading confusion.
…s per the spec.

Part of a bundled change to align all logical properties with the CSS spec.
Part of a bundle to align the four logical properties with the spec.
…pec.

Part of a bundle change to align with the spec for logical properties.
@Buenaventura0 Buenaventura0 requested a review from a team as a code owner February 10, 2026 01:53
@Buenaventura0 Buenaventura0 requested review from hamishwillee and removed request for a team February 10, 2026 01:53
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed labels Feb 10, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

Preview URLs (3 pages)

Flaws (26)

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/CSS/Reference/Properties/margin-block
Title: margin-block
Flaw count: 9

  • broken_links:
    • Link /en-US/docs/Web/CSS/length#interpolation is a redirect
    • Link /en-US/docs/Web/CSS/margin-top is a redirect
    • Link /en-US/docs/Web/CSS/length is a redirect
    • Link /en-US/docs/Web/CSS/percentage is a redirect
    • Link /en-US/docs/Web/CSS/dashed-ident is a redirect
  • macros:
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Inheritance which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_animated_properties which is a redirect

URL: /en-US/docs/Web/CSS/Reference/Properties/margin-inline
Title: margin-inline
Flaw count: 9

  • broken_links:
    • Link /en-US/docs/Web/CSS/length#interpolation is a redirect
    • Link /en-US/docs/Web/CSS/margin-top is a redirect
    • Link /en-US/docs/Web/CSS/length is a redirect
    • Link /en-US/docs/Web/CSS/percentage is a redirect
    • Link /en-US/docs/Web/CSS/dashed-ident is a redirect
  • macros:
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Inheritance which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_animated_properties which is a redirect

URL: /en-US/docs/Web/CSS/Reference/Properties/padding-block
Title: padding-block
Flaw count: 8

  • broken_links:
    • Link /en-US/docs/Web/CSS/length#interpolation is a redirect
    • Link /en-US/docs/Web/CSS/padding-top is a redirect
    • Link /en-US/docs/Web/CSS/length is a redirect
    • Link /en-US/docs/Web/CSS/percentage is a redirect
  • macros:
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Inheritance which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_animated_properties which is a redirect

(comment last updated: 2026-02-10 01:57:46)

@Buenaventura0 Buenaventura0 changed the title Codespace-didactic-space-palm-tree-gwr457qxrg4fv7ww CSS Reference - Align shorthand logical spacing properties values section with the spec, referencing the correct value. Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant