Closed
Bug 1118051
Opened 9 years ago
Closed 9 years ago
layout/reftests/border-radius/clipping-6.html fails on Android when event-regions are enabled
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: kats, Assigned: tnikkel)
References
Details
Attachments
(1 file, 1 obsolete file)
4.72 KB,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
See the try run at https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=2f2eafcb696d There is a R2 failure on Android 4.0 API10+ debug as a result of turning on event-regions. This needs to be investigated and resolved before we can turn on event-regions across all platforms.
Assignee | ||
Comment 1•9 years ago
|
||
With event regions enabled we get a bunch of empty extra layers for the event regions, but I'm not sure if that's causing the difference. The event regions items increase the size of the transform layer's visible region. I think this might be the reason. Even if it's not we don't want to increase the size of it (in this case the affected layer has an intermediate surface so we would definitely be using more resources then we need to). As long as the hit testing code can handle having hit regions be larger than the visible region of the layer.
Reporter | ||
Comment 2•9 years ago
|
||
Yeah, the event-regions-based hit testing code doesn't check the visible region so it should be fine if the hit region is larger than the visible region.
Assignee | ||
Comment 3•9 years ago
|
||
I checked that we still get event regions on layers, and even layers that are only created to hold event regions (and so have an empty visible region) are still created and get event regions.
Assignee: nobody → tnikkel
Attachment #8559458 -
Flags: review?(roc)
Attachment #8559458 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/653ead886844
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/653ead886844
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Assignee | ||
Comment 6•9 years ago
|
||
Backed out for causing bug 1130067 https://hg.mozilla.org/integration/mozilla-inbound/rev/ecd613d5d87c
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla38 → ---
Assignee | ||
Comment 7•9 years ago
|
||
The problem in bug 1130067 appears to be that when we call FindPaintedLayerFor we always choose the bottom most suitable painted layer because the vis rect passed in is empty (so doesn't intersect the draw rect of any of the painted layers in the stack). I hacked up a patch to use the non-empty way of calculating bounds only for FindPaintedLayerFor for layer event regions items, but empty GetBounds for everything else and that fixes it.
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8559458 -
Attachment is obsolete: true
Attachment #8562021 -
Flags: review?(roc)
Attachment #8562021 -
Flags: review?(roc) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/82b5134173f4
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/82b5134173f4
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Reporter | ||
Comment 11•9 years ago
|
||
tn, can you request uplift to b2g37 for this bug? It is needed in order to fix bug 1139541 on 2.2. Thanks!
status-b2g-v2.1:
--- → unaffected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → fixed
Flags: needinfo?(tnikkel)
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8562021 [details] [diff] [review] patch v2 NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): need this for bug 1139541 User impact if declined: bug 1139541 Testing completed: been landed for a while now, no issues Risk to taking this patch (and alternatives if risky): pretty safe String or UUID changes made by this patch: none
Flags: needinfo?(tnikkel)
Attachment #8562021 -
Flags: approval-mozilla-b2g37?
Updated•9 years ago
|
Attachment #8562021 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
You need to log in
before you can comment on or make changes to this bug.
Description
•