Closed
Bug 114336
Opened 23 years ago
Closed 22 years ago
How to draw border-style: double border-width: 1px?
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
Future
People
(Reporter: pberry, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
759 bytes,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.6+) Gecko/20011207 BuildID: 2001120708 The page http://www.fire-ashcroft.org is using a 2-column ALA style layout. The main content is in a float:left div. A div inside this div has a border:1px. The border should show on all 4 sides of the div, but only shows on the right side of the div. Reproducible: Always Steps to Reproduce: 1. Go to http://www.fire-ashcroft.org 2. div in the float:left div do no render correctly Actual Results: div borders do not render correctly Expected Results: div borders should show on all sides of the div The border show up correctly using IE 5 for Mac OS X.
Comment 1•23 years ago
|
||
I see the border on all four sides with linux build 2001-12-07-08
Comment 2•23 years ago
|
||
Never mind. I see the problem... The site is using: .quote { border-color: silver; border-width: 1px; border-style: double; } For border-style "double" correct rendering is: "The border is two solid lines. The sum of the two lines and the space between them equals the value of 'border-width'." (from http://www.w3.org/TR/REC-CSS2/box.html#border-style-properties) It's obviously impossible to actually draw a "double" 1px border... over to layout to decide what to do with this. Should we just fall back to "solid" for 1px "double" borders?
Assignee: jst → attinasi
Status: UNCONFIRMED → NEW
Component: DOM Style → Layout
Ever confirmed: true
QA Contact: ian → petersen
Reporter | ||
Comment 3•23 years ago
|
||
While I don't know if the behavoir of mozilla will change, this test page shows border-style:double with 1,2,and 3px border-width
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 4•22 years ago
|
||
->Block & Inline
Assignee: attinasi → block-and-inline
Component: Layout → Layout: Block & Inline
Keywords: testcase
OS: MacOS X → All
QA Contact: petersen → ian
Hardware: Macintosh → All
Summary: css border not showing correctly in float-ed div → How to draw border-style: double border-width: 1px?
*** This bug has been marked as a duplicate of 1781 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•