Closed
Bug 380561
Opened 18 years ago
Closed 18 years ago
Missing borders when dashed + dotted border-style used
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: phiw2, Assigned: vlad)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
Mixed border styling. When a dashed border follows a dotted border (or vice-versa), one of the borders is not painted.
Updated•18 years ago
|
Assignee | ||
Comment 1•18 years ago
|
||
Whoops. So the key part of this patch was changing an
} else if (startType == ...)
to
} else if (endType == ...)
Copy-paste got me here.
There's also a bunch of misc debug printfs added, as well as pulling out sideOrder into a gBorderSideOrder. I also change the side order to be top - right - bottom - left, to match the clip function; David, I finally see what you were saying earlier... I was convinced that the order was TRBL and not BLTR. I made this match the function; I can change everything to be back to BLTR if you'd rather I do that.
Updated•18 years ago
|
Attachment #264808 -
Attachment is patch: true
Attachment #264808 -
Attachment mime type: application/octet-stream → text/plain
Comment 2•18 years ago
|
||
Comment on attachment 264808 [details] [diff] [review]
fix missing borders
>+static PRUint8 gBorderSideOrder[] = { NS_SIDE_TOP, NS_SIDE_RIGHT, NS_SIDE_BOTTOM, NS_SIDE_LEFT };
const, please
>- static PRUint8 sideOrder[] = { NS_SIDE_BOTTOM, NS_SIDE_LEFT, NS_SIDE_TOP, NS_SIDE_RIGHT };
This used to be that way, I think, because we actually drew overlap when we did beveling, and we wanted to draw certain sides on top of others. That shouldn't be relevant anymore.
r=dbaron
Attachment #264808 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 3•18 years ago
|
||
Checked in (with const).
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•