Skip to content

Commit f718711

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 c5f5cb1 commit f718711

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
link
8+
rel
9+
=
10+
"
11+
help
12+
"
13+
href
14+
=
15+
"
16+
http
17+
:
18+
/
19+
/
20+
crbug
21+
.
22+
com
23+
/
24+
416454066
25+
"
26+
>
27+
<
28+
canvas
29+
id
30+
=
31+
"
32+
canvas
33+
"
34+
>
35+
<
36+
/
37+
canvas
38+
>
39+
<
40+
script
41+
>
42+
const
43+
canvas
44+
=
45+
document
46+
.
47+
getElementById
48+
(
49+
"
50+
canvas
51+
"
52+
)
53+
;
54+
const
55+
ctx
56+
=
57+
canvas
58+
.
59+
getContext
60+
(
61+
"
62+
2d
63+
"
64+
)
65+
;
66+
ctx
67+
.
68+
fillStyle
69+
=
70+
"
71+
lch
72+
(
73+
from
74+
blue
75+
calc
76+
(
77+
l
78+
+
79+
sibling
80+
-
81+
index
82+
(
83+
)
84+
)
85+
c
86+
h
87+
)
88+
"
89+
;
90+
ctx
91+
.
92+
fillRect
93+
(
94+
10
95+
10
96+
100
97+
100
98+
)
99+
;
100+
<
101+
/
102+
script
103+
>

0 commit comments

Comments
 (0)