tidy-html5/regression_testing/cases/dev-cases/case-0pg@0.html

29 lines
958 B
HTML
Raw Normal View History

2021-08-26 21:33:51 +00:00
<!--
This test case is for issue #523, in which a space is placed after the
closing tag of certain elements. For example below, a space is added after
the first script closing tag and after the img tag.
-->
<!DOCTYPE html>
<html>
<head>
<title>test</title>
</head>
<body>
<script type="text/javascript">
</script>
<script type="text/javascript">
</script>
<h1>Hello</h1>
<script type="text/javascript">
</script>
<img src="hi.jpg">
<script type="text/javascript">
</script>
<p>This is a block level element, and as such, is capable of inlining inline elements.<script type="text/javascript">let x = "Hello, world"</script> Scripts are inline elements, so this script should be included in the flow.</p>
<script type="text/javascript"></script><img src="bye.jpg"><script type="text/javascript"></script>
<hr>
<p>This is another paragraph with an <img src="meh.jpg"> tag inline.</p>
<img src="one.jpg"><img src="two.jpg"><img src="three.jpg">
</body>
</html>