Open
Bug 501263
Opened 15 years ago
Updated 2 years ago
rendering glitch when stripe borders are on either side of a dotted border but only one corner curved
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
NEW
People
(Reporter: zwol, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
The fixes currently being worked out in bug 19963 for dotted/dashed interaction with solid or stripe borders do not address a number of corner cases, and this is one of them. If you have
#foo {
border-width: 10px;
border-style: dotted double;
}
then, after 19963 lands, all four corners will be drawn striped, not dotted, as if you had had border-style: dotted none;. (This is as intended.) If instead you have
#foo {
border-width: 10px;
border-style: dotted double;
[-moz-]border-radius: 30px 0;
}
there will be an obvious error in the rendering of the curved corners (bug 382721) but also, the sharp corners will be drawn as-if the style was 'solid double' -- with a solid-colored triangle occupying the half of the corner that "belongs" to the dotted side. There are similar, but harder-to-describe, errors with groove/ridge adjacent to dotted, or -moz-border-colors adjacent to dotted. That is this bug.
(The *current* behavior -- bug 19963 not yet having been landed -- is also wrong, but in a different way. There is no use working on this bug before 19963 lands. As a lot of the problem here is that we are stuck using filled, clipped rounded rectangles to draw rounded corners and so it's hard to distinguish the sharp corners in this case from the curved ones, bug 501262 would also help.)
Reporter | ||
Comment 1•15 years ago
|
||
Here's a test case demonstrating the problem; after 19963 lands, compare the bottom left corners on the second line with those on the first. (If there aren't four boxes per line, make your window wider.)
Reporter | ||
Comment 2•14 years ago
|
||
I no longer work for Mozilla, I am deassigning myself from bugs I have no intention of working on as a volunteer.
Assignee: zackw → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•