background-position-x and background-position-y: A CSS Standard Query
The introduction of the CSS3 properties background-position-x and background-position-y has sparked concerns about their official status within the W3C CSS standard.
Controversy and Status
These properties, which split the traditional background-position property into horizontal and vertical components, were proposed for CSS3 but ultimately rejected by the Working Group due to perceived weak use cases. Despite this, they have been implemented in WebKit-based browsers like Chrome and Safari, while Gecko (Firefox) and Presto (Opera) do not support them.
Future Prospects
Recent discussions within the CSS WG have revealed that there will be no changes to the syntax of background-position or transform-origin in the foreseeable future. This suggests that background-position-x and background-position-y may not be included in the current version of CSS (e.g., CSS3 or later).
CSS4 Potential
However, hope remains for their eventual standardization. A thread on the
The above is the detailed content of Are `background-position-x` and `background-position-y` Officially Standardized CSS Properties?. For more information, please follow other related articles on the PHP Chinese website!