Skip to content

Commit 3d8fa31

Browse files
committed
Bug 1966635 [wpt PR 52566] - Don't parse element dependent math functions in canvas context,
Automatic update from web-platform-tests Don't parse element dependent math functions in canvas context Fixed: 416454066 Change-Id: I0b864228593318e98a81143b5eed11b328795624 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6533703 Reviewed-by: Rune Lillesveen <futharkchromium.org> Commit-Queue: Daniil Sakhapov <sakhapovchromium.org> Cr-Commit-Position: refs/heads/main{#1460616} -- wpt-commits: 3dbf1963195e65f2f04b26013ad07f9202b93cc8 wpt-pr: 52566 Differential Revision: https://phabricator.services.mozilla.com/D250626 UltraBlame original commit: a847e6c6ae4bc5b60d81cc3a204452876e7de8bf
1 parent 0dff7f1 commit 3d8fa31

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<link rel="help" href="http://crbug.com/416454066">
3+
<canvas id="canvas"></canvas>
4+
<script>
5+
const canvas = document.getElementById("canvas");
6+
const ctx = canvas.getContext("2d");
7+
8+
ctx.fillStyle = "lch(from blue calc(l + sibling-index()) c h)";
9+
ctx.fillRect(10, 10, 100, 100);
10+
</script>

0 commit comments

Comments
 (0)