When building event regions descendants of opacity:0 elements may be skipped

NEW
Unassigned

Status

()

4 years ago
3 years ago

People

(Reporter: kats, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

In bug 1116588 I added the check at [1] as a way of getting event-regions on opacity:0 items but without too much of a performance hit in cases where we didn't need it. However tn pointed out recently that children elements might set pointer-events back to auto or something, and right now the code will just skip the entire subtree, missing those. For correctness we should handle that case but practically speaking it's a pretty edge case that I'm not sure we'll run into anytime soon. Filing this bug so we don't forget about it.

[1] http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsFrame.cpp?rev=1a1b8b9ec10a#1940
Blocks: 1157834
You need to log in before you can comment on or make changes to this bug.