mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
LibWeb: Improve support for 'vertical-align: middle'
This rebaselines a few table-related layout tests since our default stylesheet applies 'vertical-align: middle' to a few table-related elements.
This commit is contained in:
parent
41e0a0f0aa
commit
b08fd1b9ae
7 changed files with 55 additions and 20 deletions
17
Tests/LibWeb/Layout/input/vertical-align-middle.html
Normal file
17
Tests/LibWeb/Layout/input/vertical-align-middle.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.test {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
background-color: red;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a>inline<div class="test"></div></a>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue