WKWebView doesn't set print css rules when contents are within an iFrame
Originator: | andrew.apperley | ||
Number: | rdar://40227463 | Date Originated: | May 14 2018 |
Status: | Opened | Resolved: | No |
Product: | iOS + SDK - Webkit | Product Version: | iOS 10.3/11.3 |
Classification: | UI/Usability | Reproducible: | Always |
Area: WebKit Summary: When triggering a print for a WKWebview that has it's contents inside an iFrame it doesn't render the page with the print css rules. This is not the case when using UIWebView, Safari App, or WKWebView running on iOS 9.3. Steps to Reproduce: 1. Display View Controller with WKWebView 2. Load a webpage that has an iFrame inside it (which also has media queries for changing the UI for printing) 3. Present a UIPrintInteractionController. Expected Results: UI should be updated inside the preview Actual Results: Nothing changes Version/Build: iOS 11.3/10.3
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!