Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 29fb0b7

Browse files
danielsakhapovlutien
authored andcommitted
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 <[email protected]> Commit-Queue: Daniil Sakhapov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1460616} -- wpt-commits: 3dbf1963195e65f2f04b26013ad07f9202b93cc8 wpt-pr: 52566 Differential Revision: https://phabricator.services.mozilla.com/D250626
1 parent 1a05dcc commit 29fb0b7

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)