Changeset 119294 in webkit


Ignore:
Timestamp:
Jun 1, 2012 3:53:53 PM (12 years ago)
Author:
abarth@webkit.org
Message:

Overflow scrolling doesn't need to create a stacking context is the overflow is hidden
https://bugs.webkit.org/show_bug.cgi?id=88057

Reviewed by James Robinson.

This patch causes us to match the iOS implementation of this feature.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::collectMatchingRulesForList):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r119287 r119294  
     12012-06-01  Adam Barth  <abarth@webkit.org>
     2
     3        Overflow scrolling doesn't need to create a stacking context is the overflow is hidden
     4        https://bugs.webkit.org/show_bug.cgi?id=88057
     5
     6        Reviewed by James Robinson.
     7
     8        This patch causes us to match the iOS implementation of this feature.
     9
     10        * css/StyleResolver.cpp:
     11        (WebCore::StyleResolver::collectMatchingRulesForList):
     12
    1132012-06-01  James Robinson  <jamesr@chromium.org>
    214
  • trunk/Source/WebCore/css/StyleResolver.cpp

    r119255 r119294  
    20722072#if ENABLE(OVERFLOW_SCROLLING)
    20732073        // Touch overflow scrolling creates a stacking context.
    2074         || style->useTouchOverflowScrolling()
     2074        || ((style->overflowX() != OHIDDEN || style->overflowY() != OHIDDEN) && style->useTouchOverflowScrolling())
    20752075#endif
    20762076        ))
Note: See TracChangeset for help on using the changeset viewer.