Closed Bug 182146 Opened 22 years ago Closed 22 years ago

<div> visibility interacts incorrectly with <form> text input area visibility

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jvlb, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 While building a page using the CSS visibility attribute to hide or display a division with a form embedded (and I tried a form with a division embedded, as well) I found that the text input boxes would retain a hidden style, regardless of the division's status. Transfering the form markup to another file and loading it into an inline frame resolved the problem. Still, it really shouldn't work this way. Reproducible: Always Steps to Reproduce: 1. Create a division with a form included or vice versa 2. Set the visibility of the division to hidden 3. Use JavaScript to set the division to visible 4. Attempt to enter data in the text input boxes Actual Results: The cusor moves across the text box as the characters are typed, but nothing displays in the box. In fact the value of the entry is being captured. Expected Results: Display the entry.
Whiteboard: DUPEME
->Style
Assignee: asa → dbaron
Component: Browser-General → Style System
QA Contact: asa → ian
This testcase fits the reporter's description of the bug, but does not demonstrate the bug.
Marking worksforme. If you have a testcase that shows the bug, please attach it to the bug (or cite a URL) and reopen the bug report.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Component: Style System → Layout: Form Controls
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: