Closed Bug 325221 Opened 19 years ago Closed 18 years ago

Caret (text cursor) shows through non-opaque XUL label

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED FIXED

People

(Reporter: mikko.rantalainen, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060129 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060129 Firefox/1.6a1

The attached test case overlays a partially transparent XUL label over <browser> content. If the content contains text input the caret shows above(?) the XUL label instead of being rendered at the layer the inputted text will be rendered.

Reproducible: Always

Steps to Reproduce:
1. Open the attached test case
2. Scroll the google's text input box to be under the red floating label
3. Type some text

Actual Results:  
Blinking caret has different color from text that is seen through the red label.

Expected Results:  
Both the caret and text should look like being in the same color (black on white) but seen through the red label.


If the label is modified to have opacity:1 then only the caret is visible. This might be a duplicate of bug 58359. However, I'm reporting this issue as a new bug because it might get fixed without this getting fixed

Perhaps the caret rendering should be modified so that caret were rendered at the actual content layer. Then any blending effects or like that would affect the actual content would also affect the rendering of the caret. Hopefully that would also fix the bug 28068.
This test case has been modified from the one in bug 204278 by changing the label partially transparent and changing the web page to point to google.com so it's easier to get the input under the label. This test case depends on bug 204278 (which was fixed by bug 317375).
Keywords: testcase
Component: Form Manager → Layout: Form Controls
Product: Firefox → Core
QA Contact: form.manager → layout.form-controls
Version: unspecified → Trunk
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060217 Firefox/1.6a1
Confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Caret (text cursor) shows through XUL label → Caret (text cursor) shows through non-opaque XUL label
No problem anymore with 2006-04-18 trunk build on windows. Testcase is worksforme now. Fixed by bug 287813.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 287813
Resolution: --- → FIXED
Verified FIXED using build 2006-04-28-05 of SeaMonkey trunk under Windows XP.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: