Closed Bug 1006074 Opened 10 years ago Closed 1 year ago

CSS translate wrongly crops divs when container has opacity

Categories

(Core :: Graphics, defect)

All
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: janx, Unassigned)

Details

Attachments

(3 files)

I'm trying to make square divs that follow fingers that touch the screen, listening for touchevents and applying a CSS transform to translate my divs to the right location.

When the container has an opacity, the divs get randomly cropped, and it looks like their bounding rectangles are wrong or not updated very often.
Attached file bug1006074.zip
Attached an app that reproduces the problem.

Please install it and try interacting with the screen using two fingers.
Attached image good.png
When you simply touch the screen with two fingers, everything might be ok...
Attached image bad.png
... but when you move your fingers around, the squares get wildly cropped in multiple directions, sometimes they even dissapear completely.

However, they seem to fix themselves every now and then, so taking a screenshot of it is tricky.
Nical, do you know who I should ping about this bug?
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(nical.bugzilla)
Severity: normal → S3

Unable to reproduce in current versions.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: