- From: Jihye Hong <jh.hong@lge.com>
- Date: Tue, 29 Dec 2015 18:16:09 +0900
- To: "'Brad Kemper'" <brad.kemper@gmail.com>
- Cc: "'Florian Rivoal'" <florian@rivoal.net>, "'www-style list'" <www-style@w3.org>
> On Dec 24, 2015, at 1:56 AM, Brad Kemper <brad.kemper@gmail.com> wrote: > > Your last proposal is actually quite close to what I was proposing. > > > On Dec 22, 2015, at 10:02 PM, Jihye Hong <jh.hong@lge.com> wrote: > > > > On the other hand, 'center' seems to be no different from the 'polar- > origin' > > to me. > > Which is why it will be abused for uses which have nothing to do with > polar movement. What I'm saying is that sort of positioning by the > center of the positioned element is more generally useful. > > (I might have said polar-anchor before, when I meant polar-origin. I > keep getting the names mixed up. ) > > > Using 'polar-origin' is enough for finding the origin of the polar > movement. > > So, if I didn't need to move something at an angle, but instead just > wanted the center to align with a point 75% of the way across the > containing block, you are saying I would do this: > > Position:absolute; > Polar-distance:0; > Polar-origin: 75% 50%; > > Instead of this: > > Position:absolute; > center: 75% 50%; > > > If we want 'center' to only work if the other edge position values (t, > r, b, l) are 'auto', then that was one of my alternative proposals > anyway (the last one). That would mean that my proposal is ALMOST > exactly the same as yours, except: > > 1. 'Polar-origin' is named 'center' instead. > > 2. 'polar-*' is not required at all in order to use 'center'. > > 3. 'Center' is a shorthand for '<center-x> <center-y>'. > > 4. 'center-x' or 'center-y' could be 'auto' without both of them being > 'auto'. > So, when you use 'center' property, does it enable other polar-* properties to use? Is it possible to use like below?: position: absolute; center: 50% 50%; polar-anchor: 25% 25%; If so, then changing the definition of 'polar-origin' for the general use which is the 'center' property's role is worth for being considered. But I'm still not sure about the naming of the property as 'center' instead of 'polar-origin'. The main feature of 'center' seems to specify the origin of the polar coordinates. Therefore including 'origin' to the property's name seems natural to me. For example, 'box-origin' or 'origin-point'? And 'center' looks little bit out of bound of the CSS Round Display Spec. I think it also could be discussed in another spec like CSS Positioned Layout [1]. Thanks, Jihye [1] http://www.w3.org/TR/css3-positioning/
Received on Tuesday, 29 December 2015 09:16:45 UTC