On Monday, May 2, 2016 at 4:55:13 PM UTC-4, [email protected] wrote:
> Does it means I also have to modify nsDisplayList.h in order to add the flag 
> to nsDisplayListBuilder? I'm still a bit unsure how to add a flag to 
> nsDisplayListBuilder. 

Just add a new member variable, like mIgnoreVisibility (and a getter/setter for 
it, if it's not public).

> In my brief testing I noticed that overriding the pointer-events check in 
> nsDisplayList::HitTest() allows me to also retrieve elements with 
> pointer-events:none. Though strangely no iframes with pointer-events:none. 
> Those are still left out.

Ah, there is a separate check for iframes here [1]!

> I made this screen recording to give an idea of my end goal: 
> https://youtu.be/EtH1MMDorKA

The video is private, I can't access it.

Cheers,
Botond

[1] 
https://dxr.mozilla.org/mozilla-central/rev/369a5ee3a2880a4a98df3a00bf3db8d8f36b181b/layout/generic/nsSubDocumentFrame.cpp#379
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to