mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
LibWeb: Compute inset for relative positioned inline-block
This commit is contained in:
parent
62bc8590ad
commit
a8d08357c9
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/emilitzerjo
Commit: a8d08357c9
Pull-request: https://github.com/SerenityOS/serenity/pull/18550
3 changed files with 31 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue