0

I have this inline SVG:

<svg
    width="100"
    height="100"
    viewBox="0 0 100 100">
        <rect x="0" y="0" width="100" height="100" />
</svg>

Microsoft Edge prints a warning that the rect may not be self-closing.

The error code is HTML1500.

Is it true that a rect may not be self-closing?

Maybe someone can provide some link to a specification.

Edit:

My question seems to be a duplicate. I'm sorry.

somega
  • 739
  • 3
  • 13

0 Answers0