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.
This commit is contained in:
InvalidUsernameException 2025-06-04 20:19:20 +02:00 committed by Alexander Kalenik
commit ede84567f1
Notes: github-actions[bot] 2025-06-05 15:57:22 +00:00
2 changed files with 22 additions and 0 deletions

View file

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