[Bug 6925] <p><pre>...</pre></p> ==> end tag for element "P" which is not open

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6925


Ville Skyttä <ville.skytta@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Test Suite                  |Parser
         Resolution|                            |INVALID




--- Comment #1 from Ville Skyttä <ville.skytta@iki.fi>  2009-05-20 21:21:28 ---
This is not a bug, but a real error in your markup.  <p> may contain only
inline elements in HTML 4.01, and because <pre> is not an inline element, your
<p> is implicitly closed before it, like:

<p>
</p>  <!-- paragraph ends here because of the following <pre> -->
<pre>
...
</pre>
</p>  <!-- end tag for p which is not open, like the validator says -->


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 20 May 2009 21:21:39 UTC