File: out_540571.html

package info (click to toggle)
tidy 20080116cvs-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,296 kB
  • ctags: 3,259
  • sloc: ansic: 30,069; sh: 9,060; xml: 317; makefile: 41
file content (22 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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>