LibWeb: Compute inset for relative positioned inline-block

This commit is contained in:
Emil Militzer 2023-04-28 11:44:21 +02:00 committed by Andreas Kling
commit a8d08357c9
Notes: sideshowbarker 2024-07-17 11:30:05 +09:00
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<style>
body {
font-family: 'SerenitySans';
}
.displaced_text {
height: 20px;
top: 40px;
left: 30px;
display: inline-block;
position: relative;
}
</style>text text text<span class="displaced_text">displaced text</span>more inline text