Closed Bug 1052474 Opened 10 years ago Closed 9 years ago

Scrolling an iframe with a CSS transform doesn't work very well

Categories

(Core :: Panning and Zooming, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kats, Assigned: botond)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached file Test case (obsolete) —
Load the attached test page in the B2G browser and try scrolling the iframe. Issues:
- You can only scroll if you put your finger down in the top-left quadrant of the iframe
- The iframe moves twice as fast as your finger
- Often there are unpainted areas visible at the bottom of the iframe
Attached file Test page
Updated to use https so we don't run into mixed-content-blocking problems.
Attachment #8471605 - Attachment is obsolete: true
Attachment #8471608 - Attachment is patch: false
Attachment #8471608 - Attachment mime type: text/plain → text/html
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #0)
> - You can only scroll if you put your finger down in the top-left quadrant
> of the iframe

Bug 993125 has similar symptoms.
See Also: → 993125
Attached file Layer tree
I don't understand why this layer tree is the way it is. Specifically both ContainerLayerComposite instances with a 2.0 scale also have a preScale of 0.5. And there's no postScale in sight. Where is the scaling actually happening?
No longer blocks: 1052063
Going to start the apz-css-transforms work by looking at this. (Thanks for the simple example page!)
Assignee: nobody → botond
No longer blocks: apz-css-transforms
Depends on: apz-css-transforms
This works now \o/. Presumably it was fixed by the parts of the apz-css-transforms work that landed already, but I didn't bisect to verify.

It is a little janky while scrolling but that's a separate issue.
Status: NEW → RESOLVED
Closed: 9 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: