Bug 131214 - [CSS Fragmentation] Break-before and break-after should propagate to the container in some cases
Summary: [CSS Fragmentation] Break-before and break-after should propagate to the cont...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: AdobeTracked
Depends on:
Blocks: 113050
  Show dependency treegraph
 
Reported: 2014-04-04 00:44 PDT by Andrei Bucur
Modified: 2024-01-03 13:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Bucur 2014-04-04 00:44:22 PDT
See: http://dev.w3.org/csswg/css-break-3/#break-between

"Since breaks are only allowed between siblings, not between a box and its container (see Possible Break Points), a ‘break-before’ value on a first-child box is propagated to its container. Likewise a ‘break-after’ value on a last-child box is propagated to its container. (Conflicting values combine as defined below.) This propagation stops before it breaks through the nearest matching fragmentation context."
Comment 1 Ahmad Saleem 2024-01-03 13:47:30 PST
Updated link - https://drafts.csswg.org/css-break-3/#break-propagation

"Since breaks are only allowed between siblings, not between a box and its container (see Possible Break Points), break values applied to children at the start/end of a parent are propagated to the parent, where they can take effect.
..."