diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-09-05 17:08:30 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-09-05 17:45:38 +0200 |
commit | aa0c05574c673c7d9cc688386c0c580a0e573e67 (patch) | |
tree | 969b379bd7500744a256269bbcfe6af5fdbd4c27 /components/layout/construct.rs | |
parent | f4fbf1b8a1edf1b6f4148e38bb9514207a068f16 (diff) | |
download | servo-aa0c05574c673c7d9cc688386c0c580a0e573e67.tar.gz servo-aa0c05574c673c7d9cc688386c0c580a0e573e67.zip |
Make inline elements work in fullscreen mode
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 856f8dbc52e..5c9ff1256dd 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -1878,7 +1878,9 @@ where // Inline items that are absolutely-positioned contribute inline fragment construction // results with a hypothetical fragment. (Display::Inline, _, Position::Absolute) | - (Display::InlineBlock, _, Position::Absolute) => { + (Display::Inline, _, Position::Fixed) | + (Display::InlineBlock, _, Position::Absolute) | + (Display::InlineBlock, _, Position::Fixed) => { let construction_result = self.build_fragment_for_absolutely_positioned_inline(node); self.set_flow_construction_result(node, construction_result) |