title: iOS Safari expands frameset larger than viewport
body: <p>I'm working on a web page that has a frameset containing a horizontal split; a sidebar on the left for a menu and a content area.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Frameset Test&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;frameset border="0" cols="100,*"&gt;
      &lt;frame id="SideMenu" name="SideMenu" src="SideMenu.html" scrolling="no" /&gt;
      &lt;frame id="MainPage" name="MainPage" src="LongPageContent.html" scrolling="auto" /&gt;
  &lt;/frameset&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In desktop browsers (including Safari), the frameset is set to the size of the viewport and a scrollbar appears for the long page content in the MainPage frame. In Safari on iOS, the frameset expands to the same size as the content in the MainPage frame, extending beyond the visible viewport.</p>
  
  <p>I want the former behavior so that the page size remains the same as the viewport, regardless of the content in MainPage. I've fiddled around with the viewport meta tag, but adjusting the viewport does not modify the frameset behavior.</p>
  
  <p>I know that Apple's iOS guidelines advise avoiding framesets since scrolling is more confusing (requiring two-finger scrolling in frames), but ditching the frames is not a great option.</p>