Bug 1411050 Part 1: Change nsDisplayListBuilder to mark hitests either for visibility or for pointer events. r=mattwoodrow
MozReview-Commit-ID: AbYcm2gwEES
This commit is contained in:
@@ -113,7 +113,7 @@ nsHTMLButtonControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
nsDisplayListCollection set(aBuilder);
|
||||
|
||||
// Do not allow the child subtree to receive events.
|
||||
if (!isForEventDelivery || aBuilder->HitTestShouldStopAtFirstOpaque()) {
|
||||
if (!isForEventDelivery || aBuilder->HitTestIsForVisibility()) {
|
||||
DisplayListClipState::AutoSaveRestore clipState(aBuilder);
|
||||
|
||||
if (ShouldClipPaintingToBorderBox()) {
|
||||
|
||||
Reference in New Issue
Block a user