diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 7d3a0b748b0..e8f9b8df81c 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -1470,7 +1470,7 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> { // flow here - instead, let it match the inline case // below. (display::T::block, _, position::T::absolute) | - (_, _, position::T::fixed) => { + (display::T::block, _, position::T::fixed) => { let construction_result = self.build_flow_for_block(node, None); 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 63c0c8a7eef..ccbd61e35e0 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -2015,6 +2015,18 @@ "url": "/_mozilla/css/link_style_order.html" } ], + "css/list_style_fixed_inside_a.html": [ + { + "path": "css/list_style_fixed_inside_a.html", + "references": [ + [ + "/_mozilla/css/list_style_fixed_inside_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/list_style_fixed_inside_a.html" + } + ], "css/list_style_image_sizing_a.html": [ { "path": "css/list_style_image_sizing_a.html", @@ -6552,6 +6564,18 @@ "url": "/_mozilla/css/link_style_order.html" } ], + "css/list_style_fixed_inside_a.html": [ + { + "path": "css/list_style_fixed_inside_a.html", + "references": [ + [ + "/_mozilla/css/list_style_fixed_inside_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/list_style_fixed_inside_a.html" + } + ], "css/list_style_image_sizing_a.html": [ { "path": "css/list_style_image_sizing_a.html", @@ -8514,4 +8538,4 @@ "rev": null, "url_base": "/_mozilla/", "version": 2 -} \ No newline at end of file +} diff --git a/tests/wpt/mozilla/tests/css/list_style_fixed_inside_a.html b/tests/wpt/mozilla/tests/css/list_style_fixed_inside_a.html new file mode 100644 index 00000000000..cc07d1d0ade --- /dev/null +++ b/tests/wpt/mozilla/tests/css/list_style_fixed_inside_a.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + diff --git a/tests/wpt/mozilla/tests/css/list_style_fixed_inside_ref.html b/tests/wpt/mozilla/tests/css/list_style_fixed_inside_ref.html new file mode 100644 index 00000000000..1fdaf4ba8ad --- /dev/null +++ b/tests/wpt/mozilla/tests/css/list_style_fixed_inside_ref.html @@ -0,0 +1,18 @@ + + + + + + + + + + +