mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +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.
79 lines
4.8 KiB
Text
79 lines
4.8 KiB
Text
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 784x44 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 784x44 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 784x44 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (10,10) content-size 780x40 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,10) content-size 780x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (11,11) content-size 300.640625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [154.1875,11 14.265625x17] baseline: 13.296875
|
|
"A"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (315.640625,11) content-size 168.71875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [395.328125,11 9.34375x17] baseline: 13.296875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (488.359375,11) content-size 300.640625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [623.953125,11 29.453125x17] baseline: 13.296875
|
|
"C D"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,31) content-size 780x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,32) content-size 300.640625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [155.390625,32 11.859375x17] baseline: 13.296875
|
|
"E"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (315.640625,32) content-size 168.71875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [393.71875,32 12.546875x17] baseline: 13.296875
|
|
"F"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (488.359375,32) content-size 300.640625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [632.0625,32 13.234375x17] baseline: 13.296875
|
|
"G"
|
|
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>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x44]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 784x44]
|
|
PaintableBox (Box<TABLE>) [8,8 784x44]
|
|
PaintableBox (Box<TBODY>) [10,10 780x40]
|
|
PaintableBox (Box<TR>) [10,10 780x19]
|
|
PaintableWithLines (BlockContainer<TH>) [10,10 302.640625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TH>) [314.640625,10 170.71875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TH>) [487.359375,10 302.640625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,31 780x19]
|
|
PaintableWithLines (BlockContainer<TD>) [10,31 302.640625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [314.640625,31 170.71875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [487.359375,31 302.640625x19]
|
|
TextPaintable (TextNode<#text>)
|