commit 331df6f3623311f5fa71adbc5d81999e95a03cdd parent a642e075072fd3369ca861260dcbfd3f987a2388 Author: Ahmad Saleem <52317531+Ahmad-S792@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:37:05 +0000 Bug 1995204 [wpt PR 55536] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=284979, a=testonly Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=284979 (#55536) -- wpt-commits: 09d3d2c34d32bb70fc49be18f05dcfe05426de10 wpt-pr: 55536 Diffstat:
| A | testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks-ref.html | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks.html | | | 35 | +++++++++++++++++++++++++++++++++++ |
2 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks-ref.html b/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks-ref.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> +<link rel="author" title="Vitor Roriz" href="https://github.com/vitorroriz"> +<style> +.test { + font-size: 40px; + border: solid 3px salmon; + width: fit-content; + margin-bottom: 2px; + text-autospace: no-autospace; +} +.manual-spacing { + margin-right: 0.125em; +} +</style> +<div class="test"><span class="manual-spacing">国́</span>X</div> +<div class="test"><span>国́</span>国</div> +<div class="test"><span class="manual-spacing">国́</span>X́</div> +<div class="test"><span>国́</span>国́</div> +<br> +<div class="test"><span>X́</span>X</div> +<div class="test"><span class="manual-spacing">X́</span>国</div> +<div class="test"><span>X́</span>X́</div> +<div class="test"><span class="manual-spacing">X́</span>国́</div> +<br> +<div class="test"><span>X</span>X</div> +<div class="test"><span class="manual-spacing">X</span>国</div> +<div class="test"><span>X</span>X́</div> +<div class="test"><span class="manual-spacing">X</span>国́</div> +<br> +<div class="test"><span class="manual-spacing">国</span>X</div> +<div class="test"><span>国</span>国</div> +<div class="test"><span class="manual-spacing">国</span>X́</div> +<div class="test"><span>国</span>国́</div> diff --git a/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks.html b/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-combining-marks.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> +<link rel="author" title="Vitor Roriz" href="https://github.com/vitorroriz"> +<link rel="match" href="text-autospace-combining-marks-ref.html"> +<style> +.test { + font-size: 40px; + border: solid 3px salmon; + width: fit-content; + margin-bottom: 2px; +} +.normal { + text-autospace: normal; +} +</style> +<div class="test normal">国́X</div> +<div class="test normal">国́国</div> +<div class="test normal">国́X́</div> +<div class="test normal">国́国́</div> +<br> +<div class="test normal">X́X</div> +<div class="test normal">X́国</div> +<div class="test normal">X́X́</div> +<div class="test normal">X́国́</div> +<br> +<div class="test normal">XX</div> +<div class="test normal">X国</div> +<div class="test normal">XX́</div> +<div class="test normal">X国́</div> +<br> +<div class="test normal">国X</div> +<div class="test normal">国国</div> +<div class="test normal">国X́</div> +<div class="test normal">国国́</div>