Skip to content

Comments

feat(css): Update the syntax for background-*#987

Merged
pepelsbey merged 1 commit intomdn:mainfrom
skyclouds2001:background
Aug 13, 2025
Merged

feat(css): Update the syntax for background-*#987
pepelsbey merged 1 commit intomdn:mainfrom
skyclouds2001:background

Conversation

@skyclouds2001
Copy link
Contributor

Description

for background, simply the syntax to match the spec
for <final-bg-layer> & <bg-image>, adjust order to match the spec
for <bg-size>, update range value support, to be consistent with the spec

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/CSS/background
https://drafts.csswg.org/css-backgrounds/#propdef-background
https://drafts.csswg.org/css-backgrounds/#typedef-bg-layer
https://drafts.csswg.org/css-backgrounds/#typedef-final-bg-layer
https://drafts.csswg.org/css-backgrounds/#typedef-bg-image

Related issues and pull requests

@skyclouds2001 skyclouds2001 marked this pull request as ready for review April 21, 2025 17:11
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner April 21, 2025 17:11
@skyclouds2001 skyclouds2001 requested review from pepelsbey and removed request for a team April 21, 2025 17:11
@skyclouds2001 skyclouds2001 changed the title feat(css): Update the syntax to match the spec feat(css): Update the syntax for background-* May 5, 2025
@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jun 6, 2025
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you :)

@pepelsbey pepelsbey merged commit c892cd5 into mdn:main Aug 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idle Issues and pull requests with no activity for three months.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants