Open Bug 1135238 Opened 11 years ago Updated 3 years ago

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

Categories

(Core :: Layout, defect)

All
Gonk (Firefox OS)
defect

Tracking

()

People

(Reporter: kats, Unassigned)

References

(Blocks 1 open bug)

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.