W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-round-display] Add 'auto' to 'polar-anchor' and make it as initial value

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 21 Apr 2016 09:09:14 -0700
Cc: www-style list <www-style@w3.org>
Message-Id: <8BBB7282-6C74-48A8-BC71-9BFBD7774F2F@gmail.com>
To: Jihye Hong <jh.hong@lge.com>



Brad Kemper

On Apr 21, 2016, at 1:56 AM, Jihye Hong <jh.hong@lge.com> wrote:

>> Assuming I am not confusing 'polar-anchor'
>> with 'polar-origin', as I often do, 'polar-anchor: center' should be what
>> lines up the center of the element with the center of the containing
> block.
>> Since positioned items are not centered by default, the initial value
>> should be 'polar-anchor: auto'.
> 
> 'polar-anchor' is the element's representative point(anchor point) when it
> is positioned in the containing block.
> 'polar-anchor' can set the anchor point within the content area of the
> element.

Aargh. We really need better names. I was thinking 'anchor' was where you anchor it in the containing block, and 'origin' was the representative point in the element itself. My entire reply was based on this confusion of the very similar meanings of the two words.  

I still think 'polar-anchor' (the changing of the representative point) does nothing significantly different than than 'transform: translate', and that we don't need both. But even if we keep it, it should be renamed 'nudge' or something similar, to represent its actual effect on elements. 
Received on Thursday, 21 April 2016 16:09:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC