Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-3.txt
Jelle Raaijmakers 4d9f17eddf LibGfx+LibWeb: Draw glyph runs with subpixel accuracy
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.
2024-12-21 23:09:52 +01:00

41 lines
2.4 KiB
Plaintext

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 780x119 children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 780x0 children: inline
TextNode <#text>
BlockContainer <div#top> at (8,8) content-size 780x100 [BFC] children: inline
TextNode <#text>
BlockContainer <div#top-left.box> at (8,8) content-size 300x100 floating [BFC] children: not-inline
TextNode <#text>
BlockContainer <div#top-right.box> at (488,8) content-size 300x100 floating [BFC] children: not-inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,108) content-size 780x0 children: inline
TextNode <#text>
BlockContainer <div#bottom> at (9,109) content-size 778x17 children: not-inline
BlockContainer <(anonymous)> at (9,109) content-size 778x0 children: inline
TextNode <#text>
TextNode <#text>
BlockContainer <div#text> at (9,109) content-size 778x17 children: inline
frag 0 from TextNode start: 0, length: 6, rect: [370.59375,109 54.796875x17] baseline: 13.296875
"foobar"
TextNode <#text>
BlockContainer <(anonymous)> at (9,126) content-size 778x0 children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,127) content-size 780x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
PaintableWithLines (BlockContainer<BODY>) [8,8 780x119]
PaintableWithLines (BlockContainer(anonymous)) [8,8 780x0]
PaintableWithLines (BlockContainer<DIV>#top) [8,8 780x100]
PaintableWithLines (BlockContainer<DIV>#top-left.box) [8,8 300x100]
PaintableWithLines (BlockContainer<DIV>#top-right.box) [488,8 300x100]
PaintableWithLines (BlockContainer(anonymous)) [8,108 780x0]
PaintableWithLines (BlockContainer<DIV>#bottom) [8,108 780x19]
PaintableWithLines (BlockContainer(anonymous)) [9,109 778x0]
PaintableWithLines (BlockContainer<DIV>#text) [9,109 778x17]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [9,126 778x0]
PaintableWithLines (BlockContainer(anonymous)) [8,127 780x0]