MS Edge - window.print() is not frame contextual in MS edge
问题 Microsoft Edge is not handling window.print() consistently when compared with other browsers. In most browsers calling window.print() from within an iframe on a page will only print the contents of that iframe. However in edge it will always print the whole document. Was this intentional? Is there workaround? Example on JSFiddle. iframe.html ... <body> <a href="#" onclick="window.print()">print iframe document</a> </body> ... index.html ... <body> <a href="#" onclick="window.print()">print