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) diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index a623d546a60..8afa233be11 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -1,5 +1,11 @@ { "items": { + "conformancechecker": { + "css/blockify_inline_element.html": [] + }, + "manual": { + "css/blockify_inline_element.html": [] + }, "reftest": { "css/abs-overflow-stackingcontext.html": [ [ @@ -779,6 +785,18 @@ {} ] ], + "css/blockify_inline_element.html": [ + [ + "css/blockify_inline_element.html", + [ + [ + "/_mozilla/css/blockify_inline_element_ref.html", + "==" + ] + ], + {} + ] + ], "css/blur_a.html": [ [ "css/blur_a.html", @@ -7640,6 +7658,9 @@ ] ] }, + "stub": { + "css/blockify_inline_element.html": [] + }, "support": { ".gitignore": [ [] @@ -7866,6 +7887,10 @@ "css/block_replaced_content_ref.html": [ [] ], + "css/blockify_inline_element.html": [], + "css/blockify_inline_element_ref.html": [ + [] + ], "css/blur_ref.html": [ [] ], @@ -11096,6 +11121,7 @@ {} ] ], + "css/blockify_inline_element.html": [], "css/bug_1345483.html": [ [ "css/bug_1345483.html", @@ -12515,6 +12541,12 @@ {} ] ] + }, + "visual": { + "css/blockify_inline_element.html": [] + }, + "wdspec": { + "css/blockify_inline_element.html": [] } }, "paths": { @@ -13942,6 +13974,14 @@ "4d48d763eb784170f680276541d864681a05962b", "support" ], + "css/blockify_inline_element.html": [ + "7f9da081c8e246c7d72a85ecfd129a5ddc56e07a", + "reftest" + ], + "css/blockify_inline_element_ref.html": [ + "ad88ac2f3f7e4b56a3781e61655dc580806fc4cd", + "support" + ], "css/blur_a.html": [ "a75af6a020711df2b97caa6b32f4d3cc445d1178", "reftest" diff --git a/tests/wpt/mozilla/tests/css/blockify_inline_element.html b/tests/wpt/mozilla/tests/css/blockify_inline_element.html new file mode 100644 index 00000000000..7f9da081c8e --- /dev/null +++ b/tests/wpt/mozilla/tests/css/blockify_inline_element.html @@ -0,0 +1,25 @@ + + +