aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-09-06 05:27:02 -0400
committerGitHub <noreply@github.com>2019-09-06 05:27:02 -0400
commite852d02f1c02b42b5eb5b0ee592d5128f1232458 (patch)
tree00960d39a01446fa432bea7d28120eadb27d7d6f /components/layout/construct.rs
parentd6118923d3f12a1e621b4dc7c809312452a318d2 (diff)
parentaa0c05574c673c7d9cc688386c0c580a0e573e67 (diff)
downloadservo-e852d02f1c02b42b5eb5b0ee592d5128f1232458.tar.gz
servo-e852d02f1c02b42b5eb5b0ee592d5128f1232458.zip
Auto merge of #24034 - ferjm:video.fullscreen, r=emilio
Make inline elements work in fullscreen mode - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22358 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24034) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs4
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)