Closed Bug 1269677 Opened 9 years ago Closed 9 years ago

mousethrough=always doesn't work on the APZ-enabled browser stack

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox49 --- wontfix

People

(Reporter: mikedeboer, Unassigned)

References

Details

In Firefox, the browser element is places inside a xul:stack, which has the useful property that elements are placed atop each other - like in a playing card deck - stretched in both axes. When you insert a (semi-)transparent element inside the stack before the browser element, say a xul:box, with `box.setAttribute("mousethrough", "always")`, it is expected that all pointer events are directly applied on the element(s) below it, not the xul:box itself. The name of the attribute is not apt anymore, because pointer events are not generated by more devices than just mice nowadays, but still I think the behavior of this attribute value should be clear enough.
Is this actually used in the browser front-end anywhere? Also, can you use the CSS pointer-events:none property to accomplish this instead? That should work with APZ and is not some deprecated XUL thing. From your description it sounds like they do the same thing.
Kartikaya, you're brilliant! This works indeed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.