Closed
Bug 176575
Opened 23 years ago
Closed 23 years ago
Mozilla applies css class from a standalone empty span tag to follow elements
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: steve, Unassigned)
Details
Mozilla applies css class attributes from a standalone empty span tag to follow
elements. Presumably a closed <span class="foo"/> should not affect ensuing tags
in the document. Interestingly enough, MSIE exhibits identical behavior.
Following HTML demonstrates the problem.
<html xmlns:html="http://www.w3.org/TR/REC-html40">
<head>
<title>EXSLT Test Page</title>
<style>
.PageTitle
{
font-size: 1.5em;
}
.PageSubTitle
{
font-size: .8em;
font-style: italic;
}
</style>
</head>
<body>
<span class="PageTitle">EXSLT Test Page</span><br/>
<span class="PageSubTitle"/><br/>
Hi...<br/>
<span class="PageTitle">EXSLT Test Page</span><br/>
</body>
</html>
Comment 1•23 years ago
|
||
If you're serving the page as text/xml or application/xhtml+xml, reopen this
bug. Otherwise, if you are serving it as text/html the <span> is not empty.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•23 years ago
|
QA Contact: gerardok → amar
You need to log in
before you can comment on or make changes to this bug.
Description
•