aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/style_adjuster.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-28 10:07:08 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-07-06 14:49:24 +0200
commitd31cdb682f717d6dbdbd57d60855fd92d822cd66 (patch)
tree6dbb0c6007b545835a119bdf8e78cb5a665afa34 /components/style/style_adjuster.rs
parentf11c6045e33a921f03223c313781586189309bd2 (diff)
downloadservo-d31cdb682f717d6dbdbd57d60855fd92d822cd66.tar.gz
servo-d31cdb682f717d6dbdbd57d60855fd92d822cd66.zip
Make the choice of layout runtime setting
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'components/style/style_adjuster.rs')
-rw-r--r--components/style/style_adjuster.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/components/style/style_adjuster.rs b/components/style/style_adjuster.rs
index ca5bbe9bb00..660bdd6045b 100644
--- a/components/style/style_adjuster.rs
+++ b/components/style/style_adjuster.rs
@@ -245,11 +245,8 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
.add_flags(ComputedValueFlags::IS_ROOT_ELEMENT_STYLE);
}
- #[cfg(feature = "servo-layout-2013")]
- {
- if self.style.get_parent_column().is_multicol() {
- self.style.add_flags(ComputedValueFlags::CAN_BE_FRAGMENTED);
- }
+ if self.style.get_parent_column().is_multicol() {
+ self.style.add_flags(ComputedValueFlags::CAN_BE_FRAGMENTED);
}
}