html2canvas icon indicating copy to clipboard operation
html2canvas copied to clipboard

Avoid duplicate enum value of `LIST_STYLE_TYPE`

Open alker0 opened this issue 3 years ago • 1 comments

Summary

This PR fixes the following bugs

  • [x] Avoid duplicate values in LIST_STYLE_TYPE enum

The LIST_STYLE_TYPE enum has duplicate values GURMUKHI and HEBREW like below. https://github.com/niklasvh/html2canvas/blob/6020386bbeed60ad68e675fdcaa6220e292fd35a/src/css/property-descriptors/list-style-type.ts#L26-L29

And it makes Deno runtime (in my Fresh project) show duplicate-case warning for below codes. https://github.com/niklasvh/html2canvas/blob/6020386bbeed60ad68e675fdcaa6220e292fd35a/src/css/types/functions/counter.ts#L461-L464

alker0 avatar Aug 22 '22 10:08 alker0

Can be tested in @cantoo/html2canvas

Sharcoux avatar Aug 31 '23 02:08 Sharcoux