Closed nathansh closed 9 years ago
In addition, if you remove all paths from inside the <svg>
element this doesn't break the <header>
, but even one path in the svg will break it.
@nathanshubert
Have you tried to remove the xmlns
attribute?
@aFarkas thanks for pointing that out. I have no idea why, but removing the xmlns
attribute does do the trick.
there was any fix for it or it was just by removing the xmlns
?
what if this is not an option?
I just discovered that if you put an inline svg inside of a
<header>
element with the html5shiv included, the<header>
element does not close. This codepen shows the code required to reproduce the issue http://codepen.io/nathansh/pen/gbMdyG. Codepen doesn't work in IE8 but you can download a zip of the code.