Closed
Bug 109316
Opened 23 years ago
Closed 23 years ago
<select> is not refreshed after selecting when in <fieldset> with <legend>
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: dereck, Assigned: rods)
Details
(Keywords: testcase)
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (Windows NT 5.0; U)
BuildID: 2001110803
Chosing an option using mouse changes state of the select, but not refreshes
its' current look until clicked somewhere outside the select.
Changing its' state using keyboard is also refreshed after pressing TAB key.
Reproducible: Always
Steps to Reproduce:
A)
1.Load the HTML document attached into browser.
2.Click on any select and chose some option.
B)
1.Load the HTML document attached into browser.
2.Press TAB.
3.Press ARROW-DOWN.
Actual Results: Select is not refreshed until clicking somehwere else or
pressing TAB.
Expected Results: Should be refreshed after chosing any option.
<html>
<head><title>Page</title></head>
<body>
<script type="text/JavaScript">
function OKclicked(){
document.GUI.cases.value = "kkk" //document.GUI.choice1.value
}
</script>
<form name="GUI">
<fieldset>
<legend>
Questions
</legend>
<center>
Something
<select name="choice1">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
Something else
<select name="choice2">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
And something else
<select name="choice3">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
<br><input type="button" value=" OK " onclick="OKclicked()"><br>
</center>
</fieldset>
<h2>Cases</h2>
<textarea name="cases" readonly rows=6 cols=60>
Here you will see cases. Select "decreased", "increased" and "same" then click
OK.
</textarea>
</form>
</body>
</html>
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
I see this on yesterday's Linux CVS.
Comment 3•23 years ago
|
||
I think I have found a similar problem, but as far as I can see, it doesn't
affect Windows, though I can see it clearly on Linux (Mozilla 0.9.6/Netscape 6.2).
I found the problem on the page <URL:http://www.autark.se/sajtgranskning.html>,
and I have set up a demonstration page that isolates the problem (somewhat):
<URL:http://www.autark.se/select_problem_demo.html>.
Reproducible: Always
Steps to Reproduce:
1. Select an option from the User Agent listbox. The listbox will not refresh
until you shift focus from the listbox.
Summary: <select> is not refreshed correctly → <select> is not refreshed after selecting when in <fieldset> with <legend>
Huh, I should have look at duplicates first...
*** This bug has been marked as a duplicate of 52975 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•