Home > Web Front-end > CSS Tutorial > Are `background-position-x` and `background-position-y` CSS Properties Going to Be Officially Standardized?

Are `background-position-x` and `background-position-y` CSS Properties Going to Be Officially Standardized?

Mary-Kate Olsen
Release: 2024-12-01 09:13:15
Original
805 people have browsed it

Are `background-position-x` and `background-position-y` CSS Properties Going to Be Officially Standardized?

Background-position-x and -y: A W3C CSS Property Conundrum

In the realm of web development, concern has emerged regarding the status of the CSS properties background-position-x and background-position-y. These properties, supported by WebKit (Chrome, Safari) but not by Gecko (Firefox) or Presto (Opera), have raised questions about their inclusion in the W3C CSS standard.

Official Reference and Rejection

An official CSS 3 proposal for splitting background-position into its x and y components was indeed submitted. However, the CSS Working Group (CSS WG) ultimately rejected the proposal, citing "too weak" a use case and potential ambiguity concerns with multiple background images and the CSS Object Model (CSSOM).

Current State and Future Prospects

Recent announcements from the CSS WG indicate that there will be no changes to the syntax of background-position or transform-origin. The reasoning behind this decision may lie in a desire to avoid further delays.

CSS 4 Inclusion and Update

While the properties have not been incorporated into CSS 3, there is a glimmer of hope for their inclusion in CSS 4. A recent thread on the [email protected] mailing list suggests that the topic might still be under consideration. Furthermore, [CSSWG Minutes](https://lists.w3.org/Archives/Public/www-style/2014Apr/0013.html) from 2014 indicate that background-position-x and background-position-y were approved for inclusion in CSS 4, specifically the "Backgrounds and Borders" level 4 module.

The above is the detailed content of Are `background-position-x` and `background-position-y` CSS Properties Going to Be Officially Standardized?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template