Open Bug 1327842 Opened 8 years ago Updated 2 years ago

Findbar scrolls last focused element instead of focused scrollable element inside iframe

Categories

(Toolkit :: Find Toolbar, defect)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

References

()

Details

>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: (original) 1. Open url https://www.google.com/about/appsecurity/reward-program/ 2. Open findbar, type "youtube", press Enter 3. Press Down key, then Up key AR: No visible action ER: The page should scroll down, then up STR_2: (reference of good behavior) 1. Open url [1] 2. Open findbar (Ctrl+F), type "zxcv" 3. Press Down key, then Up key AR: The page scrolls down, then up, just as expected STR_3: (further experiments) 1. Open url [1] 2. Open findbar (Ctrl+F), type "zxcv" 3. Press Down key, then Up key 4. Select all text in findbar (it's still focused), type "asdf" 5. Press Down key, then Up key AR: Step 3 - findbar scrolls <div> with words "zxcv" scrolls down, then up Step 5 - findbar scrolls <div> with words "zxcv" scrolls down, then up (the same result as in Step 3) ER: Findbar is supposed to scroll the closest scrollable parent of selected text, therefore... Either X or Y or Z. X is better X) Step 5 - findbar should scroll contents of <iframe> Y) Step 5 - the whole page should be scrolled instead of iframe contents (at least) Z) Step 5 - no visible action (at least) > [1] data:text/html,<body id="B" style="height:10000px"><script>F=function(t){s="<br>"+t;for(i=0;i++<9;)s+=s;return s};B.innerHTML="<iframe src='data:text/html,"+F("asdf")+"'></iframe><div style='overflow:scroll;height:200px'>"+F("zxcv")+"</div>"</script>
No longer blocks: 1277113
Component: Untriaged → Find Toolbar
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.