Closed Bug 261760 Opened 18 years ago Closed 15 years ago

when applying a :first-letter style to an element with a <select> inside, the <select > breaks after choosing an item

Categories

(Core :: Layout: Form Controls, defect)

1.7 Branch
x86
All
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

Details

(Keywords: qawanted, testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

After selecting an item the selection doesn't appear in the <select> box in the
form, but does appear at the bottom of the drop down list instead. I'll apply a
test case soon.

Reproducible: Always
Steps to Reproduce:
1. create a <p> and apply a :first-letter style to it
2. inside the <p> create a <select> with some options
3. select one of the options

Actual Results:  
the selection didn't appear in the box but instead appeared at the bottom of the
drop down list

Expected Results:
Reproducible in application/xhtml+xml. Still happen when "p" is replaced with "div".
Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
This is really odd...  The frames look the same in both cases (according to
-layoutdebug)..... so why's this breaking?
Keywords: qawanted
(In reply to comment #4)
> This is really odd...  The frames look the same in both cases (according to
> -layoutdebug)..... so why's this breaking?

You need to select the <select> element once before the bug appears.
Depends on: 167292
bug still in 
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511
Mozilla/5.0 (Windows; U; Win98; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

bug not in Mozilla Trunk
Version: Trunk → 1.7 Branch
Worksforme per comment 7.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.