diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-28 10:07:08 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-07-06 14:49:24 +0200 |
commit | d31cdb682f717d6dbdbd57d60855fd92d822cd66 (patch) | |
tree | 6dbb0c6007b545835a119bdf8e78cb5a665afa34 /components/style/style_adjuster.rs | |
parent | f11c6045e33a921f03223c313781586189309bd2 (diff) | |
download | servo-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.rs | 7 |
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); } } |