mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
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
12 lines
312 B
HTML
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>
|