Kotlin / kotlinx.html

Kotlin DSL for HTML
Apache License 2.0
1.61k stars 132 forks source link

<area> tag generates invalid DOM code #98

Closed dotCipher closed 4 months ago

dotCipher commented 6 years ago

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