Closed Bug 1121137 Opened 11 years ago Closed 11 years ago

On large number of options in a select element options get ignored when rendered as XHTML when the page is reloaded

Categories

(Core :: Layout: Form Controls, defect)

34 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 977139

People

(Reporter: adam, Unassigned)

Details

(Keywords: reproducible, testcase)

Attachments

(2 files)

Attached file options.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141127110711 Steps to reproduce: I have created a select element with 1073 options served with the Content-Type application/xhtml+xml. Actual results: On loading the page a variable number of options are missing at the end of the dropdown list. When serving the page as text/html all options are displayed. Expected results: All options should be displayed in the dropdown list regardless of Content-Type.
Attachment #8548405 - Attachment mime type: text/html → application/xhtml+xml
This seems to work for me with the attached testcase... which options are missing? Can you make a screenshot?
Flags: needinfo?(adam)
Attached image Screenshot
Flags: needinfo?(adam)
Comment on attachment 8548505 [details] Screenshot 29 through 1073 are missing, though it varies on each page load.
(In reply to Joó Ádám from comment #3) > Comment on attachment 8548505 [details] > Screenshot > > 29 through 1073 are missing, though it varies on each page load. That's very strange. Can you reproduce if you restart Firefox in safe mode (help > restart firefox with add-ons disabled) and/or in a clean profile? ( https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles )
Flags: needinfo?(adam)
Neither safe mode nor a clean profile makes any difference. However, I’ve just noticed that only reloads trigger it, on full page load all the items are correctly displayed.
Flags: needinfo?(adam)
(In reply to Joó Ádám from comment #5) > Neither safe mode nor a clean profile makes any difference. However, I’ve > just noticed that only reloads trigger it, on full page load all the items > are correctly displayed. I can reproduce this now. This is super weird. Looking at this some more.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
Summary: On large number of options in a select element options get ignored when redered as XHTML → On large number of options in a select element options get ignored when rendered as XHTML when the page is reloaded
Can reproduce this on OS X as well now... The DOM is fine, and you can set the value of the select box to a number that's not displayed in the list, and that works. But the layout of the select's dropdown is not fine.
Component: Untriaged → Layout: Form Controls
OS: Linux → All
Hardware: x86_64 → All
tn, do you have time to take a look at this, or suggest someone else who could?
Flags: needinfo?(tnikkel)
That's odd. Mats I think you've been active in this area recently, do you know where the problem is likely to be?
Flags: needinfo?(tnikkel) → needinfo?(mats)
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(mats)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: