Open
Bug 349692
Opened 18 years ago
Updated 2 years ago
Size of border: double not rendered correctly
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
NEW
People
(Reporter: mnkeybsness, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
According to CSS2.1 Box Model, the definition for a Double border:
The border is two solid lines. The sum of the two lines and the space between them equals the value of 'border-width'.
Gecko is rendering this with an extra pixel. A declaration of border: 2px double #000; renders two 1px borders a pixel apart. By definition, this should be declared as a 3px border-width, not two.
A declaration of border: 3px double #000; renders two 1px black borders 2px apart. This should be rendered as the previous example is rendered.
Reproducible: Always
Steps to Reproduce:
1. declare border-style: double;
2. declare border-width: 2px;
3. view results
Actual Results:
see details
Expected Results:
see details
Comment 1•18 years ago
|
||
Can you attach a minimal testcase using the "Create a New Attachment" link?
Reporter | ||
Comment 2•18 years ago
|
||
Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #1)
> Can you attach a minimal testcase using the "Create a New Attachment" link?
>
I'm sorry, my error in not stating that this only happens when using the experimental -moz-border-radius with a double border.
Comment 4•18 years ago
|
||
Thanks for the testcase, here is another testcase, that also has examples of how it looks with the correct border.
I don't see the borders at all by the way, in current trunk build, for the examples with the border-radius.
Updated•18 years ago
|
Comment 5•18 years ago
|
||
(In reply to comment #4)
> I don't see the borders at all by the way, in current trunk build, for the
> examples with the border-radius.
I filed bug 350009 for that. (because I couldn't find an existing bug)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•