Closed
Bug 1978
Opened 26 years ago
Closed 26 years ago
"border-top-color: black" doesn't work
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: rods, Assigned: harishd)
Details
In fact,
border-top-color: rgb(0,0,3) doesn't work but
border-top-color: rgb(0,0,5) does
--------------------------------------------------------
<html>
<head>
<title>List Test</title>
</head>
<body BGCOLOR=#C0C0C0 >
<STYLE>
UL {
border-top-color: black;
border-bottom-color: white;
border-left-color: black;
border-right-color: white;
//border-top-color: rgb(0,0,4);
//border-bottom-color: rgb(255,255,253);
//border-left-color: rgb(0,0,4);
//border-right-color: rgb(255,255,253);
}
</STYLE>
<BR>
<UL style="border: 2px inset ; width: 100px; height: 60px; ">
<LI> One</LI>
<LI> One</LI>
</UL>
</body>
</html>
border-top-color:black is rendered grey and is camouflaged with the grey
background.
Updated•26 years ago
|
Assignee: peterl → harishd
According to the spec., the color of borders drawn for values of
'groove','ridge', 'inset', and 'outset' depends on the element's 'color'
property. Therefore, for the example above the 'inset' borders would be drawn
black ( because the elements color is defaulted to black ). After I checkin the
changes you shold be able to see the borders.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reopening the bug since the CSS2 spec was wrong (and the CSS1 spec was
misleading). The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Verified Fixt
2/1 build
You need to log in
before you can comment on or make changes to this bug.
Description
•