serenity/Tests/LibWeb/Layout/input/block-and-inline/margin-padding-block-inline-start.html
Andreas Kling abd6380cce LibWeb: Add CSS logical property aliases for margin and padding sides
These just map to the LTR+TB defaults for now, as we don't yet resolve
any of the inputs to the logical property selection algorithm.
2023-06-06 21:02:04 +02:00

29 lines
No EOL
590 B
HTML

<!doctype html><style>
* {
border: 1px solid black;
}
body {
width: 500px;
}
.a {
padding-top: 100px;
padding-block-start: 10px;
padding-bottom: 50px;
padding-block-end: 20px;
padding-left: 80px;
padding-inline-start: 40px;
padding-right: 90px;
padding-inline-end: 45px;
}
.b {
margin-top: 100px;
margin-block-start: 10px;
margin-bottom: 50px;
margin-block-end: 20px;
margin-left: 80px;
margin-inline-start: 40px;
margin-right: 90px;
margin-inline-end: 45px;
}
</style><div class="a"><div class="b"><span>Hello</span>