Open Bug 1071969 Opened 10 years ago Updated 2 years ago

Remove the mask layer check requirement from the event regions API

Categories

(Core :: Layout, defect)

All
Gonk (Firefox OS)
defect

Tracking

()

People

(Reporter: kats, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: correctness)

After some discussion about the event regions API, we decided it would be better to remove the mask layer hit-test requirement [1] from the event regions API. Instead, any areas in the mask layer that would prevent the input event from getting dispatched to the layer should instead be included in the dispatch-to-content region of the layer.

The main reason for this is that doing a hit-test on the mask layer is nontrivial performance-wise and also will take a lot of work. We also don't expect this scenario to get hit a lot in practice anyway.

[1] http://mxr.mozilla.org/mozilla-central/source/gfx/layers/Layers.h?rev=0a53e55db53d#895
No longer blocks: 1119942
Blocks: 1106440
No longer blocks: 928833
Gonna tag this as correctness because right now it's still in the event regions API, and it hasn't been implemented on the compositor side.
Keywords: correctness
No longer blocks: 1106440
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.