- From: <bugzilla@jessica.w3.org>
- Date: Sun, 15 Feb 2015 17:33:11 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22141 Pedram Emrouznejad <p3pedram@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |p3pedram@gmail.com --- Comment #21 from Pedram Emrouznejad <p3pedram@gmail.com> --- For what's it worth, I managed to solve my need for a document.contains that cuts across shadow boundaries by doing: element.matches(':host-context(body) *') (essentially, I needed to know if a shadow-nested element was in the main document) +1 to a more versatile document.contains though. I'm not sure what other possible options a dictionary would be good for, so I think just a simple true/false as the second parameter would work well. If there is need for further config in the future, then I guess you can still keep the true/false parameter and overload it with a dictionary. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Sunday, 15 February 2015 17:33:18 UTC