Skip to content

Commit 6ebf1a4

Browse files
authored
(fix) adjust svg attributes
tabindex / crossorigin -> lowercase #387
1 parent a0d52d9 commit 6ebf1a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/svelte2tsx/svelte-jsx.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@
405405

406406
// Other HTML properties supported by SVG elements in browsers
407407
role?: string;
408-
tabIndex?: number;
409-
crossOrigin?: "anonymous" | "use-credentials" | "";
408+
tabindex?: number;
409+
crossorigin?: "anonymous" | "use-credentials" | "";
410410

411411
// SVG Specific attributes
412412
"accent-height"?: number | string;
@@ -469,8 +469,8 @@
469469
filter?: string;
470470
filterRes?: number | string;
471471
filterUnits?: number | string;
472-
floodColor?: number | string;
473-
floodOpacity?: number | string;
472+
"flood-color"?: number | string;
473+
"flood-opacity"?: number | string;
474474
focusable?: number | string;
475475
"font-family"?: string;
476476
"font-size"?: number | string;

0 commit comments

Comments
 (0)