ladybird/Tests/LibWeb/Layout/input/auto-margin-max-width-container.html
InvalidUsernameException ede84567f1 Tests/LibWeb: Regression test for auto margin on max-width container
An earlier variant of the commit following this one introduced a
regression for the behavior tested here, but did not fail any in-tree
tests. So lets add an explicit regression test to make that easier to
catch in the future.
2025-06-05 17:56:19 +02:00

10 lines
131 B
HTML

<!DOCTYPE html>
<style>
div {
max-width: 50%;
height: 100px;
background: lightgrey;
margin: 0 auto;
}
</style>
<div></div>