[text-box-trim] Fix text-box-trim-initial-letter-start-001-ref
This patch fixes the test to be interoperable.
It turned out that the font size of raised initial letters is
undefined[1], and implementations have different issues
especially when using Ahem as a web font.
To make this test focus on if the text-box-trim
property
trims the raised part, this patch fixes the ref file to
compute the position dynamically.
Locally tested on Blink and WebKit TP with -webkit-
prefix
added to the initial-letter
property.
[1] https://drafts.csswg.org/css-inline-3/#sizing-initial-letter
Bug: 367766472, 40254880
Change-Id: Ia9a1aae881762f390967fc3b29b9ca33515e4d8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5892982
Auto-Submit: Koji Ishii kojii@chromium.org
Reviewed-by: Lingqi Chi lingqi@chromium.org
Commit-Queue: Lingqi Chi lingqi@chromium.org
Cr-Commit-Position: refs/heads/main@{#1360862}