Closed
Bug 1195931
Opened 10 years ago
Closed 10 years ago
[e10s] Leading in <option> element inside a <select> is no longer rendered
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
mozilla43
People
(Reporter: mozilla, Assigned: enndeakin)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
138 bytes,
text/html
|
Details | |
4.66 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150807085045
Steps to reproduce:
Load the attached testcase. Click on the <select>.
Actual results:
The text of the second <option> element is displayed in line with that of the first one.
Expected results:
It should be displayed further to the right (due to the four leading non-breaking spaces).
This works fine in Firefox 40, and 41.0b1. It's broken in 42.0a2 (2015-08-18) and Nightly 43.0a1 (2015-08-18). I haven't tested earlier alpha/nightly versions. I mostly tested on Mac OS, but also confirmed it's broken in Firefox 42.0a2 (2015-08-18) on Windows 7 too.
e10 issue. If you disable e10s, it works fine.
Blocks: e10s, e10s-select
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Summary: leading in <option> element is no longer rendered → [e10s] Leading in <option> element inside a <select> is no longer rendered
The bug occurs only with <select>, works fine with <datalist> in e10s mode.
data:text/html;charset=utf-8,<input list%3D"test"><datalist id%3D"test"><option>normal<%2Foption><option>%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bshould be indented<%2Foption><%2Fdatalist>
![]() |
||
Updated•10 years ago
|
tracking-e10s:
--- → ?
Assignee | ||
Comment 3•10 years ago
|
||
This is consistent with what nsListControlFrame uses.
Assignee | ||
Updated•10 years ago
|
Points: --- → 1
Updated•10 years ago
|
Attachment #8649935 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 5•10 years ago
|
||
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/cd22eb50ff2be11956a2298effa157850232fe2f
changeset: cd22eb50ff2be11956a2298effa157850232fe2f
user: Neil Deakin <neil@mozilla.com>
date: Fri Aug 21 13:30:04 2015 -0400
description:
Bug 1195931, use option.text instead of option.textContent so that spaces get handled properly in select lists, r=felipe
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•