mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +00:00
LibWeb: Resolve horizontal auto margins for images with display: block
This commit is contained in:
parent
f7e034d4b2
commit
5236819f58
3 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
<!doctype html><style>
|
||||
body {
|
||||
width: 400px;
|
||||
}
|
||||
img {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style><img/>
|
Loading…
Add table
Add a link
Reference in a new issue