different attribute handling in div/span etc. and svg
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 9k
- Forks
- 181
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am using "htm" with "preact" binding
When I'm using code like the following
```
render(html`
`, document.body)
```
"htm" handles the ids differently:
* `
` and `` get an `id` with the value `"false"` while
* `` elements behave as expected (the first one gets no `id`, the second one an id with the value `id-4`)
* `` elements behave as expected (the first one gets no `id`, the second one an id with the value `id-4`)
Is that the expected behaviour? I've also tested other attributes, always with the same result...
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.