Closed
Bug 266447
Opened 20 years ago
Closed 20 years ago
using the w3c recommended XHTML shorthand form for empty tags, <element/>, element visualisation does completely non-desired things
Categories
(Core :: Web Painting, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 135425
People
(Reporter: questions, Assigned: roc)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
The the page http://www.nihongoresources.com/downloads/firefox/ two snips of
code are shown, with as only difference that the first uses <element></element>
and the second uses <element/> mark-up for empty tags. The first is rendered
correctly. The second... well I have no idea what the second is doing, it seems
to not register that it's closed off and keeps it open until the element it's
nested in is closed off. This means that whatever component is responsible for
this, is nto being w3c compliant.
Reproducible: Always
Steps to Reproduce:
opening the mentioned link will reproduce the problem.
Actual Results:
the first snip of html is rendered correctly, the second snip is rendered in a
non-compliant way.
Expected Results:
it should have rendered the second snip in the exact same way as the first was
rendered.
If Moz does not support the <element/> shorthand form, it is not XHTML
compliant. This is a reasonably serious issue, since elements such as a
linebreak are <br/> in XHTML.
Assignee | ||
Comment 1•20 years ago
|
||
You need to use an XHTML namespace to get XHTML behaviour.
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 135425 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
![]() |
||
Comment 3•20 years ago
|
||
Verified. Note that the page in question doesn't even pretend to be XHTML, so
it's not clear to me why anyone expected XHTML behavior here.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•