ladybird/Tests/LibWeb/Assets
Aliaksandr Kalenik 0bfe4677ae LibWeb: Verify whitespace font has the glyph in font_for_space()
When inline layout emits a whitespace chunk, it previously selected the
surrounding text's font without checking whether that font actually
contains a glyph for the whitespace codepoint. On pages that use
`@font-face` rules sharded by `unicode-range` (e.g. a Roboto webfont
split across one file for Cyrillic letters and another for basic Latin),
the shard covering the letters is picked for an adjacent space even
though the space codepoint lives in a different shard. HarfBuzz then
shapes the space with a font that has no glyph for it and emits
`.notdef`, rendering spaces as tofu boxes.

Check `contains_glyph(space_code_point)` on each candidate in
`font_for_space()` and fall through to
`FontCascadeList::font_for_code_point()` for the whitespace codepoint
when no surrounding font has the glyph.

Fixes whitespace rendering on web.telegram.org/a.
2026-04-22 20:27:41 +02:00
..
120.png Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
av1-with-data-track.mp4 LibMedia: Ignore unknown track types in FFmpegDemuxer 2026-04-08 13:03:39 +02:00
blank.html LibWeb: Check if navigable has active window before navigating 2025-02-28 23:15:35 +01:00
corrupt-video.webm LibWeb: Prevent a crash when triggering media load in the error handler 2026-04-01 02:54:22 -05:00
HashSans.woff Tests/LibWeb: Move assets used by multiple test types into Assets/ 2024-11-05 14:02:07 +00:00
HashSansNoSpace.woff LibWeb: Verify whitespace font has the glyph in font_for_space() 2026-04-22 20:27:41 +02:00
Lato-Bold.ttf LibWeb: Use glyph positions & widths instead of Harfbuzz for range rects 2026-03-02 17:52:47 +01:00
NotoEmoji.ttf LibWeb: Always respect font-variation-settings 2026-01-21 23:49:25 +01:00
NotoSansEthiopic.woff2 LibWeb: Support ethiopic-numeric counter style 2026-02-27 12:10:44 +00:00
OFL-1.1.txt LibWeb: Use glyph positions & widths instead of Harfbuzz for range rects 2026-03-02 17:52:47 +01:00
resize-320x240-640x480.webm LibWeb: Update video elements' natural dimensions during playback 2026-04-21 19:11:24 -05:00
test-webm-audio.ogg LibMedia: Allow audio tracks to be enabled without a mixing sink 2026-04-10 15:21:07 -05:00
test-webm.webm
track.vtt LibWeb: Do not spin the event loop awaiting text track state changes 2025-06-12 12:25:23 -04:00
two-tracks-320x240-640x480.webm LibWeb: Update video elements' natural dimensions during playback 2026-04-21 19:11:24 -05:00
two-video-tracks.webm LibMedia: Deal with tracks being toggled during seeks properly 2026-04-03 20:13:15 -05:00