Changeset 25487 in webkit
- Timestamp:
- Sep 10, 2007 10:19:57 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r25484 r25487 1 2007-09-10 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Maciej Stachowiak. 4 5 - repaint test for http://bugs.webkit.org/show_bug.cgi?id=15157 6 Image defined in background-position: top center gets unexpectedly truncated 7 <rdar://problem/5469095> 8 9 * fast/repaint/body-background-image.html: Added. 10 * platform/mac/fast/repaint/body-background-image-expected.checksum: Added. 11 * platform/mac/fast/repaint/body-background-image-expected.png: Added. 12 * platform/mac/fast/repaint/body-background-image-expected.txt: Added. 13 1 14 2007-09-10 David Harrison <harrison@apple.com> 2 15 -
trunk/WebCore/ChangeLog
r25484 r25487 1 2007-09-10 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Maciej Stachowiak. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=15157 6 Image defined in background-position: top center gets unexpectedly truncated 7 <rdar://problem/5469095> 8 9 Test: fast/repaint/body-background-image.html 10 11 * rendering/RenderBox.cpp: 12 (WebCore::RenderBox::imageChanged): Refined the logic for when the root takes 13 over painting the background, to match paintBoxDecorations(). In particular, 14 if the root has defined a background, the body should paint its own background. 15 1 16 2007-09-10 David Harrison <harrison@apple.com> 2 17 -
trunk/WebCore/rendering/RenderBox.cpp
r24970 r25487 469 469 RenderBox* backgroundRenderer; 470 470 471 if (is Body() || isRoot()) {471 if (isRoot() || (isBody() && document()->isHTMLDocument() && !document()->documentElement()->renderer()->style()->hasBackground())) { 472 472 // Our background propagates to the root. 473 473 backgroundRenderer = view();
Note: See TracChangeset
for help on using the changeset viewer.