mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibWeb: Add special handling for text-align when applied to tables
This matches what other engines do, and stops table content from being misaligned.
This commit is contained in:
parent
a54e62bea0
commit
ccea69ad40
3 changed files with 43 additions and 0 deletions
7
Tests/LibWeb/Layout/input/table/internal-alignment.html
Normal file
7
Tests/LibWeb/Layout/input/table/internal-alignment.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!doctype html><style>
|
||||
table {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style><div align="center"><table><tbody><tr><td><p>left
|
Loading…
Add table
Add a link
Reference in a new issue