Closed Bug 750618 Opened 13 years ago Closed 10 years ago

Focus on input tag does not scroll it into view correctly if CSS translate applied

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alice0775, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached file sample html
Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/cfaf90b22fc3
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120430 Firefox/15.0a1 ID:20120430030504

Focus on input tag does not scroll it into view correctly if CSS translate applied.

This is not a recent regression.

Reproducible: Always

Steps to Reproduce:
1. Open attached
3. Click a label tag "Click label to focus in input:"

Actual Results: 
  The label control tag is focused.
  But not scroll it into view.

Expected Results:  
  Focus on input tag should scroll it into view.
OS: Windows 7 → All
Is this specific to input tags, or does it happen with <a> as well (e.g. when tabbing to it)?
Attached file sample #hash
(In reply to Boris Zbarsky (:bz) from comment #1)
> Is this specific to input tags, or does it happen with <a> as well (e.g.
> when tabbing to it)?

Scroll to #hash does not work too.
And Scrolling with tabbing does not work.
Component: Layout: Form Controls → Layout
QA Contact: layout.form-controls → layout
Perhaps ScrollIntoView fails to take the transforms into account?
That's bug 703241.
Depends on: 703241
Blocks: 861940
Is this bug now fixed? I get the expected results with the testcase in Firefox 21 beta.
test was Ok also on my site -> close it as WFM

please feel free to reopen if i'm wrong
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: