Add clipPath to dom.nim. (#14435)

Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
This commit is contained in:
treeform 2020-05-23 22:32:24 -07:00 • committed by GitHub
commit acae3b02c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -398,6 +398,7 @@ type
captionSide*: cstring
clear*: cstring
clip*: cstring
clipPath*: cstring
color*: cstring
cursor*: cstring
direction*: cstring
@ -1384,4 +1385,4 @@ since (1, 3):
proc readAsDataURL*(f: FileReader, b: Blob) {.importcpp: "#.readAsDataURL(#)".}
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
proc readAsText*(f: FileReader, b: Blob, encoding = cstring"UTF-8") {.importcpp: "#.readAsText(#, #)".}
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText