Open
Bug 619993
Opened 15 years ago
Updated 3 years ago
Dropdowns are misplaced in foreignObject with non-zero x and/or y attributes
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
NEW
People
(Reporter: russell.harper, Unassigned)
Details
(Keywords: testcase, Whiteboard: DUPEME)
Attachments
(1 file)
|
558 bytes,
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6
Build Identifier: 3.6.6 for Linux and 3.6.16 for Windows
The dropdown part of XHTML select elements with size = 1 are misplaced in foreignObjects with non-zero x and/or y attributes.
Sample code follows:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Misplaced Dropdown</title>
<foreignObject x="3ex" y="28ex" width="30ex" height="50ex">
<body xmlns="http://www.w3.org/1999/xhtml">
<form action="">
<select name="tutorials">
<option value="html">HTML tutorial</option>
<option value="css">CSS tutorial</option>
<option value="other">other tutorial</option>
</select>
</form>
</body>
</foreignObject>
</svg>
Reproducible: Always
Steps to Reproduce:
1. Enter sample code from details into a page e.g. testing.svg
2. Call the page
3. Invoke the dropdown
Actual Results:
The dropdown will appear above and to the left of the select element.
Mouse tracking will be off and not correctly highlight the selection.
Using the up/down cursor keys can highlight every selection.
Expected Results:
The dropdown should be under the select element.
Mousetracking should correctly highlight the selection.
Attributes x and y can be in any units or left unspecified e.g. x="30" y="280"
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Whiteboard: DUPEME
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•