Closed
Bug 966
Opened 26 years ago
Closed 26 years ago
border: none creates a 5 pixel border
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: kipp, Assigned: peterl-retired)
Details
Try this html and you will see a 5 pixel border...
<HTML>
<STYLE>
BODY {
color: black;
background: white;
margin: 2em;
}
DIV {
border: none;
padding: 0;
margin: 0;
}
DIV.outside {
color: white;
background-image: url(ruler.gif);
border: 2px solid black;
}
DIV.one {
background: khaki;
}
DIV.two {
background: transparent;
}
DIV P {
margin: 50px;
background-image: transparent;
}
</STYLE>
<BODY>
<DIV CLASS=outside>
<DIV CLASS=one>
<P>Paragraph inside DIV.one</P>
</DIV>
<DIV CLASS=two>
<P>Paragraph inside DIV.two</P>
</DIV>
</DIV>
</BODY>
</HTML>
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
It's busted. border: none should result in a computed border width of zero and
hence no border area should be present around all but the outer DIV. Therefore
the inner margins should collapse.
Assignee | ||
Comment 2•26 years ago
|
||
Ok. I see the problem now... and... fixed!
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: WORKSFORME → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•26 years ago
|
||
Using 11/30 devprev build, verified bug fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•