Closed
Bug 1037
Opened 26 years ago
Closed 25 years ago
border-color-left,right,top,bottom broken
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
INVALID
M6
People
(Reporter: karnaze, Assigned: peterl-retired)
References
()
Details
The following renders all sides with the same color. It should have the
appearance of an inset or outset (with adjacent color boundaries at 45%).
<html>
<body>
<DIV style="width: 30px; height: 30px; border-color:
red,black,red,black;"></DIV>
<DIV style="width: 30px; height: 30px; border-color-left: red; border-color-top:
black; border-color-right: red; border-color-bottom: black;"></DIV>
</body>
</html>
Reporter | ||
Comment 1•26 years ago
|
||
border: 5px solid; needs to be added to example DIVs
Updated•26 years ago
|
QA Contact: 4110
Comment 3•26 years ago
|
||
setting ChrisD as QA assigned to
Reporter | ||
Comment 4•26 years ago
|
||
Here is the complete, revised example
<html>
<body>
<DIV style="border: 10px solid; width: 30px; height: 30px; border-color:
red,black,red,black;"></DIV>
<DIV style="border: 10px solid; width: 30px; height: 30px; border-color-left:
red; border-color-top:
black; border-color-right: red; border-color-bottom: black;"></DIV>
</body>
</html>
Assignee: michaelp → kmcclusk
Status: ASSIGNED → NEW
Target Milestone: M4 → M5
Updated•26 years ago
|
Assignee: kmcclusk → beard
Target Milestone: M5 → M6
Comment 5•26 years ago
|
||
Patrick, It's assigned as a compositor bug so I'm giving it to you. I would
double-check to make sure the CSSRendering border rendering code is doing the
right thing first. I'm not sure who determined it was a compositor bug. If the
border rendering code is not doing the right thing re-assign to Peter Linss.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Component: Compositor → Style System
Comment 6•25 years ago
|
||
This is apparently a style system bug -- when nsCSSRendering::PaintBorder is
called from nsBlockFrame::Paint, aBorderStyle.mBorderColor = { 0xFF000000,
0xFF000000, 0xFF000000, 0xFF000000 } (all black). So, something's going wrong
elsewhere.
Updated•25 years ago
|
Assignee: beard → peterl
Status: ASSIGNED → NEW
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 7•25 years ago
|
||
Try "border-left-color" etc instead. "border-color-left" is NOT a valid CSS
property.
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Updated•25 years ago
|
Resolution: INVALID → ---
Comment 8•25 years ago
|
||
Reopening bug with the following test case:
http://slip/projects/marvin/css/border_color_4_values.html
Tested with 4/13 build on Win NT, Win 95, Win 98
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 9•25 years ago
|
||
This is STILL an invalid test case. The initial style of border is 'none'.
Merely setting the color does nothing unless a border style is specified.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 10•25 years ago
|
||
The revised test case in the 3/11 comments specifies a border style of "solid".
Reporter | ||
Comment 11•25 years ago
|
||
Sorry, I should have looked at all of the comments. Since I can't access slip
from home here is another example. The border colors in the 2nd div work just
fine, but those in the 1st don't. Is the syntax right here?
<html>
<body>
<DIV style="border: 10px solid; width: 30px; height: 30px; border-color:
red,black,orange,green;"></DIV>
<DIV style="border: 10px solid; width: 30px; height: 30px;
border-left-color: red;
border-top-color: black;
border-right-color: orange;
border-bottom-color: green;"></DIV>
</body>
</html>
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Assignee | ||
Comment 12•25 years ago
|
||
No. The syntax in the first DIV is wrong, commas are not allowed, just use
whitespace.
Comment 13•25 years ago
|
||
I revised the test to give border a style of 'solid' (sorry about that). If this
is valid, please clear the resolution and reopen the bug.
Comment 14•25 years ago
|
||
The test case is:
http://slip/projects/marvin/css/border_color_4_values.html
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 15•25 years ago
|
||
Verifying bug invalid. URL provided displays colors properly.
You need to log in
before you can comment on or make changes to this bug.
Description
•