1<html> 2<head> 3<title>#540571 Inconsistent behaviour with span inline element</title> 4</head> 5<body> 6<font color="red"><h1>Hello World</h1></font> 7<p> 8The font inline is moved so it becomes a child of the h1 element. 9</p> 10<span color="red"><h1>Hello World</h1></span> 11<p> 12The span inline is not moved so it becomes a child of the h1 element, which is inconsistent and does not correspond with current browser behaviour any more. 13</p> 14</body> 15</html>