Closed
Bug 249047
Opened 21 years ago
Closed 21 years ago
This page show what happen when the <div> element contains an example of c# code
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
INVALID
People
(Reporter: daniele.franceschini, Assigned: bugzilla)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
|
1017 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
This is a fragment of a php page that automatically generates the content of the
element <div>, during the presentation of a part of c# code it has happened this
problem. I think that the parser, it confuses the html code with the <div> text.
Reproducible: Always
Steps to Reproduce:
you see http://win.skinny.it/firefox/divTest.htm
Expected Results:
You uses IE, it does work.
Updated•21 years ago
|
Comment 1•21 years ago
|
||
This is the same on Mozilla so it should be a Browser bug, I am not sure where
it goes though.
Updated•21 years ago
|
Summary: This page show what happen when the <div> element contains an exsample of c# code → This page show what happen when the <div> element contains an example of c# code
Updated•21 years ago
|
Component: General → Layout
OS: Windows XP → All
Product: Firefox → Browser
Hardware: PC → All
Version: unspecified → Trunk
Comment 2•21 years ago
|
||
contains this block twice:
/// <SUMMARY>ArrayList per la raccolta al DB</SUMMARY>
/// <REMARKS>Le query che vengono passate a questo </REMARKS>
/// <RETURNS>Restituisce una connesione aperta.</RETURNS>
/// <"PARAM">Istruzione SQL<"/PARAM">
/// <PARAM>Istruzione SQL</PARAM>
/// <PARAM NAME="sSql">Istruzione SQL</PARAM >
"Param" is shown, but <param> is a valid tag, and ends the blue div, rest is
rendered unformatted in the green body.
If I omit the <div>, and use only <pre></pre>, <param> breaks the <pre> tag,
rest renders unformatted.
Comment 3•21 years ago
|
||
marking invalid:
http://validator.w3.org/check?uri=http%3A%2F%2Fwin.skinny.it%2Ffirefox%2FdivTest.htm
Line 90, column 24: document type does not allow element "PARAM" here
/// <PARAM NAME="sSql">Istruzione SQL</PARAM>
The element named above was found in a context where it is not allowed. This
could mean that you have incorrectly nested elements -- such as a "style"
element in the "body" section instead of inside "head" -- or two elements that
overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents.
Due to HTML's rules of implicitly closed elements, this error can create
cascading effects. For instance, using XHTML's "self-closing" tags for "meta"
and "link" in the "head" section of a HTML document may cause the parser to
infer the end of the "head" section and the beginning of the "body" section
(where "link" and "meta" are not allowed; hence the reported error).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•