mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +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.
80 lines
5.6 KiB
Text
80 lines
5.6 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 784x21 children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 236.65625x21] baseline: 15.296875
|
|
frag 1 from TextNode start: 0, length: 1, rect: [244.65625,10 8x17] baseline: 13.296875
|
|
" "
|
|
frag 2 from BlockContainer start: 0, length: 0, rect: [252.65625,8 255.34375x21] baseline: 15.296875
|
|
frag 3 from TextNode start: 0, length: 1, rect: [508,10 8x17] baseline: 13.296875
|
|
" "
|
|
frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x21] baseline: 15.296875
|
|
BlockContainer <input> at (8,8) content-size 236.65625x21 inline-block [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x17] baseline: 15.296875
|
|
frag 1 from Label start: 0, length: 0, rect: [116.375,10 128.28125x17] baseline: 13.296875
|
|
BlockContainer <button> at (13,10) content-size 94.375x17 inline-block [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 94.375x17 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 94.375x17 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 14, rect: [13,10 94.375x17] baseline: 13.296875
|
|
"Select file..."
|
|
TextNode <#text>
|
|
Label <label> at (116.375,10) content-size 128.28125x17 inline-block [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 17, rect: [116.375,10 128.28125x17] baseline: 13.296875
|
|
"No file selected."
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <input> at (252.65625,8) content-size 255.34375x21 inline-block [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [257.65625,10 103.71875x17] baseline: 15.296875
|
|
frag 1 from Label start: 0, length: 0, rect: [370.375,10 137.625x17] baseline: 13.296875
|
|
BlockContainer <button> at (257.65625,10) content-size 103.71875x17 inline-block [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (257.65625,10) content-size 103.71875x17 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (257.65625,10) content-size 103.71875x17 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [257.65625,10 103.71875x17] baseline: 13.296875
|
|
"Select files..."
|
|
TextNode <#text>
|
|
Label <label> at (370.375,10) content-size 137.625x17 inline-block [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 18, rect: [370.375,10 137.625x17] baseline: 13.296875
|
|
"No files selected."
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <input#multiple> at (516,8) content-size 255.34375x21 inline-block [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [521,10 103.71875x17] baseline: 15.296875
|
|
frag 1 from Label start: 0, length: 0, rect: [633.71875,10 137.625x17] baseline: 13.296875
|
|
BlockContainer <button> at (521,10) content-size 103.71875x17 inline-block [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (521,10) content-size 103.71875x17 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (521,10) content-size 103.71875x17 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [521,10 103.71875x17] baseline: 13.296875
|
|
"Select files..."
|
|
TextNode <#text>
|
|
Label <label> at (633.71875,10) content-size 137.625x17 inline-block [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 18, rect: [633.71875,10 137.625x17] baseline: 13.296875
|
|
"No files selected."
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21]
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,8 236.65625x21]
|
|
PaintableWithLines (BlockContainer<BUTTON>) [8,8 104.375x21]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x17]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (Label<LABEL>) [112.375,10 132.28125x17]
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<INPUT>) [252.65625,8 255.34375x21]
|
|
PaintableWithLines (BlockContainer<BUTTON>) [252.65625,8 113.71875x21]
|
|
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x17]
|
|
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (Label<LABEL>) [366.375,10 141.625x17]
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<INPUT>#multiple) [516,8 255.34375x21]
|
|
PaintableWithLines (BlockContainer<BUTTON>) [516,8 113.71875x21]
|
|
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x17]
|
|
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (Label<LABEL>) [629.71875,10 141.625x17]
|
|
TextPaintable (TextNode<#text>)
|