tidy-html5/regression_testing/cases/legacy-expects/case-540571.html
Jim Derry 5a1b65d089 Move the testing repository back into the Tidy codebase.
Automate testing of any PR's.
Updated README's explaining new processes.
2021-05-21 10:43:35 -04:00

13 lines
508 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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>