Michael R wrote: > Thanks a lot for the clarifications! > I guess rgba(255, 255, 255, 0) is the same as style="opacity: 0".
Ok... > Actually your questions made rethink my definition of "visibility". > I think that the best definition would be: A node is visible if the mouse > cursor can be over it. Define "over it"? > I'm assuming here that for nodes that have style like "display:none" no > "mouseover" events are fired, right ? Correct, nor are they fired for "visible" nodes: <div style="height: 0"> <div style="height: 100px">Text</div> </div> <div style="height: 100px; background: white; opacity: 0.3"></div> The only node here for which mouseover events will fire is the div with opacity:0.3. > Given the definition above, is there a better way to find out whether the > node is visible ? If you mean the mouseover definition, you might be able to get somewhere with getFrameForPoint, maybe... -Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
