tidy-html5/test/output/out_540571.html
Michael[tm] Smith b92d7aab88 new
2011-11-17 11:44:16 +09:00

23 lines
601 B
HTML

<html>
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 1st May 2002), see www.w3.org" />
<title>#540571 Inconsistent behaviour with span inline element</title>
</head>
<body>
<h1>
<font color="red">Hello World</font>
</h1>
<p>The font inline is moved so it becomes a child of the h1 element.</p>
<h1>
<span color="red">Hello World</span>
</h1>
<p>The 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.</p>
</body>
</html>