Changeset 84215 in webkit


Ignore:
Timestamp:
Apr 18, 2011 7:21:06 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-18 Jon Lee <jonlee@apple.com>

Reviewed by Maciej Stachowiak.

With overlay scrollbars, textarea resize corner gains borders when the textarea becomes scrollable
https://bugs.webkit.org/show_bug.cgi?id=58617
<rdar://problem/9048012>

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintResizer): Check for overlay scrollbars first, and then if the bars were created, before displaying the borders
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84214 r84215  
     12011-04-18  Jon Lee  <jonlee@apple.com>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        With overlay scrollbars, textarea resize corner gains borders when the textarea becomes scrollable
     6        https://bugs.webkit.org/show_bug.cgi?id=58617
     7        <rdar://problem/9048012>
     8
     9        * rendering/RenderLayer.cpp:
     10        (WebCore::RenderLayer::paintResizer): Check for overlay scrollbars first, and then if the bars were created, before displaying the borders
     11
    1122011-04-18  Jon Lee  <jonlee@apple.com>
    213
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r84066 r84215  
    23452345    // Draw a frame around the resizer (1px grey line) if there are any scrollbars present.
    23462346    // Clipping will exclude the right and bottom edges of this frame.
    2347     if (m_hBar || m_vBar) {
     2347    if (!hasOverlayScrollbars() && (m_vBar || m_hBar)) {
    23482348        context->save();
    23492349        context->clip(absRect);
Note: See TracChangeset for help on using the changeset viewer.