mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibWeb: Support CSS vertical-align values "top" and "bottom"
This commit is contained in:
parent
195ef5e26f
commit
6cffabef03
3 changed files with 38 additions and 2 deletions
20
Base/res/html/misc/vertical-align.html
Normal file
20
Base/res/html/misc/vertical-align.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
border: 3px solid black;
|
||||
padding: 5px;
|
||||
line-height: 3;
|
||||
}
|
||||
</style>
|
||||
Hello friends: <div style="vertical-align: baseline">baseline</div>
|
||||
<br>
|
||||
Hello friends: <div style="vertical-align: top">top</div>
|
||||
<br>
|
||||
Hello friends: <div style="vertical-align: middle">middle (TODO)</div>
|
||||
<br>
|
||||
Hello friends: <div style="vertical-align: bottom">bottom</div>
|
||||
<br>
|
||||
Hello friends: <div style="vertical-align: sub">sub (TODO)</div>
|
||||
<br>
|
||||
Hello friends: <div style="vertical-align: text-top">text-top (TODO)</div>
|
||||
<br>
|
Loading…
Add table
Add a link
Reference in a new issue