Changeset 172965 in webkit


Ignore:
Timestamp:
Aug 26, 2014 11:29:48 AM (10 years ago)
Author:
Beth Dakin
Message:

Rubber-banding in overflow:scroll regions does not work correctly with
direction:rtl
https://bugs.webkit.org/show_bug.cgi?id=136176

Reviewed by Tim Horton.

Small cleanup.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::visibleContentRectInternal):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172964 r172965  
     12014-08-26  Beth Dakin  <bdakin@apple.com>
     2
     3        Rubber-banding in overflow:scroll regions does not work correctly with
     4        direction:rtl
     5        https://bugs.webkit.org/show_bug.cgi?id=136176
     6
     7        Reviewed by Tim Horton.
     8
     9        Small cleanup.
     10        * rendering/RenderLayer.cpp:
     11        (WebCore::RenderLayer::visibleContentRectInternal):
     12
    1132014-08-26  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r172948 r172965  
    26432643    }
    26442644   
    2645     return IntRect(IntPoint(scrollPosition().x(), scrollPosition().y()),
    2646                    IntSize(std::max(0, m_layerSize.width() - verticalScrollbarWidth),
    2647                            std::max(0, m_layerSize.height() - horizontalScrollbarHeight)));
     2645    return IntRect(scrollPosition(), IntSize(std::max(0, m_layerSize.width() - verticalScrollbarWidth), std::max(0, m_layerSize.height() - horizontalScrollbarHeight)));
    26482646}
    26492647
Note: See TracChangeset for help on using the changeset viewer.