Skip to content

[css-break-4] orphans and widows for fragmented monolithic replaced elements #3405

Open
@bernhardf-ro

Description

@bernhardf-ro

This topic has been split from #3404 at the request of @fantasai

When fragmenting monolithic replaced elements, e.g. images, it would in many cases be useful to have functionalities similar to orphans and widows, to avoid splitting off too small parts at the beginning or end.

Our current approach is actually using the orphans and widows properties, multiplying their values with the used line-height of the image box, causing breaks to be avoided or happen earlier, as in text.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions