mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibWeb: Support valign
attribute on tr
elements
This commit is contained in:
parent
468b2a5ace
commit
3d1fbcb26b
3 changed files with 42 additions and 0 deletions
24
Tests/LibWeb/Layout/expected/table/tr-valign.txt
Normal file
24
Tests/LibWeb/Layout/expected/table/tr-valign.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x526 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x510 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 216x510 [BFC] children: not-inline
|
||||
Box <table> at (9,9) content-size 214x508 table-box [TFC] children: not-inline
|
||||
Box <tbody> at (9,9) content-size 208x504 table-row-group children: not-inline
|
||||
Box <tr> at (11,11) content-size 208x504 table-row children: not-inline
|
||||
BlockContainer <td> at (12,12) content-size 102x502 table-cell [BFC] children: not-inline
|
||||
BlockContainer <div> at (13,13) content-size 100x500 children: not-inline
|
||||
BlockContainer <td> at (118,12) content-size 102x102 table-cell [BFC] children: not-inline
|
||||
BlockContainer <div> at (119,13) content-size 100x100 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x526]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x510]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 216x510]
|
||||
PaintableBox (Box<TABLE>) [8,8 216x510]
|
||||
PaintableBox (Box<TBODY>) [9,9 208x504] overflow: [9,9 212x506]
|
||||
PaintableBox (Box<TR>) [11,11 208x504] overflow: [11,11 210x504]
|
||||
PaintableWithLines (BlockContainer<TD>) [11,11 104x504]
|
||||
PaintableWithLines (BlockContainer<DIV>) [12,12 102x502]
|
||||
PaintableWithLines (BlockContainer<TD>) [117,11 104x504]
|
||||
PaintableWithLines (BlockContainer<DIV>) [118,12 102x102]
|
11
Tests/LibWeb/Layout/input/table/tr-valign.html
Normal file
11
Tests/LibWeb/Layout/input/table/tr-valign.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html><style>
|
||||
table {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
div {
|
||||
width: 100px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style><table><tr valign="top"><td><div style="height: 500px"></div></td><td><div style="height: 100px">
|
Loading…
Add table
Add a link
Reference in a new issue