diff --git a/crates/layout/src/lib.rs b/crates/layout/src/lib.rs index abd1c9f..773ff5e 100644 --- a/crates/layout/src/lib.rs +++ b/crates/layout/src/lib.rs @@ -8462,6 +8462,76 @@ body { margin: 0; } ); } + #[test] + fn form_with_block_children_stacks_vertically() { + // Regression: author CSS forcing `form > * { display: block }` must + // produce form controls that stack vertically (one per line) with + // their author margins honoured. Previously `