Regression iOS8 UIWebView: Child documents not visible
| Originator: | derkjan | ||
| Number: | rdar://18349447 | Date Originated: | 16-09-2014 |
| Status: | Open | Resolved: | |
| Product: | iOS 8 | Product Version: | 12A365 |
| Classification: | Reproducible: | Always |
Summary: Add an SVG document using <object> or an <iframe> into HTML document. The SVG is not visible in the iOS8 UIWebView. Steps to Reproduce: 1: Zip with Xcode projects to demonstrate are attached 2: Take an iPhone with iOS7.1 3: Compile and run UIWebviewSVGTest from the attached zip 4: You will see a blue square in the app 5: Switch to an iPhone with iOS8, build 12A365. 6: Compile and run UIWebviewSVGTest 7: There is no blue square on the screen. The screen is white. 8: Now compile and run the WKWebview example 9: The app will show a blue square Expected Results: Blue squares in all builds Actual Results: An SVG root element with height 0 when using the UIWebviewSVGTest on iOS8. Version: iOS 8.0 12A365 Notes: I have tried multiple workarounds, like forcing some heights after page load, to get the engine to reflow and remeasure. This worked sometimes, but after a page reload, the script seized functioning (lay outing cache interfering ??). It's like the child document is not signaling the embedding element of it's sizing events correctly and then the layout gets cached. As can be seen the webkit web view does it correctly, and so does Safari iOS8. For us internally, this is issue: https://jira.service2media.com/browse/AMBZNL-336 Configuration: iPhone 5 hardware and simulator.
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!