Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

[css-break-3] Define behavior for replaced elements #1904

Copy link
Copy link

Description

@fantasai
Issue body actions

The 'Applies to' line on break-inside doesn't seem to imply that it applies to block-level images, which it should. Mats's comment on this:

Fwiw, css-break-3 says for 'break-inside':
"Applies to: elements in the normal flow that establish formatting contexts, or that are block containers, table row groups, or table rows"
https://drafts.csswg.org/css-break/#propdef-break-inside

So according to that, 'break-inside' doesn't apply to images with display:block since they are not "containers" IMO.

CSS 2 is clearer that it does:
"Applies to: block-level elements (but see text)"
https://www.w3.org/TR/2011/REC-CSS2-20110607/page.html#page-break-props

Reactions are currently unavailable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.