From 990ff2bb90322cb83ef52df53b574b9f046d2f78 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Fri, 25 Jun 2021 22:18:33 +0000 Subject: [PATCH] Bug 1718181 [wpt PR 29497] - Add test case for text-transform uppercase and selection, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests Add test case for text-transform uppercase and selection This is just a test to show the effects of https://crbug.com/750990 when selecting text that has changed the number of characters due to text-transform. BUG=750990 TEST=external/wpt/css/css-text/text-transform/text-transform-upperlower-105.html Change-Id: If7cbde1f1e480c98d0ad4586f93729cbca1d0d1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2987819 Commit-Queue: Manuel Rego Reviewed-by: Frédéric Wang Cr-Commit-Position: refs/heads/master@{#895958} -- wpt-commits: c660b404f53e49f4ce2932b7ccf39188082dc2da wpt-pr: 29497 --- .../text-transform-upperlower-105-ref.html | 21 ++++++++++++++++ .../text-transform-upperlower-105.html | 25 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-105-ref.html create mode 100644 testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-105.html diff --git a/testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-105-ref.html b/testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-105-ref.html new file mode 100644 index 000000000000..bdd27bcc38a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-105-ref.html @@ -0,0 +1,21 @@ + + +CSS Text Test: text-transform uppercase German sharp S and selection reference file + + + +

The test passes if you see no red below (when you select the text below you can select the whole "SS" text).

+ +SS + + diff --git a/testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-105.html b/testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-105.html new file mode 100644 index 000000000000..8b41ae4e3380 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-105.html @@ -0,0 +1,25 @@ + + +CSS Text Test: text-transform uppercase German sharp S and selection + + + + + + +

The test passes if you see no red below (when you select the text below you can select the whole "SS" text).

+ +ß + +