aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorPu Xingyu <pu.stshine@gmail.com>2016-07-10 16:34:12 +0800
committerPu Xingyu <pu.stshine@gmail.com>2016-07-10 16:34:12 +0800
commit2aeed833e65db1d12b9fd8a09a97501f2b89de1a (patch)
treee204192fc959f30f184488f5fa696eb244bae602 /components/layout/flow.rs
parentc2a22bd05e0c8282175422df26e188ef63bcc452 (diff)
downloadservo-2aeed833e65db1d12b9fd8a09a97501f2b89de1a.tar.gz
servo-2aeed833e65db1d12b9fd8a09a97501f2b89de1a.zip
Treat flex flow as block in float calculation
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 1c53740c402..35bd4c26881 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -588,7 +588,7 @@ impl FlowClass {
match self {
FlowClass::Block | FlowClass::ListItem | FlowClass::Table | FlowClass::TableRowGroup |
FlowClass::TableRow | FlowClass::TableCaption | FlowClass::TableCell |
- FlowClass::TableWrapper => true,
+ FlowClass::TableWrapper | FlowClass::Flex => true,
_ => false,
}
}