<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Legacy style scrollbars do not change color when you mouse over them if you are scrolled"
   href="https://bugs.webkit.org/show_bug.cgi?id=152319#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Legacy style scrollbars do not change color when you mouse over them if you are scrolled"
   href="https://bugs.webkit.org/show_bug.cgi?id=152319">bug 152319</a>
              from <span class="vcard"><a class="email" href="mailto:bdakin&#64;apple.com" title="Beth Dakin &lt;bdakin&#64;apple.com&gt;"> <span class="fn">Beth Dakin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152319#c2">comment #2</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=267427&amp;action=diff" name="attach_267427" title="Patch">attachment 267427</a> <a href="attachment.cgi?id=267427&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=267427&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=267427&amp;action=review</a>
&gt; 
&gt; Any chance we can find a way of covering this with a regression test?
&gt; </span >

We have still not figured out how to test scrollbar platform appearance in regression tests, but I absolutely think we need to figure out a way. These behaviors have a way of regressing quietly and we only notice after an all-too-long time. 

I need to think about how we could actually do this. ScrollAnimatorMac is the place in the code that can know if the right thing is happening, but it doesn't currently have any mechanism to share that information. If we can think of what to share it to, we might be able to figure out test infrastructure.

<span class="quote">&gt; &gt; Source/WebCore/rendering/RenderView.cpp:209
&gt; &gt; +        Scrollbar* frameScrollbar = frameView().scrollbarAtPoint(windowPoint);
&gt; &gt;          if (frameScrollbar) {
&gt; 
&gt; I would probably put the definition inside the if statement.</span >

Okay!

Thanks Darin!</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>