Changeset 91190 in webkit
- Timestamp:
- Jul 18, 2011 9:54:03 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r91189 r91190 1 2011-07-18 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [REGRESSION] Value 'none' breaks multiple background-image display 4 https://bugs.webkit.org/show_bug.cgi?id=59274 5 6 Reviewed by Simon Fraser. 7 8 When taking fast path for simple color background, we should draw 9 the background only if it is the last in the list of backgrounds. 10 Otherwise, it will obscure the previously drawn backgrounds. 11 12 * fast/backgrounds/background-fast-path-simple-color-expected.png: Added. 13 * fast/backgrounds/background-fast-path-simple-color-expected.txt: Added. 14 * fast/backgrounds/background-fast-path-simple-color.html: Added. 15 1 16 2011-07-18 Yi Shen <yi.4.shen@nokia.com> 2 17 -
trunk/Source/WebCore/ChangeLog
r91189 r91190 1 2011-07-18 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [REGRESSION] Value 'none' breaks multiple background-image display 4 https://bugs.webkit.org/show_bug.cgi?id=59274 5 6 Reviewed by Simon Fraser. 7 8 When taking fast path for simple color background, we should draw 9 the background only if it is the last in the list of backgrounds. 10 Otherwise, it will obscure the previously drawn backgrounds. 11 12 Test: fast/backgrounds/background-fast-path-simple-color.html 13 14 * rendering/RenderBoxModelObject.cpp: 15 (WebCore::RenderBoxModelObject::paintFillLayerExtended): 16 1 17 2011-07-18 Yi Shen <yi.4.shen@nokia.com> 2 18 -
trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp
r91090 r91190 627 627 628 628 // Fast path for drawing simple color backgrounds. 629 if (!isRoot && !clippedWithLocalScrolling && !shouldPaintBackgroundImage && isBorderFill ) {629 if (!isRoot && !clippedWithLocalScrolling && !shouldPaintBackgroundImage && isBorderFill && !bgLayer->next()) { 630 630 if (!colorVisible) 631 631 return;
Note: See TracChangeset
for help on using the changeset viewer.