aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index e4b19e20b0c..894c7f1e528 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -992,6 +992,10 @@ impl BaseFlow {
let mut flags = FlowFlags::empty();
match style {
Some(style) => {
+ if style.can_be_fragmented() {
+ flags.insert(FlowFlags::CAN_BE_FRAGMENTED);
+ }
+
match style.get_box().position {
Position::Absolute | Position::Fixed => {
flags.insert(FlowFlags::IS_ABSOLUTELY_POSITIONED);