<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 - overflow: paged-x doesn't paginate in iframe in iOS"
href="https://bugs.webkit.org/show_bug.cgi?id=165304">165304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>overflow: paged-x doesn't paginate in iframe in iOS
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 10
</td>
</tr>
<tr>
<th>Hardware</th>
<td>iPhone / iPad
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 10
</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>CSS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dauwhe@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=295943" name="attach_295943" title="paged overflow file doesn't work if embedded in iframe">attachment 295943</a> <a href="attachment.cgi?id=295943&action=edit" title="paged overflow file doesn't work if embedded in iframe">[details]</a></span>
paged overflow file doesn't work if embedded in iframe
When using overflow: -webkit-paged-x inside an iframe, mobile Safari lays out the containing block horizontally with a horizontal scroll bar, but does not actually divide the content into discreet pages.
Instead of:
| line1 | line4 | line7 | line10 |
| line2 | line5 | line8 | line11 |
| line3 | line6 | line9 | line12 |
You get one giant, wide page:
| line1line2line3line4line5 |
| line6line7line8line9line10|
| line11line12line13line14 |
paged overflow works outside of an iframe in mobile Safari, and works inside and outside of iframes on desktop Safari.
Two test files are attached:
overflow-paged.html is a small sample of overflow: -webkit-paged-x. It works fine on its own.
iframe.html embeds the previous file, and that content doesn't paginate when inside the iframe.
A larger-scale example can be found at <a href="https://dauwhe.github.io/acme-labs/main.html?manifest=MobyDick/manifest.json">https://dauwhe.github.io/acme-labs/main.html?manifest=MobyDick/manifest.json</a>.</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>