Daniel Jacobs

Results 196 comments of Daniel Jacobs

xmlns shouldn't be needed for non-\ elements but it is because of this, as createElement doesn't work properly for SVG elements. https://github.com/Lusito/tsx-dom/blob/7440919ac2811bc8b88c397c6bc7d90efd8c28b8/packages/tsx-dom/src/utils.ts#L22

Basically, the logic of tsx-dom would need to take into account the xmlns of parent SVG elements and use createElementNS with that to avoid using xmlns. `document.createElement("linearGradient")` makes a \,...

> Are you sure, that the `` element receives a scale property? I can't seem to find it in the [spec](https://www.w3.org/TR/SVG2/struct.html#SVGElement) or on [MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/scale). It seems to be only available...

These will be my new definitions: ```ts import "tsx-dom-types"; declare module "tsx-dom-types" { interface HTMLAttributes { autocapitalize?: string; // Removable after a new tsx-dom release autocorrect?: string; } interface SVGAttributes...

> xmlns shouldn't be needed for non-\ elements but it is because of this, as createElement doesn't work properly for SVG elements. Opened #25 for this since it's really a...

https://github.com/i-like-robots/chai-html