<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Out of window rendering in WKWebView causes issues with certain pages"
href="https://bugs.webkit.org/show_bug.cgi?id=153099">153099</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Out of window rendering in WKWebView causes issues with certain pages
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit2
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>shreyasv@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=268980" name="attach_268980" title="Simple app that repros the bug.">attachment 268980</a> <a href="attachment.cgi?id=268980&action=edit" title="Simple app that repros the bug.">[details]</a></span>
Simple app that repros the bug.
When certain pages are loaded when the WKWebView is not part of the app's view hierarchy and with a frame of CGRect, the certain click handlers in them are not fired.
Steps to Reproduce:
1) Run the attached code.
2) Wait for page to load and scroll down until the "read more" button is shown
3) Click on the "read more" button
This problem is more pronounced on a site such as
<a href="http://www.cnn.com/2016/01/11/americas/mexico-sean-penn-el-chapo-capture/index.html">http://www.cnn.com/2016/01/11/americas/mexico-sean-penn-el-chapo-capture/index.html</a>.
See example code for an example app.
Expected Results:
Clicking on the read more leads to the rest of the content being revealed/loaded.
Actual Results:
Clicking has no effect
Version:
iOS9.2
Extra notes:
What's interesting is that the problem goes away if an initial frame is set on the WKWebView.
Configuration:
iPhone 6S and Simulator</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>