mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
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:
parent
777228acca
commit
ede84567f1
Notes:
github-actions[bot]
2025-06-05 15:57:22 +00:00
Author: https://github.com/InvalidUsernameException
Commit: ede84567f1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4999
2 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
max-width: 50%;
|
||||
height: 100px;
|
||||
background: lightgrey;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
Loading…
Add table
Add a link
Reference in a new issue