- From: Torgue Philippe via GitHub <sysbot+gh@w3.org>
- Date: Sat, 29 Oct 2022 17:21:35 +0000
- To: public-css-archive@w3.org
letochagone has just created a new issue for https://github.com/w3c/csswg-drafts: == with the background-position property, where is the 50% position decision? == in the following example an image created with background-image has an even width (4 pixels) . It is placed in the middle (50%) of the div element containing it. This element has an odd size (9pixels). result: the image has 3 pixels to its left and 2 to its right. My question is not why. My question is where are the documents that specify this type of CSS decision? ``` #a { background-position: 50% 50%; background-image: linear-gradient(red,red); width: 9px; height: 10px; background-color: black; background-repeat: no-repeat; background-size: 4px 6px; } ``` ![image](https://user-images.githubusercontent.com/7129968/198844910-8b73aea6-4e00-4748-8f02-6473eb481379.png) `<div id="a"></div>` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7982 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 29 October 2022 17:21:37 UTC