1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 23:35:07 +00:00
serenity/Tests/LibWeb/Layout/input/block-and-inline/margin-padding-block-inline.html
Andreas Kling 2c16e8371f LibWeb: Add naive support for {margin,padding}-{block,inline}
Like other logical properties, we just alias these to the LTR TB default
properties for now.
2023-06-07 11:20:42 +02:00

18 lines
No EOL
293 B
HTML

<!doctype html><style>
* {
border: 1px solid black;
}
body {
width: 500px;
}
.a {
padding: 100px;
padding-block: 10px;
padding-inline: 20px;
}
.b {
margin: 90px;
margin-block: 30px;
margin-inline: 40px;
}
</style><div class="a"><div class="b"><span>Hello</span>