Changeset 167716 in webkit
- Timestamp:
- Apr 23, 2014 11:39:57 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167710 r167716 1 2014-04-23 Morten Stenshorne <mstensho@opera.com> 2 3 REGRESSION (Safari 6 - ToT): Incorrectly assumes that RenderStyle data can be shared 4 https://bugs.webkit.org/show_bug.cgi?id=113058 5 6 Reviewed by David Hyatt. 7 8 * fast/css/identical-logical-height-decl-expected.html: Added. 9 * fast/css/identical-logical-height-decl.html: Added. 10 1 11 2014-04-23 Lorenzo Tilve <ltilve@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r167715 r167716 1 2014-04-23 Morten Stenshorne <mstensho@opera.com> 2 3 REGRESSION (Safari 6 - ToT): Incorrectly assumes that RenderStyle data can be shared 4 https://bugs.webkit.org/show_bug.cgi?id=113058 5 6 Reviewed by David Hyatt. 7 8 Before sharing CSS properties with an element in the cache, we need to 9 check that the new element is suitable for this, just like we check 10 elements before inserting them into the cache. 11 12 Test: fast/css/identical-logical-height-decl.html 13 14 * css/StyleResolver.cpp: 15 (WebCore::StyleResolver::applyMatchedProperties): 16 1 17 2014-04-23 Commit Queue <commit-queue@webkit.org> 2 18 -
trunk/Source/WebCore/css/StyleResolver.cpp
r167571 r167716 1638 1638 bool applyInheritedOnly = false; 1639 1639 const MatchedPropertiesCacheItem* cacheItem = 0; 1640 if (cacheHash && (cacheItem = findFromMatchedPropertiesCache(cacheHash, matchResult))) { 1640 if (cacheHash && (cacheItem = findFromMatchedPropertiesCache(cacheHash, matchResult)) 1641 && isCacheableInMatchedPropertiesCache(element, state.style(), state.parentStyle())) { 1641 1642 // We can build up the style by copying non-inherited properties from an earlier style object built using the same exact 1642 1643 // style declarations. We then only need to apply the inherited properties, if any, as their values can depend on the
Note: See TracChangeset
for help on using the changeset viewer.