Closed Bug 211701 Opened 21 years ago Closed 21 years ago

1px CSS border-right sometimes not rendered

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 176237

People

(Reporter: goodwincharles, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030610 Epiphany/0.7.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030610 Epiphany/0.7.3

If you set the CSS property "border-right: 1px solid #######;" on an
element/layer, sometimes the border renders, sometimes it don't.

If you resize a window, this causes the right-borders to sometimes
render/unrender themselves.  I have only know the problem to occur with
border-right.

Reproducible: Always

Steps to Reproduce:
1. Visit the above url, there might be a 'missing' right-border
2. Resize the window bit by bit and watch the right-borders appear / disappear



Expected Results:  
Mozilla should always respect the right-border CSS property.

This has occurred in all versions of Mozilla since I started using it - pre 1.0.
I'm not sure what the correct behavior is, but the issue is stemming from this:

div#highlights {
    position: absolute;
    top: 100px;
    left: 80%;
    width: 20%;
    background-color: #ddeeff;
    color: #005599;
    border: 1px solid #001155;
    border-left: none;
    margin-left: -1px;
}

The DIV is placed left 80%, then the width takes up 20%.  The border-right, it
sounds like, is out of room to be rendered as it were.  If I reduce the width to
19%, it shows right up.  I couldn't make anything change just by resizing the
window.

->Layout
Assignee: roc+moz → other
Component: Layout: View Rendering → Layout
OS: Linux → All
The margin-left: -1px; is supposed to fix that, supposedly allowing the div to
sink 1px to the left.
This is with Galeon 1.3.5 and Moz 1.3, but I have seen the issue with 1.4
whilst using a Windows machine.
Created an attachment that illustrates the problem.
Charles, the content at http://xwt.org/maybe2/ seems broken, all the blocks are
displayed on top of each other.
You can drop this to invalid for the moment and I'll post/repost with a valid
example at a later date.

*** This bug has been marked as a duplicate of 176237 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: