Closed
Bug 1136971
Opened 9 years ago
Closed 9 years ago
With multi-FrameMetrics, layer border for inner scrollable frame lags while outer frame is async-scrolled
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
Details
Attachments
(1 file, 1 obsolete file)
2.60 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Turn on layer borders in the developer settings. 2. Load http://people.mozilla.org/~bballo/clip.html in the B2G browser. 3. Scroll the inner (purple) frame to layerize it. 4. Scroll the outer frame. Expected results: As the outer frame is scrolled, the purple layer border around the inner frame moves in sync with the inner frame. Actual results: The layer border lags behind the inner frame. The issue here is basically the same as in bug 1130982: with multi-FrameMetrics, the composition bounds of scroll frames lower in the metrics stack need to be transformed by the async transform of scroll frames higher in the metrics stack. In bug 1130982, this caused a rendering problem due to the composition bounds being used as the clip rect. Here, it's causing a problem due to the composition bounds being used as the layer border.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → botond
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8569503 -
Flags: review?(bugmail.mozilla)
Comment 2•9 years ago
|
||
Comment on attachment 8569503 [details] [diff] [review] Fix Review of attachment 8569503 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch!
Attachment #8569503 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cfc60f8124bb
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/b83ecdab252a for mass crashes like https://treeherder.mozilla.org/logviewer.html#?job_id=7065009&repo=mozilla-inbound and https://treeherder.mozilla.org/logviewer.html#?job_id=7065767&repo=mozilla-inbound
Flags: needinfo?(botond)
Assignee | ||
Comment 5•9 years ago
|
||
Doh - Layer::GetAsyncPanZoomController() will be null on Android.
Flags: needinfo?(botond)
Assignee | ||
Comment 6•9 years ago
|
||
Updated to add null check. Carrying r+. Will wait for a Try push this time. Here's one that includes this patch, and includes Android tests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=866de5c9fcdc
Attachment #8569503 -
Attachment is obsolete: true
Attachment #8570726 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #6) > https://treeherder.mozilla.org/#/jobs?repo=try&revision=866de5c9fcdc Try push is green. Setting checkin-needed as m-i is closed.
Keywords: checkin-needed
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e04b01edb944
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e04b01edb944
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•