Closed
Bug 292649
Opened 19 years ago
Closed 11 years ago
resizing window makes white-color ridge borders disappear and reappear
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
mozilla1.8beta2
People
(Reporter: eyalroz1, Assigned: zbraniecki)
References
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050128 Mnenhy/0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050128 Mnenhy/0.7 In addition to the problem described in bug 135394, sometimes the border drawing is dependent on the window size (and/or rest-of-the-page content, it seems). Reproducible: Always Steps to Reproduce: 1. Load the testcase 2. Play around with the window size 3. Borders disappear and reappear, even seemingly independently of each other
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Actually, it may be the case that the two bugs are not that related, since trying to change the border color, even to, say, red or green, doesn't make the bug go away.
Comment 3•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050419 Firefox/1.0.4 I'm not seeing the borders disappear and reappear.
Comment 4•19 years ago
|
||
I am seeing this, with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050502 Firefox/1.0+
Reporter | ||
Updated•19 years ago
|
Alias: DisappearingRidge
Comment 5•19 years ago
|
||
Iirc, we need at least 3px border width to paint a ridged border, and "thin" is thinner than that. We should probably be falling back on "solid" instead.
Whiteboard: DUPEME
Updated•19 years ago
|
Alias: DisappearingRidge
Comment 6•19 years ago
|
||
I'm going to hoy in a reference to bug 134942 here.
Assignee | ||
Comment 7•19 years ago
|
||
I'm going to solve this with a method described in Comment 5.
Assignee: general → gandalf
Target Milestone: --- → mozilla1.8beta2
Reporter | ||
Comment 8•19 years ago
|
||
No, I think it's more important that the ridge remains rather than the thinness remains. When an author specifies a thin ridge she would expect a ridge, and as thin as is reasonable for a ridge to be. So I submit that interpreting the 'thin' as '3px' in such cases is the right way to go.
Comment 9•19 years ago
|
||
'thin' must (per spec) mean the same for all styles. For compatibility with the Web, 'solid thin' must be 1px. When we have high-resolution monitors, 'ridge thin' will be visible.
Assignee | ||
Comment 10•19 years ago
|
||
Ian: so what we should do about this? Can we switch to solid if thin < 3px?
Comment 11•19 years ago
|
||
You can render a ridge all the way down to two device pixels (which might be a very small distance, such as 0.01px, if you are on a high resolution device such as a printer or a high res screen). However, if there are not physically enough device pixels to render the ridge, then yeah, I guess we should fall back to solid.
Assignee | ||
Comment 12•19 years ago
|
||
First, I think that such patch should be for groove, ridge, outset and inset as they all seems to work in similar way. Second, the problem is that simplest possible patch does not solve the real problem because switching to solid if border-color is white makes the whole border invisible. If this is proper behaviour, patch is ready
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•19 years ago
|
||
Reporter | ||
Comment 14•19 years ago
|
||
(In reply to comment #12) > Second, the problem is that simplest possible patch does not solve the real > problem because switching to solid if border-color is white makes the whole > border invisible. If this is proper behaviour, patch is ready Of course this isn't proper behavior... _something_ must be drawn which could be claimed to resemble a very thin ridge. I suppose a gray solid border would work, but drawing nothing is exactly why this bug was opened.
Assignee | ||
Comment 15•19 years ago
|
||
> but drawing nothing is exactly why this bug was opened.
No. The bug is about disappearing border while resizing window. My patch fixes
this issue. The only issue left here is that if user sets color of border to
white, it is white for border-width<3px;.
Imho it's not a bad solution, but Ian is the guru here :)
Reporter | ||
Comment 16•19 years ago
|
||
(In reply to comment #15) > No. The bug is about disappearing border while resizing window. You're splitting hairs... :-( There is no way drawing a solid white border is acceptable behavior when a user asks for a thin ridged border which is supposed to be mostly gray.
Updated•16 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Comment 17•11 years ago
|
||
WFM in Firefox 24
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•