gecko-dev/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name-ref.html
Kevin Ellis 7b7de75cfc Bug 1536296 [wpt PR 15843] - Support international characters in animation worklets., a=testonly
Automatic update from web-platform-tests
Support international characters in animation worklets.

Code in cc/ is not permitted to use wtf::String. Thus, we perform conversions between wtf::String and std::string.  The later is not aware of encodings.  This is OK provided a consistent encoding is used for round tripping, where the encoding supports the set of allowed characters.  The UTF-8 encoding is adequate for this task and supported by wtf::String.

Bug: 940493
Change-Id: Ie2b994412f502ea11df06713439b8cf8ffedc885
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1524087
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#641278}

--

wpt-commits: 151b78244c1595920405ca887e59c5f17f1ce6e5
wpt-pr: 15843
2019-04-01 14:43:54 +01:00

12 lines
312 B
HTML

<!DOCTYPE html>
<title>Reference for WorkletAnimation name should accept non-ASCII characters</title>
<style>
.box {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<div style="transform: translateX(50px);" class="box"></div>
<div style="transform: translateX(150px);" class="box"></div>