From 07b30570fbb6d0414c025a213c578989a9827535 Mon Sep 17 00:00:00 2001 From: Stephen Chenney Date: Thu, 20 Jun 2024 05:39:37 -0700 Subject: [PATCH] Improve wavy decorations for smallish fonts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wavy text decoration for 10pt font is not as small as one would expect. The issue is that we cap the smallest wavy size we are willing to draw, and this is too pessimistic. To address this, split the limits for the height and width of the wave and reduce them. In the process remove a function. Bug: 347595640 Change-Id: Ibd2d2f4b37f1454a5697d38703b47bd9d5de6454 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5631324 Reviewed-by: Fredrik Söderquist Commit-Queue: Stephen Chenney Cr-Commit-Position: refs/heads/main@{#1317302} --- .../painting/css-target-text-decoration-001.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/css-highlight-api/painting/css-target-text-decoration-001.html b/css/css-highlight-api/painting/css-target-text-decoration-001.html index fa76c0bc4e7636c..14ba7111dce9a2c 100644 --- a/css/css-highlight-api/painting/css-target-text-decoration-001.html +++ b/css/css-highlight-api/painting/css-target-text-decoration-001.html @@ -5,7 +5,7 @@ - +