Changeset 153608 in webkit
- Timestamp:
- Aug 1, 2013 2:25:33 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r153606 r153608 1 2013-08-01 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 Andreas Kling. 7 8 * fast/css/identical-logical-height-decl-expected.html: Added. 9 * fast/css/identical-logical-height-decl.html: Added. 10 1 11 2013-08-01 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r153607 r153608 1 2013-08-01 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 Before sharing CSS properties with an element in the cache, we need to 7 check that the new element is suitable for this, just like we check 8 elements before inserting them into the cache. 9 10 Reviewed by Andreas Kling. 11 12 Test: fast/css/identical-logical-height-decl.html 13 14 * css/StyleResolver.cpp: 15 (WebCore::StyleResolver::applyMatchedProperties): 16 1 17 2013-08-01 Mark Lam <mark.lam@apple.com> 2 18 -
trunk/Source/WebCore/css/StyleResolver.cpp
r153105 r153608 1847 1847 bool applyInheritedOnly = false; 1848 1848 const MatchedPropertiesCacheItem* cacheItem = 0; 1849 if (cacheHash && (cacheItem = findFromMatchedPropertiesCache(cacheHash, matchResult))) { 1849 if (cacheHash && (cacheItem = findFromMatchedPropertiesCache(cacheHash, matchResult)) 1850 && isCacheableInMatchedPropertiesCache(element, state.style(), state.parentStyle())) { 1850 1851 // We can build up the style by copying non-inherited properties from an earlier style object built using the same exact 1851 1852 // 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.