kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

<area> tag generates invalid DOM code

Open dotCipher opened this issue 7 years ago • 0 comments
trafficstars

When using the area tag DSL (ie:

area(shape = AreaShape.rect) {
    // .. anything
}

It generates a DOM warning on the browser when compiling with react-dom as it seems like the tag created uses the attribute key of the literal Shape instead of shape. Is this expected?

screen shot 2018-09-06 at 3 38 42 pm

dotCipher avatar Sep 06 '18 22:09 dotCipher