mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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 -->
This commit is contained in:
commit
e852d02f1c
4 changed files with 91 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue