<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 - stop propagating custom scrollbar styles across iframe boundaries"
   href="https://bugs.webkit.org/show_bug.cgi?id=149489">149489</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>stop propagating custom scrollbar styles across iframe boundaries
          </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>All
          </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>Layout and Rendering
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>muven89&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Currently CustomScrollbars are created for html document/ scrollable div's if the body or document element posses PseudoStyle of SCROLLBAR.
While creating customscrollbars for iframes if ownerLayoutObject has PseudoStyle of SCROLLBAR then we create customscrollbars for iframe.

But as i see IFrame is a separate document which can hold its own style. As there is no standard spec for this case, i thought of proposing this
implementation: to create customscrollbars for IFrame if it posses its own PseudoStyle of SCROLLBAR, else create a regular scrollbar for that IFrame, 
which stops propagating customscrollbar styles across iframe boundaries.

The reason for porposing this intent to implementation is, an irregular creation of custom-scrollbar's in nested IFRAME's.
(which is quiet confusing as reported by one of our test engineers)


For example

consider 4 nested IFRAME's

IFRAME 1 =&gt; has PseudoStyle of SCROLLBAR with background = orange;
  IFRAME 2 =&gt; has PseudoStyle of SCROLLBAR with background = yellow;
    IFRAME 3 =&gt; doesnt has PseudoStyle of SCROLLBAR;
      IFRAME 4 =&gt; doesnt has PseudoStyle of SCROLLBAR;

please check the IFrameStyle-Standardization.jpg.


The iframe scrollbars are actually part of the document inside the iframe. As a result, you have to set the scrollbar styles in the document you are loading into the iframe, not in the document that contains the iframe and iframes generically can't inherit/access styles/scripts from their parent page.</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>