forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Reserve enough space for span>1 columns in BorderConflictFinder
This code previously only allocated enough space in m_col_elements_by_index for 1 slot per column, meaning that columns with a span > 1 would write off the end of it.
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline | ||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline | ||
BlockContainer <body> at (8,8) content-size 784x19 children: not-inline | ||
TableWrapper <(anonymous)> at (8,8) content-size 4x2 [BFC] children: not-inline | ||
Box <table> at (8,8) content-size 4x2 table-box [TFC] children: not-inline | ||
BlockContainer <colgroup> (not painted) table-column-group children: not-inline | ||
BlockContainer <col> (not painted) children: not-inline | ||
BlockContainer <(anonymous)> at (8,10) content-size 784x17 children: inline | ||
frag 0 from TextNode start: 1, length: 19, rect: [8,10 162.109375x17] baseline: 13.296875 | ||
"PASS (didn't crash)" | ||
TextNode <#text> | ||
|
||
ViewportPaintable (Viewport<#document>) [0,0 800x600] | ||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600] | ||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x19] | ||
PaintableWithLines (TableWrapper(anonymous)) [8,8 4x2] | ||
PaintableBox (Box<TABLE>) [8,8 4x2] | ||
PaintableWithLines (BlockContainer(anonymous)) [8,10 784x17] | ||
TextPaintable (TextNode<#text>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<table><col span="9"></col></table> | ||
PASS (didn't crash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters