Closed
Bug 1328043
Opened 9 years ago
Closed 9 years ago
Iframe isn't scrolled into view when I focus it
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
mozilla53
People
(Reporter: arni2033, Assigned: enndeakin)
References
(Regressed 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
|
3.33 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url data:text/html,<button>B</button><br><iframe style="margin-top:10000px;height:400px">
2. Click on button "B"
3. Press Tab key once
AR: Focused iframe is not scrolled into view
ER: The iframe should be scrolled into view
Note:
This usually happens on the page with a left and right "columns" with content. The left one is the
article/comments/youtube video, and the right one contains some related links, but starts with iframe
When I press Tab key to navigate to the last link/focusable item in the left column, then press Tab
once again, nothing happens. Focusring just disappears from visible part of the page.
This is regression from bug 178324 (between 2009-06-10 and 2009-06-11). Regression range:
> http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=90d3e6d2cbb9&tochange=4430cae50dad@ Neil Deakin:
It seems that this is a regresion caused by your change. Please have a look.
Comment 1•9 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
I have tested this issue on Windows 10 x64 with the latest Firefox release (50.1.0) and the latest Nightly (53.0a1-20170103030204) and managed to reproduce it.
After following the STR_1, when pressing the tab key once the iframe isn't scrolled into view.
Neil, can you please take a look at this?
status-firefox50:
--- → affected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox53:
--- → affected
Component: Untriaged → XUL
Flags: needinfo?(enndeakin)
| Assignee | ||
Updated•9 years ago
|
Component: XUL → Keyboard: Navigation
Flags: needinfo?(enndeakin)
| Assignee | ||
Comment 2•9 years ago
|
||
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
| Assignee | ||
Updated•9 years ago
|
Attachment #8823751 -
Flags: review?(bugs)
Updated•9 years ago
|
Attachment #8823751 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/15748795cb4b4450cbb198b030af29b7f273d46e
Bug 1328043, scrolling into view on focus should happen even when event shouldn't fire, fixes tabbing into blank iframes, r=smaug
Comment 4•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 5•9 years ago
|
||
Emil, can you please verify that this issue is fixed with the next Nightly? Thanks!
Flags: needinfo?(emil.pasca)
Comment 6•9 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
The issue is no longer reproducible on the latest Nightly (53.0a1-20170110030221).
Flags: needinfo?(emil.pasca)
Comment 7•9 years ago
|
||
Thanks, Emil!
Hi Neil, can you please request Aurora (and Beta if suitable) approval on this? Thanks!
Flags: needinfo?(enndeakin)
Updated•9 years ago
|
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 8•9 years ago
|
||
This bug has existed for at least 8 years, so I don't see why that is necessary.
Flags: needinfo?(enndeakin)
Comment 9•9 years ago
|
||
Fair enough, thanks.
Updated•7 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•