Skip to content

[motion-1] The definition of "containing box" for ray() function #369

Closed
@BorisChiou

Description

@BorisChiou

The definition of <size> in ray() is:

Decides the path length used when offset-distance is expressed as a percentage, using the distance to the containing box.

I guess this is pretty similar to containing block, right? So should we choose a different edge based on position property? Or just always use border edge or padding edge? It seems always using padding edge may make sense becuase it looks like contain flag doesn't expect the element overlaps the borders, but I'm not sure.

If the element is an SVG element (e.g. <rect>), how do we define this containing box on SVG layout? Perhaps we need a better definition for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions