Bug 1874611 [wpt PR 43987] - [text-spacing-trim] Implement line-end logic, a=testonly
commit7d2411f09ea1ce245776c77202ee74728a7a5abd
authorKoji Ishii <kojii@chromium.org>
Mon, 15 Jan 2024 16:45:37 +0000 (15 16:45 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 16 Jan 2024 09:09:28 +0000 (16 09:09 +0000)
tree68aa95c487d19655a5a40285ece8eb99ae370312
parentf72dfd12b00a1209a412b8b8b0219f21590593ae
Bug 1874611 [wpt PR 43987] - [text-spacing-trim] Implement line-end logic, a=testonly

Automatic update from web-platform-tests
[text-spacing-trim] Implement line-end logic

This patch implements the line-end logic of `text-spacing-trim`
by applying the kerning only if it would not fit, as per the
resolutions at:
* https://github.com/w3c/csswg-drafts/issues/9521
* https://github.com/w3c/csswg-drafts/issues/9736

Bug: 1463891
Change-Id: I7b5b2ae43f47ce13c6eaad55a973292e82cc264f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5191602
Auto-Submit: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1246972}

--

wpt-commits: 05918d61fbde7aee1ffaf7211be717eed86f6c5a
wpt-pr: 43987
testing/web-platform/tests/css/css-text/text-spacing-trim/text-spacing-trim-end-001-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-text/text-spacing-trim/text-spacing-trim-end-001.html [new file with mode: 0644]