Jelle Raaijmakers
f2e6f70fbb
LibWeb: Use saveLayer compositing for background-clip: text
...
Instead of rendering text glyphs into a separate mask surface and using
clipShader, paint the backgrounds first and then composite the text
glyphs via saveLayer with SkBlendMode::kDstIn. Skia's saveLayer
automatically sizes its backing at device resolution including CSS
transforms, so no manual scale computation is needed.
Fixes pixelation when zooming in on clipped backgrounds on e.g. the
title of https://modern-css.com/ .
2026-02-17 18:59:33 +01:00
..
2025-05-22 17:44:40 -04:00
2026-01-18 00:31:03 +01:00
2026-01-16 20:48:47 +01:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-03-20 11:50:49 +01:00
2025-03-20 11:50:49 +01:00
2025-12-17 12:00:33 +01:00
2025-07-17 12:59:11 +01:00
2025-09-25 21:42:52 +02:00
2025-12-16 06:49:39 -05:00
2025-10-23 13:20:03 +01:00
2025-07-17 12:59:11 +01:00
2025-03-20 11:50:49 +01:00
2025-07-17 12:59:11 +01:00
2025-03-20 11:50:49 +01:00
2025-12-12 12:20:16 +00:00
2025-03-20 11:50:49 +01:00
2025-09-22 16:22:48 +02:00
2025-11-19 18:17:42 +01:00
2025-09-25 10:35:28 +01:00
2026-02-17 18:59:33 +01:00
2025-03-05 16:32:47 +01:00
2025-05-30 12:03:25 -04:00
2025-07-17 12:59:11 +01:00
2025-11-19 18:17:42 +01:00
2025-08-11 11:07:15 +01:00
2025-08-11 11:07:15 +01:00
2025-08-11 11:07:15 +01:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-11-12 15:59:01 +01:00
2025-12-12 12:20:16 +00:00
2025-03-11 12:16:32 -04:00
2025-05-09 21:37:14 +02:00
2026-01-21 23:49:25 +01:00
2025-10-19 16:53:00 +02:00
2025-11-12 15:59:01 +01:00
2025-11-21 11:14:28 +00:00
2025-07-17 12:59:11 +01:00
2025-12-17 12:00:33 +01:00
2025-03-20 11:50:49 +01:00
2025-10-19 16:53:00 +02:00
2025-03-20 11:50:49 +01:00
2025-12-17 12:00:33 +01:00
2025-11-12 15:59:01 +01:00
2025-06-16 12:44:58 +01:00
2025-06-16 12:44:58 +01:00
2025-06-16 12:44:58 +01:00
2025-06-16 12:44:58 +01:00
2025-07-17 12:59:11 +01:00
2025-03-20 11:50:49 +01:00
2025-07-17 12:59:11 +01:00
2025-12-09 11:23:59 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-06 10:47:50 +00:00
2026-02-12 10:26:43 +00:00
2025-12-17 12:00:33 +01:00
2025-07-17 12:59:11 +01:00
2025-12-17 12:00:33 +01:00
2025-03-20 11:50:49 +01:00
2026-02-11 09:39:39 +01:00
2026-02-11 09:39:39 +01:00
2025-12-17 12:00:33 +01:00
2025-11-09 01:22:48 +01:00
2025-10-27 16:42:27 -07:00
2025-10-27 16:42:27 -07:00
2025-10-27 16:42:27 -07:00
2025-10-27 16:42:27 -07:00
2025-09-28 19:25:18 +02:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-11-12 17:43:02 +01:00
2025-03-20 11:50:49 +01:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-10-27 16:42:27 -07:00
2025-07-17 12:59:11 +01:00
2025-07-17 12:59:11 +01:00
2025-09-18 15:21:22 +01:00
2025-11-04 21:44:32 +01:00