Closed
Bug 507752
Opened 16 years ago
Closed 16 years ago
textarea scroll bars do not obey z-index/visibility style in rendering
Categories
(Camino Graveyard :: HTML Form Controls, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 187435
People
(Reporter: lj011, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.22) Gecko/20090615 Camino/1.6.8 (like Firefox/2.0.0.22)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.22) Gecko/20090615 Camino/1.6.8 (like Firefox/2.0.0.22)
If you have two textareas on top of each other and want to hide them using z-index and visibility style property and if one has scroll bar and other does not, scroll bars will render on top of everything regardless of z-index and visibility.
Objects such as flash objects have same issue.
Reproducible: Always
Steps to Reproduce:
<html>
<body>
<textarea style="z-index:-1; visibility:hidden;" id="a" name="a" cols="5" rows="5">
1
2
3
4
5
6
7
</textarea>
<textarea style="z-index:1; position:absolute; top:8px; left:8px" id="b" name="b" cols="5" rows="5">
1
2
</textarea>
Scroll bar shall not be visible.
</body>
</html>
Actual Results:
Incorrect rendering of the scrollbar. Scroll bar belongs to the back textarea but it is rendering on the top of front textarea.
Expected Results:
Not rendering scroll bar on top, possibly not render them at all until textarea is brought to focus or brought by z-index/visibility on top of others using DHTML
Noted similar problem with flash objects.
This problem is not present in Firefox for mac nor Safari browsers.
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•