Changeset 63213 in webkit
- Timestamp:
- Jul 13, 2010 9:37:53 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63211 r63213 1 2010-07-13 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r63192. 4 http://trac.webkit.org/changeset/63192 5 https://bugs.webkit.org/show_bug.cgi?id=42173 6 7 Broke fast/backgrounds/size/contain-and-cover.html (Requested 8 by kling on #webkit). 9 10 * manual-tests/css3-background-layer-count.html: Removed. 11 * rendering/style/FillLayer.cpp: 12 (WebCore::FillLayer::cullEmptyLayers): 13 1 14 2010-07-13 Marcus Bulach <bulach@chromium.org> 2 15 -
trunk/WebCore/rendering/style/FillLayer.cpp
r63192 r63213 244 244 void FillLayer::cullEmptyLayers() 245 245 { 246 // CSS3 background layering: the number of background layers is determined247 // by the number of values in the 'background-image' property.248 // http://www.w3.org/TR/css3-background/#layering249 250 246 FillLayer* next; 251 247 for (FillLayer* p = this; p; p = next) { 252 248 next = p->m_next; 253 if (!next) 254 break; 255 256 bool anyAttributeSet = next->isXPositionSet() 257 || next->isYPositionSet() 258 || next->isAttachmentSet() 259 || next->isClipSet() 260 || next->isCompositeSet() 261 || next->isOriginSet() 262 || next->isRepeatXSet() 263 || next->isRepeatYSet() 264 || next->isSizeSet(); 265 266 if (!next->isImageSet() || !anyAttributeSet) { 249 if (next && !next->isImageSet() && 250 !next->isXPositionSet() && !next->isYPositionSet() && 251 !next->isAttachmentSet() && !next->isClipSet() && 252 !next->isCompositeSet() && !next->isOriginSet() && 253 !next->isRepeatXSet() && !next->isRepeatYSet() 254 && !next->isSizeSet()) { 267 255 delete next; 268 256 p->m_next = 0;
Note: See TracChangeset
for help on using the changeset viewer.