-
Notifications
You must be signed in to change notification settings - Fork 757
Description
I may be misunderstanding this so I apologize in advance. Here is the section:
https://drafts.csswg.org/css-values/#calc-computed-value
In there you have the "Example 22" box, which says, below the code:
Due to this,
background-positionpreserves the percentage in acalc()rather than resolving it directly into a length, so that an expression likebackground-position: left calc(50% + 20px)properly centers the background and then shifts it20pxto the right, rather than placing its left edge 20px off of center.
However, a background-position set to "left calc(50% + 20px)" would center the image, then shift it 20px "down", not "to the right". The second value is the vertical offset, correct? Thus, it should read:
...properly centers the background and then shifts it
20pxto down, rather than placing its top edge 20px off of center.
If there's something I'm totally misunderstanding here, forgive me for wasting anyone's time. Thanks.