You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For center alignment, matching the center of the smallest possible virtual circle (or possibly ellipse) surrounding the box to align with the same center of its alignment container may give better visual results than using the horizontal and vertical center of rectangular boxes. I propose a new positional alignment keyword circular-center for this.
This alignment is particularly useful for non-rectangular boxes as specified in [css-shapes], but the level-1 draft of this module only considers custom shapes for floating boxes. For rectangular boxes and shapes, circular-center equals center.
The text was updated successfully, but these errors were encountered:
I'm not sure I understand what's being requested here. For rectangles, the circumcircle has the same center as the rectangle itself.
The medium post you've linked to describes the use of a circumcircle around the non-rectangular shape, which can definitely give a different answer than the center of the shape's bounding box. But we only have rectangles to work with.
Yes, that is why I referenced the Shapes module. Its shape-outside currently only affects the float area of float elements (defaulting to the margin box) and not the alignment subject (also defaulting to the margin box). This would need to change for circular-center to differ from center.
For
center
alignment, matching the center of the smallest possible virtual circle (or possibly ellipse) surrounding the box to align with the same center of its alignment container may give better visual results than using the horizontal and vertical center of rectangular boxes. I propose a new positional alignment keywordcircular-center
for this.This alignment is particularly useful for non-rectangular boxes as specified in [css-shapes], but the level-1 draft of this module only considers custom shapes for floating boxes. For rectangular boxes and shapes,
circular-center
equalscenter
.The text was updated successfully, but these errors were encountered: