We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 562f985 commit 8cdd7f5Copy full SHA for 8cdd7f5
css-paint-api/arc/arc.js
@@ -36,7 +36,7 @@ registerPaint('arc', class {
36
}
37
38
convertAngle(angle) {
39
- const value = angle.value || convertFloat(angle.cssText);
+ const value = angle.value || parseFloat(angle.cssText);
40
const unit = angle.unit || angle.cssText.match(this.regex)[0];
41
42
switch (unit) {
css-paint-api/circle/index.html
@@ -25,6 +25,6 @@
25
initialValue: 'black',
26
inherit: false
27
});
28
- CSS.paintWorklet.import('circle.js');
+ (CSS.paintWorklet || paintWorklet).import('circle.js');
29
</script>
30
0 commit comments