Support "page-break-inside: avoid" in flex containers

NEW
Assigned to

Status

()

Core
Layout
4 years ago
2 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

({dev-doc-needed})

Trunk
dev-doc-needed
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

4 years ago
Quoting Mats from bug 811024 comment 20:
> Please file a followup bug on adding support for page-break-inside:avoid
> unless there is one already.  It should be easy to fix, just add
> something like:
> 
>       if (ShouldAvoidBreakInside(aReflowState)) {
>         *aStatus = NS_INLINE_LINE_BREAK_BEFORE();
>         return NS_OK;
>       }
> 
> before setting an INCOMPLETE status in the patches your have here.

This is that followup bug.
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.