Closed Bug 1328043 Opened 6 years ago Closed 6 years ago
Iframe isn't scrolled into view when I focus it
>>> 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.
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?
Component: XUL → Keyboard: Navigation
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #8823751 - Flags: review?(bugs) → review+
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
Emil, can you please verify that this issue is fixed with the next Nightly? Thanks!
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).
Thanks, Emil! Hi Neil, can you please request Aurora (and Beta if suitable) approval on this? Thanks!
This bug has existed for at least 8 years, so I don't see why that is necessary.
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.