This fiddle works in Chrome, but not Firefox. Anyone know why?
Here is the markup:
<button>
<span onclick="alert('yoo')">hey</span>
</button>
This fiddle works in Chrome, but not Firefox. Anyone know why?
Here is the markup:
<button>
<span onclick="alert('yoo')">hey</span>
</button>
This is by definition, see 4.10.8 The button element
Content model:
Phrasing content, but there must be no interactive content descendant.