mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 17:02:56 +00:00
This improves the quality of our font rendering, especially when animations are involved. Relevant changes: * Skia fonts have their subpixel flag set, which means that individual glyphs are rendered at subpixel offsets causing glyph runs as a whole to look better. * Fragment offsets are no longer rounded to whole device pixels, and instead the floating point offset is kept. This allows us to pass through the floating point baseline position all the way to the Skia calls, which already expected that to be a float position. The `scrollable-contains-table.html` ref test needed different table headings since they would slightly inflate the column size in the test file, but not the reference.
170 lines
10 KiB
Text
170 lines
10 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x273 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x257 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 243.90625x257 [BFC] children: not-inline
|
|
Box <table> at (9,9) content-size 241.90625x255 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (29,19) content-size 201.90625x235 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (29,19) content-size 201.90625x39 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (50,54.5) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [50,54.5 14.265625x17] baseline: 13.296875
|
|
"A"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (126.265625,30) content-size 12.546875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [127.859375,30 9.34375x17] baseline: 13.296875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (200.8125,30) content-size 9.09375x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [202.1875,30 6.34375x17] baseline: 13.296875
|
|
"1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (29,68) content-size 201.90625x39 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (126.265625,79) content-size 12.546875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [126.96875,79 11.140625x17] baseline: 13.296875
|
|
"D"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (200.8125,79) content-size 9.09375x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [200.953125,79 8.8125x17] baseline: 13.296875
|
|
"2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (29,117) content-size 201.90625x39 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (50,128) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.203125,128 11.859375x17] baseline: 13.296875
|
|
"E"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (126.265625,128) content-size 12.546875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [126.265625,128 12.546875x17] baseline: 13.296875
|
|
"F"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (200.8125,128) content-size 9.09375x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [200.8125,128 9.09375x17] baseline: 13.296875
|
|
"3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (29,166) content-size 201.90625x39 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (50,177) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [50.515625,177 13.234375x17] baseline: 13.296875
|
|
"G"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (126.265625,177) content-size 12.546875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [126.421875,177 12.234375x17] baseline: 13.296875
|
|
"H"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (200.8125,177) content-size 9.09375x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [201.484375,177 7.75x17] baseline: 13.296875
|
|
"4"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (29,215) content-size 201.90625x39 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (50,226) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [54.828125,226 4.59375x17] baseline: 13.296875
|
|
"I"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (126.265625,226) content-size 12.546875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [128.078125,226 8.90625x17] baseline: 13.296875
|
|
"J"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (200.8125,226) content-size 9.09375x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [201.125,226 8.453125x17] baseline: 13.296875
|
|
"5"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,265) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x273]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x257]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 243.90625x257]
|
|
PaintableBox (Box<TABLE>) [8,8 243.90625x257]
|
|
PaintableBox (Box<TBODY>) [29,19 201.90625x235]
|
|
PaintableBox (Box<TR>) [29,19 201.90625x39]
|
|
PaintableWithLines (BlockContainer<TD>) [29,19 56.265625x88]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [105.265625,19 54.546875x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [179.8125,19 51.09375x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [29,68 201.90625x39]
|
|
PaintableWithLines (BlockContainer<TD>) [105.265625,68 54.546875x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [179.8125,68 51.09375x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [29,117 201.90625x39]
|
|
PaintableWithLines (BlockContainer<TD>) [29,117 56.265625x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [105.265625,117 54.546875x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [179.8125,117 51.09375x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [29,166 201.90625x39]
|
|
PaintableWithLines (BlockContainer<TD>) [29,166 56.265625x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [105.265625,166 54.546875x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [179.8125,166 51.09375x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [29,215 201.90625x39]
|
|
PaintableWithLines (BlockContainer<TD>) [29,215 56.265625x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [105.265625,215 54.546875x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [179.8125,215 51.09375x39]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,265 784x0]
|